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: WcsSelectImagesTask

Select 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#

visitSummarylsst.afw.table.ExposureCatalog

Exposure catalog with per-detector summary information.

detectorIdint

Detector identifier.

Returns#

validbool

True if selected.

run(wcsList, bboxList, coordList, visitSummary, dataIds=None, **kwargs)#

Return indices of provided lists that meet the selection criteria.

Parameters#

wcsListlist [lsst.afw.geom.SkyWcs]

Specifying the WCS’s of the input ccds to be selected.

bboxListlist [lsst.geom.Box2I]

Specifying the bounding boxes of the input ccds to be selected.

coordListlist [lsst.geom.SpherePoint]

ICRS coordinates specifying boundary of the patch.

visitSummarylist [lsst.afw.table.ExposureCatalog]

containing the PSF shape information for the input ccds to be selected.

dataIdsiterable [lsst.daf.butler.dataId] or None, optional

An iterable object of dataIds which point to reference catalogs.

**kwargs

Additional keyword arguments.

Returns#

goodPsflist [int]

The indices of selected ccds.