PsfWcsSelectImagesTask#
- class lsst.pipe.tasks.selectImages.PsfWcsSelectImagesTask(config: Config | None = None, *, name: str | None = None, parentTask: Task | None = None, log: logging.Logger | lsst.utils.logging.LsstLogAdapter | None = None)#
Bases:
WcsSelectImagesTaskSelect images using their Wcs and cuts on the PSF properties.
The PSF quality criteria are based on the size and ellipticity residuals from the adaptive second moments of the star and the PSF.
- The criteria are:
the median of the ellipticty residuals.
the robust scatter of the size residuals (using the median absolute deviation).
the robust scatter of the size residuals scaled by the square of the median size.
Methods Summary
isValid(visitSummary, detectorId)Should this ccd be selected based on its PSF shape information.
run(wcsList, bboxList, coordList, visitSummary)Return indices of provided lists that meet the selection criteria.
Methods Documentation
- isValid(visitSummary, detectorId)#
Should this ccd be selected based on its PSF shape information.
Parameters#
- visitSummary
lsst.afw.table.ExposureCatalog Exposure catalog with per-detector summary information.
- detectorId
int Detector identifier.
Returns#
- valid
bool True if selected.
- visitSummary
- run(wcsList, bboxList, coordList, visitSummary, dataIds=None, **kwargs)#
Return indices of provided lists that meet the selection criteria.
Parameters#
- wcsList
list[lsst.afw.geom.SkyWcs] Specifying the WCS’s of the input ccds to be selected.
- bboxList
list[lsst.geom.Box2I] Specifying the bounding boxes of the input ccds to be selected.
- coordList
list[lsst.geom.SpherePoint] ICRS coordinates specifying boundary of the patch.
- visitSummary
list[lsst.afw.table.ExposureCatalog] containing the PSF shape information for the input ccds to be selected.
- dataIdsiterable [
lsst.daf.butler.dataId] orNone, optional An iterable object of dataIds which point to reference catalogs.
- **kwargs
Additional keyword arguments.
Returns#
- goodPsf
list[int] The indices of selected ccds.
- wcsList