BasePsfDeterminerTask#

class lsst.meas.algorithms.BasePsfDeterminerTask(config, schema=None, **kwds)#

Bases: Task

Base class for PSF determiners

Register all PSF determiners with the psfDeterminerRegistry using:

psfDeterminerRegistry.register(name, class)

Parameters#

configlsst.pexConfig.Config

Input for configuring the algorithm

schemalsst.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#

exposurelsst.afw.Exposure

Exposure containing the psf candidates.

psdCandidateListlist [lsst.meas.algorithms.PsfCandidate]

A sequence of PSF candidates; typically obtained by detecting sources and then running them through a star selector.

metadatastr, 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#

psflsst.afw.detection.Psf

The fit PSF.

cellSetlsst.afw.math.SpatialCellSet

The spatial cell set used to determine the PSF

downsampleCandidates(inputCandidateList)#

Down-sample candidates from the input candidate list.

Parameters#

inputCandidateListlist [lsst.meas.algorithms.PsfCandidate]

Input candidate list.

Returns#

outputCandidateListlist [lsst.meas.algorithms.PsfCandidate]

Down-selected candidate list.