FgcmCalibrateTractBaseTask#
- class lsst.fgcmcal.FgcmCalibrateTractBaseTask(initInputs=None, **kwargs)#
Bases:
PipelineTask,ABCBase 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#
- handleDict
dict All handles are
lsst.daf.butler.DeferredDatasetHandlehandle 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"listof handles for input source catalogs."sourceSchema"Schema for the source catalogs.
"fgcmLookUpTable"handle for the FGCM look-up table.
"calexps"listof handles for the input calexps"fgcmPhotoCalibs"dictof output photoCalib handles. Key is (tract, visit, detector). Present if doZeropointOutput is True."fgcmTransmissionAtmospheres"dictof output atmosphere transmission handles. Key is (tract, visit). Present if doAtmosphereOutput is True.
- tract
int Tract number
- buildStarsRefObjLoader
lsst.meas.algorithms.ReferenceObjectLoader, optional Reference object loader object for fgcmBuildStars.
- returnCatalogs
bool, optional Return photoCalibs as per-visit exposure catalogs.
Returns#
- outstruct
lsst.pipe.base.Struct Output structure with keys:
- offsets
np.ndarray Final reference offsets, per band.
- repeatability
np.ndarray Raw fgcm repeatability for bright stars, per band.
- atmospheres
generator[(int,lsst.afw.image.TransmissionCurve)] Generator that returns (visit, transmissionCurve) tuples.
- photoCalibs
generator[(int,int,str,lsst.afw.image.PhotoCalib)] Generator that returns (visit, ccd, filtername, photoCalib) tuples. (returned if returnCatalogs is False).
- photoCalibCatalogs
generator[(int,lsst.afw.table.ExposureCatalog)] Generator that returns (visit, exposureCatalog) tuples. (returned if returnCatalogs is True).
- offsets
- handleDict