lsst.meas.extensions.psfex  16.0-6-gce2b4a7+2
Classes | Functions | Variables
lsst.meas.extensions.psfex.psfex Namespace Reference

Classes

class  _LSST
 
class  _SExtractor
 

Functions

def splitFitsCard (line)
 
def compute_fwhmrange (fwhm, maxvar, minin, maxin, plot=dict(fwhmHistogram=False))
 
def read_samples (prefs, set, filename, frmin, frmax, ext, next, catindex, context, pcval, plot=dict(showFlags=False, showRejection=False))
 
def getSexFlags (args)
 
def select_candidates (set, prefs, frmin, frmax, flags, flux, fluxerr, rmsSize, elong, vignet, plot=dict(), title="")
 
def setDataType (t)
 
def getFlags ()
 
def load_samples (prefs, context, ext=psfexLib.Prefs.ALL_EXTENSIONS, next=1, plot=dict())
 
def showPsf (psf, set, ext=None, wcsData=None, trim=0, nspot=5, diagnostics=False, outDir="", frame=None, title=None)
 
def getLsstFlags (tab=None)
 
def guessCalexp (fileName)
 
def makeitLsst (prefs, context, saveWcs=False, plot=dict())
 
def read_samplesLsst (prefs, set, filename, frmin, frmax, ext, next, catindex, context, pcval, plot=dict(showFlags=False, showRejection=False))
 
def load_samplesLsst (prefs, context, ext=psfexLib.Prefs.ALL_EXTENSIONS, next=1, plot=dict())
 
def makeit (prefs, context, saveWcs=False, plot=dict())
 

Variables

 plt = None
 
 LSST
 
 SExtractor
 

Function Documentation

◆ compute_fwhmrange()

def lsst.meas.extensions.psfex.psfex.compute_fwhmrange (   fwhm,
  maxvar,
  minin,
  maxin,
  plot = dict(fwhmHistogram=False) 
)
    PURPOSE Compute the FWHM range associated to a series of FWHM measurements.
    INPUT   Pointer to an array of FWHMs,
    maximum allowed FWHM variation,
    minimum allowed FWHM,
    maximum allowed FWHM,

    OUTPUT  FWHM mode, lower FWHM range, upper FWHM range
    NOTES   -.
    AUTHOR  E. Bertin (IAP, Leiden observatory & ESO)
    VERSION 20/03/2008

Definition at line 43 of file psfex.py.

◆ getFlags()

def lsst.meas.extensions.psfex.psfex.getFlags ( )

Definition at line 379 of file psfex.py.

◆ getLsstFlags()

def lsst.meas.extensions.psfex.psfex.getLsstFlags (   tab = None)

Definition at line 644 of file psfex.py.

◆ getSexFlags()

def lsst.meas.extensions.psfex.psfex.getSexFlags (   args)

Definition at line 257 of file psfex.py.

◆ guessCalexp()

def lsst.meas.extensions.psfex.psfex.guessCalexp (   fileName)

Definition at line 678 of file psfex.py.

◆ load_samples()

def lsst.meas.extensions.psfex.psfex.load_samples (   prefs,
  context,
  ext = psfexLib.Prefs.ALL_EXTENSIONS,
  next = 1,
  plot = dict() 
)

Definition at line 388 of file psfex.py.

◆ load_samplesLsst()

def lsst.meas.extensions.psfex.psfex.load_samplesLsst (   prefs,
  context,
  ext = psfexLib.Prefs.ALL_EXTENSIONS,
  next = 1,
  plot = dict() 
)

Definition at line 889 of file psfex.py.

◆ makeit()

def lsst.meas.extensions.psfex.psfex.makeit (   prefs,
  context,
  saveWcs = False,
  plot = dict() 
)
This is the python wrapper for the original psfex that reads SExtractor outputs

Definition at line 1002 of file psfex.py.

◆ makeitLsst()

def lsst.meas.extensions.psfex.psfex.makeitLsst (   prefs,
  context,
  saveWcs = False,
  plot = dict() 
)
This is the python wrapper that reads lsst tables

Definition at line 691 of file psfex.py.

◆ read_samples()

def lsst.meas.extensions.psfex.psfex.read_samples (   prefs,
  set,
  filename,
  frmin,
  frmax,
  ext,
  next,
  catindex,
  context,
  pcval,
  plot = dict(showFlags=False, showRejection=False) 
)

Definition at line 98 of file psfex.py.

◆ read_samplesLsst()

def lsst.meas.extensions.psfex.psfex.read_samplesLsst (   prefs,
  set,
  filename,
  frmin,
  frmax,
  ext,
  next,
  catindex,
  context,
  pcval,
  plot = dict(showFlags=False, showRejection=False) 
)

Definition at line 749 of file psfex.py.

◆ select_candidates()

def lsst.meas.extensions.psfex.psfex.select_candidates (   set,
  prefs,
  frmin,
  frmax,
  flags,
  flux,
  fluxerr,
  rmsSize,
  elong,
  vignet,
  plot = dict(),
  title = "" 
)

Definition at line 271 of file psfex.py.

◆ setDataType()

def lsst.meas.extensions.psfex.psfex.setDataType (   t)

Definition at line 375 of file psfex.py.

◆ showPsf()

def lsst.meas.extensions.psfex.psfex.showPsf (   psf,
  set,
  ext = None,
  wcsData = None,
  trim = 0,
  nspot = 5,
  diagnostics = False,
  outDir = "",
  frame = None,
  title = None 
)
Show a PSF on ds9

Definition at line 527 of file psfex.py.

◆ splitFitsCard()

def lsst.meas.extensions.psfex.psfex.splitFitsCard (   line)
Split a fits header, returning (key, value)

Definition at line 23 of file psfex.py.

Variable Documentation

◆ LSST

lsst.meas.extensions.psfex.psfex.LSST

Definition at line 369 of file psfex.py.

◆ plt

lsst.meas.extensions.psfex.psfex.plt = None

Definition at line 10 of file psfex.py.

◆ SExtractor

lsst.meas.extensions.psfex.psfex.SExtractor

Definition at line 370 of file psfex.py.