ConsolidateVisitSummaryTask#
- class lsst.pipe.tasks.postprocess.ConsolidateVisitSummaryTask(**kwargs)#
Bases:
PipelineTaskTask to consolidate per-detector visit metadata.
This task aggregates the following metadata from all the detectors in a single visit into an exposure catalog: - The visitInfo. - The wcs. - The photoCalib. - The physical_filter and band (if available). - The PSF model. - The aperture correction map. - The transmission curve. - The psf size, shape, and effective area at the center of the detector. - The corners of the bounding box in right ascension/declination.
Tests for this task are performed in ci_hsc_gen3.
Methods Summary
run(*, visit, handles[, camera, result])Make a combined exposure catalog from a list of handles.
runQuantum(butlerQC, inputRefs, outputRefs)Do butler IO and transform to provide in memory objects for tasks
runmethod.Methods Documentation
- run(*, visit, handles, camera=None, result=None)#
Make a combined exposure catalog from a list of handles. These handles must point to exposures with wcs, summaryStats, and other visit metadata.
Parameters#
- visit
int Visit identification number.
- handles
listoflsst.daf.butler.DeferredDatasetHandle List of handles in visit.
- camera
lsst.afw.cameraGeom.Camera, optional Camera geometry. Required if and only if
do_refit_pointing=True.- result
lsst.pipe.base.Struct, optional Output struct to modify in-place.
Returns#
- result
lsst.pipe.base.Struct Struct with the following attributes:
visitSummary(lsst.afw.table.ExposureCatalog): an Exposure catalog with per-detector summary information.visit_geometry(lsst.obs.base.visit_geometry.VisitGeometry): Regions that can be used to update butler dimension regions for this visit. Only present ifdo_refit_pointing=True.
- visit
- 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