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: PipelineTask

Methods 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 run method.

Methods Documentation

run(*, inputPtc, camera, inputBinnedImagesHandles, inputNormalization)#

Fit the double-spline relative/absolute linearity correction.

Parameters#

inputPtclsst.ip.isr.PtcDataset

Pre-measured PTC dataset.

cameralsst.afw.cameraGeom.Camera

Camera geometry.

inputBinnedImagesHandleslist [DeferredDatasetHandle]

Handles for input binned image pairs.

inputNormalizationastropy.table.Table, optional

Focal plane normalization table to use if useFocalPlaneNormalization is True.

Returns#

resultslsst.pipe.base.Struct

The results struct containing:

outputLinearizer

Final linearizer calibration (lsst.ip.isr.Linearizer).

outputProvenance

Provenance data for the new calibration (lsst.ip.isr.IsrProvenance).

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.