FgcmCalibrateTractBaseTask#

class lsst.fgcmcal.FgcmCalibrateTractBaseTask(initInputs=None, **kwargs)#

Bases: PipelineTask, ABC

Base class to calibrate a single tract using fgcmcal

Methods Summary

run(handleDict, tract[, ...])

Run the calibrations for a single tract with fgcm.

Methods Documentation

run(handleDict, tract, buildStarsRefObjLoader=None, returnCatalogs=True)#

Run the calibrations for a single tract with fgcm.

Parameters#

handleDictdict

All handles are lsst.daf.butler.DeferredDatasetHandle handle dictionary with the following keys. Note that all keys need not be set based on config parameters.

"camera"

Camera object (lsst.afw.cameraGeom.Camera)

"source_catalogs"

list of handles for input source catalogs.

"sourceSchema"

Schema for the source catalogs.

"fgcmLookUpTable"

handle for the FGCM look-up table.

"calexps"

list of handles for the input calexps

"fgcmPhotoCalibs"

dict of output photoCalib handles. Key is (tract, visit, detector). Present if doZeropointOutput is True.

"fgcmTransmissionAtmospheres"

dict of output atmosphere transmission handles. Key is (tract, visit). Present if doAtmosphereOutput is True.

tractint

Tract number

buildStarsRefObjLoaderlsst.meas.algorithms.ReferenceObjectLoader, optional

Reference object loader object for fgcmBuildStars.

returnCatalogsbool, optional

Return photoCalibs as per-visit exposure catalogs.

Returns#

outstructlsst.pipe.base.Struct

Output structure with keys:

offsetsnp.ndarray

Final reference offsets, per band.

repeatabilitynp.ndarray

Raw fgcm repeatability for bright stars, per band.

atmospheresgenerator [(int, lsst.afw.image.TransmissionCurve)]

Generator that returns (visit, transmissionCurve) tuples.

photoCalibsgenerator [(int, int, str, lsst.afw.image.PhotoCalib)]

Generator that returns (visit, ccd, filtername, photoCalib) tuples. (returned if returnCatalogs is False).

photoCalibCatalogsgenerator [(int, lsst.afw.table.ExposureCatalog)]

Generator that returns (visit, exposureCatalog) tuples. (returned if returnCatalogs is True).