Generator for Psf candidates.
This allows two 'for' loops to be reduced to one.
Parameters
----------
psfCellSet : `lsst.afw.math.SpatialCellSet`
SpatialCellSet of PSF candidates.
ignoreBad : `bool`, optional
Ignore candidates flagged as BAD?
Yields
-------
cell : `lsst.afw.math.SpatialCell`
A SpatialCell.
cand : `lsst.meas.algorithms.PsfCandidate`
A PsfCandidate.
Definition at line 651 of file pcaPsfDeterminer.py.
652 """Generator for Psf candidates.
654 This allows two 'for' loops to be reduced to one.
658 psfCellSet : `lsst.afw.math.SpatialCellSet`
659 SpatialCellSet of PSF candidates.
660 ignoreBad : `bool`, optional
661 Ignore candidates flagged as BAD?
665 cell : `lsst.afw.math.SpatialCell`
667 cand : `lsst.meas.algorithms.PsfCandidate`
670 for cell
in psfCellSet.getCellList():
671 for cand
in cell.begin(ignoreBad):
675 psfDeterminerRegistry.register(
"pca", PcaPsfDeterminerTask)