MakePsfCandidatesTask#
- class lsst.meas.algorithms.MakePsfCandidatesTask(config: Config | None = None, *, name: str | None = None, parentTask: Task | None = None, log: logging.Logger | lsst.utils.logging.LsstLogAdapter | None = None)#
Bases:
TaskCreate PSF candidates given an input catalog.
Methods Summary
makePsfCandidates(starCat, exposure)Make a list of PSF candidates from a star catalog.
run(starCat, exposure[, psfCandidateField])Make a list of PSF candidates from a star catalog.
Methods Documentation
- makePsfCandidates(starCat, exposure)#
Make a list of PSF candidates from a star catalog.
Parameters#
- starCat
lsst.afw.table.SourceCatalog Catalog of stars, as returned by
lsst.meas.algorithms.starSelector.run().- exposure
lsst.afw.image.Exposure The exposure containing the sources.
Returns#
- struct
lsst.pipe.base.Struct Results struct containing:
psfCandidatesList of PSF candidates(
listoflsst.meas.algorithms.PsfCandidate).
goodStarCatSubset ofstarCatthat was successfully madeinto PSF candidates (
lsst.afw.table.SourceCatalog).
- starCat
- run(starCat, exposure, psfCandidateField=None)#
Make a list of PSF candidates from a star catalog.
Parameters#
- starCat
lsst.afw.table.SourceCatalog Catalog of stars, as returned by
lsst.meas.algorithms.starSelector.run().- exposure
lsst.afw.image.Exposure The exposure containing the sources.
- psfCandidateField
str, optional Name of flag field to set True for PSF candidates, or None to not set a field; the field is left unchanged for non-candidates.
Returns#
- struct
lsst.pipe.base.Struct Results struct containing:
psfCandidatesList of PSF candidates(
listoflsst.meas.algorithms.PsfCandidate).
goodStarCatSubset ofstarCatthat was successfully madeinto PSF candidates (
lsst.afw.table.SourceCatalog).
- starCat