LinearityDoubleSplineSolveTask#
- class lsst.cp.pipe.LinearityDoubleSplineSolveTask(*, config: PipelineTaskConfig | None = None, log: logging.Logger | LsstLogAdapter | None = None, initInputs: dict[str, Any] | None = None, **kwargs: Any)#
Bases:
PipelineTaskMethods Summary
run(*, inputPtc, camera, ...)Fit the double-spline relative/absolute linearity correction.
runQuantum(butlerQC, inputRefs, outputRefs)Do butler IO and transform to provide in memory objects for tasks
runmethod.Methods Documentation
- run(*, inputPtc, camera, inputBinnedImagesHandles, inputNormalization)#
Fit the double-spline relative/absolute linearity correction.
Parameters#
- inputPtc
lsst.ip.isr.PtcDataset Pre-measured PTC dataset.
- camera
lsst.afw.cameraGeom.Camera Camera geometry.
- inputBinnedImagesHandles
list[DeferredDatasetHandle] Handles for input binned image pairs.
- inputNormalization
astropy.table.Table, optional Focal plane normalization table to use if useFocalPlaneNormalization is True.
Returns#
- results
lsst.pipe.base.Struct The results struct containing:
outputLinearizerFinal linearizer calibration (
lsst.ip.isr.Linearizer).outputProvenanceProvenance data for the new calibration (
lsst.ip.isr.IsrProvenance).
- inputPtc
- 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