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:
PipelineTaskExtract 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
runmethod.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_exposure
ExposureF The background-subtracted image to extract cutouts around stars.
- input_background
BackgroundList The background model associated with the input exposure.
- input_source_catalog
SourceCatalog The source catalog containing footprints on the input exposure.
- ref_obj_loader
ReferenceObjectLoader Loader to find objects within a reference catalog.
Returns#
- extended_psf_candidates :
ExtendedPsfCandidatesA set of cutouts, each centered on an extended PSF candidate.
- input_exposure
- runQuantum(butlerQC, inputRefs, outputRefs)#
Do butler IO and transform to provide in memory objects for tasks
runmethod.Parameters#
- butlerQC
QuantumContext A butler which is specialized to operate in the context of a
lsst.daf.butler.Quantum.- inputRefs
InputQuantizedConnection Datastructure whose attribute names are the names that identify connections defined in corresponding
PipelineTaskConnectionsclass. The values of these attributes are thelsst.daf.butler.DatasetRefobjects associated with the defined input/prerequisite connections.- outputRefs
OutputQuantizedConnection Datastructure whose attribute names are the names that identify connections defined in corresponding
PipelineTaskConnectionsclass. The values of these attributes are thelsst.daf.butler.DatasetRefobjects associated with the defined output connections.
- butlerQC