lsst.meas.algorithms gf36ae6ace1+dd0c26d1c5
Public Member Functions | Static Public Attributes | List of all members
lsst.meas.algorithms.psfDeterminer.BasePsfDeterminerTask Class Reference
Inheritance diagram for lsst.meas.algorithms.psfDeterminer.BasePsfDeterminerTask:
lsst.meas.algorithms.pcaPsfDeterminer.PcaPsfDeterminerTask

Public Member Functions

def __init__ (self, config, schema=None, **kwds)
 
def determinePsf (self, exposure, psfCandidateList, metadata=None)
 

Static Public Attributes

bool usesMatches = False
 
 ConfigClass = BasePsfDeterminerConfig
 

Detailed Description

Base class for PSF determiners

Register all PSF determiners with the psfDeterminerRegistry using:
    psfDeterminerRegistry.register(name, class)

Parameters
----------
config : `lsst.pexConfig.Config`
    Input for configuring the algorithm
schema : `lsst.afw.table.Schema`
    Schema used for sources; passing a schema allows the
    determiner to reserve a flag field to mark stars used in
    PSF measurement, but some PSF determiners ignore this argument.

Definition at line 54 of file psfDeterminer.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.meas.algorithms.psfDeterminer.BasePsfDeterminerTask.__init__ (   self,
  config,
  schema = None,
**  kwds 
)

Definition at line 74 of file psfDeterminer.py.

Member Function Documentation

◆ determinePsf()

def lsst.meas.algorithms.psfDeterminer.BasePsfDeterminerTask.determinePsf (   self,
  exposure,
  psfCandidateList,
  metadata = None 
)
Determine a PSF model.

Parameters
----------
exposure : `lsst.afw.Exposure`
    Exposure containing the psf candidates.
psdCandidateList : `list` [`lsst.meas.algorithms.PsfCandidate`]
    A sequence of PSF candidates; typically obtained by
    detecting sources and then running them through a star
    selector.
metadata : `str`
    A place to save interesting items.

Returns
-------
psf : `lsst.afw.detection.Psf`
    The fit PSF.
cellSet : `lsst.afw.math.SpatialCellSet`
    The spatial cell set used to determine the PSF

Reimplemented in lsst.meas.algorithms.pcaPsfDeterminer.PcaPsfDeterminerTask.

Definition at line 78 of file psfDeterminer.py.

Member Data Documentation

◆ ConfigClass

lsst.meas.algorithms.psfDeterminer.BasePsfDeterminerTask.ConfigClass = BasePsfDeterminerConfig
static

Definition at line 71 of file psfDeterminer.py.

◆ usesMatches

bool lsst.meas.algorithms.psfDeterminer.BasePsfDeterminerTask.usesMatches = False
static

Definition at line 70 of file psfDeterminer.py.


The documentation for this class was generated from the following file: