ExtendedPsfCutoutTask#

class lsst.pipe.tasks.extended_psf.ExtendedPsfCutoutTask(*, config: PipelineTaskConfig | None = None, log: logging.Logger | LsstLogAdapter | None = None, initInputs: dict[str, Any] | None = None, **kwargs: Any)#

Bases: PipelineTask

Extract extended PSF cutouts, and warp to the same pixel grid.

The ExtendedPsfCutoutTask is used to extract, process, and store small image cutouts around stars. This task essentially consists of two principal steps. First, it identifies stars within an exposure using a reference catalog and extracts a cutout around each. Second, it shifts and warps each cutout to remove optical distortions and sample all stars on the same pixel grid.

Methods Summary

run(input_exposure, input_background, ...)

Identify stars within an exposure using a reference catalog, extract cutouts around each and warp/shift cutouts onto a common frame.

runQuantum(butlerQC, inputRefs, outputRefs)

Do butler IO and transform to provide in memory objects for tasks run method.

Methods Documentation

run(input_exposure: ExposureF, input_background: BackgroundList, input_source_catalog: SourceCatalog, ref_obj_loader: ReferenceObjectLoader)#

Identify stars within an exposure using a reference catalog, extract cutouts around each and warp/shift cutouts onto a common frame.

Parameters#

input_exposureExposureF

The background-subtracted image to extract cutouts around stars.

input_backgroundBackgroundList

The background model associated with the input exposure.

input_source_catalogSourceCatalog

The source catalog containing footprints on the input exposure.

ref_obj_loaderReferenceObjectLoader

Loader to find objects within a reference catalog.

Returns#

extended_psf_candidates :

ExtendedPsfCandidates

A set of cutouts, each centered on an extended PSF candidate.

runQuantum(butlerQC, inputRefs, outputRefs)#

Do butler IO and transform to provide in memory objects for tasks run method.

Parameters#

butlerQCQuantumContext

A butler which is specialized to operate in the context of a lsst.daf.butler.Quantum.

inputRefsInputQuantizedConnection

Datastructure whose attribute names are the names that identify connections defined in corresponding PipelineTaskConnections class. The values of these attributes are the lsst.daf.butler.DatasetRef objects associated with the defined input/prerequisite connections.

outputRefsOutputQuantizedConnection

Datastructure whose attribute names are the names that identify connections defined in corresponding PipelineTaskConnections class. The values of these attributes are the lsst.daf.butler.DatasetRef objects associated with the defined output connections.