BasePsfDeterminerTask#
- class lsst.meas.algorithms.BasePsfDeterminerTask(config, schema=None, **kwds)#
Bases:
TaskBase 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.
Attributes Summary
Methods Summary
determinePsf(exposure, psfCandidateList[, ...])Determine a PSF model.
downsampleCandidates(inputCandidateList)Down-sample candidates from the input candidate list.
Attributes Documentation
- usesMatches = False#
Methods Documentation
- abstract determinePsf(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
- exposure