ConsolidateVisitSummaryTask#

class lsst.pipe.tasks.postprocess.ConsolidateVisitSummaryTask(**kwargs)#

Bases: PipelineTask

Task 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 run method.

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#

visitint

Visit identification number.

handleslist of lsst.daf.butler.DeferredDatasetHandle

List of handles in visit.

cameralsst.afw.cameraGeom.Camera, optional

Camera geometry. Required if and only if do_refit_pointing=True.

resultlsst.pipe.base.Struct, optional

Output struct to modify in-place.

Returns#

resultlsst.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 if do_refit_pointing=True.

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.