GbdesGlobalAstrometricFitTask#
- class lsst.drp.tasks.gbdesAstrometricFit.GbdesGlobalAstrometricFitTask(**kwargs)#
Bases:
GbdesAstrometricFitTaskCalibrate 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
runmethod.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#
- inputVisitSummaries
list[lsst.afw.table.ExposureCatalog] List of catalogs with per-detector summary information.
- isolatedStarSources
list[DeferredDatasetHandle] List of handles pointing to isolated star sources.
- isolatedStarCatalog:
list[DeferredDatasetHandle] List of handles pointing to isolated star catalogs.
- instrumentName
str, optional Name of the instrument used. This is only used for labelling.
- refEpoch
float, optional Epoch of the reference objects in MJD.
- refObjectLoaderinstance of
lsst.meas.algorithms.loadReferenceObjects.ReferenceObjectLoader, optional Reference object loader instance.- inputCameraModel
dict[str,np.ndarray], optional Parameters to use for the device part of the model.
- colorCatalog
lsst.afw.table.SimpleCatalog Catalog containing object coordinates and magnitudes.
- inputCamera
lsst.afw.cameraGeom.Camera, optional Camera to be used as template when constructing new camera.
Returns#
- result
lsst.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.WCSFitModel-fitting object with final model parameters.
outputCatalogpyarrow.TableCatalog with fit residuals of all sources used.
starCatalogpyarrow.TableCatalog with best-fit positions of the objects fit.
modelParamsdictParameters 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.CameraCamera object constructed from the per-detector model.
- inputVisitSummaries
- 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