GbdesGlobalAstrometricFitTask#

class lsst.drp.tasks.gbdesAstrometricFit.GbdesGlobalAstrometricFitTask(**kwargs)#

Bases: GbdesAstrometricFitTask

Calibrate the WCS across multiple visits and multiple fields using the GBDES package.

This class assumes that the input visits can be separated into contiguous groups, for which an individual group covers an area of less than a hemisphere.

Methods Summary

run(inputVisitSummaries, ...[, ...])

Run the WCS fit for a given set of visits

runQuantum(butlerQC, inputRefs, outputRefs)

Do butler IO and transform to provide in memory objects for tasks run method.

Methods Documentation

run(inputVisitSummaries, isolatedStarSources, isolatedStarCatalogs, instrumentName='', refEpoch=None, refObjectLoader=None, inputCameraModel=None, colorCatalog=None, inputCamera=None)#

Run the WCS fit for a given set of visits

Parameters#

inputVisitSummarieslist [lsst.afw.table.ExposureCatalog]

List of catalogs with per-detector summary information.

isolatedStarSourceslist [DeferredDatasetHandle]

List of handles pointing to isolated star sources.

isolatedStarCatalog: list [DeferredDatasetHandle]

List of handles pointing to isolated star catalogs.

instrumentNamestr, optional

Name of the instrument used. This is only used for labelling.

refEpochfloat, optional

Epoch of the reference objects in MJD.

refObjectLoaderinstance of

lsst.meas.algorithms.loadReferenceObjects.ReferenceObjectLoader, optional Reference object loader instance.

inputCameraModeldict [str, np.ndarray], optional

Parameters to use for the device part of the model.

colorCataloglsst.afw.table.SimpleCatalog

Catalog containing object coordinates and magnitudes.

inputCameralsst.afw.cameraGeom.Camera, optional

Camera to be used as template when constructing new camera.

Returns#

resultlsst.pipe.base.Struct
outputWcsslist [lsst.afw.table.ExposureCatalog]

List of exposure catalogs (one per visit) with the WCS for each detector set by the new fitted WCS.

fitModelwcsfit.WCSFit

Model-fitting object with final model parameters.

outputCatalogpyarrow.Table

Catalog with fit residuals of all sources used.

starCatalogpyarrow.Table

Catalog with best-fit positions of the objects fit.

modelParamsdict

Parameters and covariance of the best-fit WCS model.

cameraModelParamsdict [str, np.ndarray]

Parameters of the device part of the model, in the format needed as input for future runs.

colorParamsdict [int, np.ndarray]

DCR parameters fit in RA and Dec directions for each visit.

cameralsst.afw.cameraGeom.Camera

Camera object constructed from the per-detector model.

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.