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 52 of file psfDeterminer.py.
lsst.meas.algorithms.psfDeterminer.BasePsfDeterminerTask.determinePsf |
( |
| self, |
|
|
| exposure, |
|
|
| psfCandidateList, |
|
|
| metadata = None, |
|
|
| flagKey = 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`, optional
A place to save interesting items.
flagKey: `lsst.afw.table.Key`, optional
Schema key used to mark sources actually used in PSF determination.
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 107 of file psfDeterminer.py.