CalibCombineTask

CalibCombineTask scales and coadds the input processed calibration exposures to produce a final master calibration.

Processing summary

CalibCombineTask runs these operations:

  1. Determine the scale factors to apply to each input exposure.
  2. Apply the scaling to the input exposures.
  3. Combine the inputs using statisticsStack.
  4. Interpolate NaN pixels.
  5. Optionally mask the vignetted region.

Python API summary

from lsst.cp.pipe.cpCombine import CalibCombineTask
classCalibCombineTask(**kwargs)

Task to combine calib exposures...

attributeconfig

Access configuration fields and retargetable subtasks.

methodrun(inputExps, inputScales=None, inputDims=None)

Combine calib exposures for a single detector...

See also

See the CalibCombineTask API reference for complete details.

Retargetable subtasks

stats

Default
lsst.cp.pipe.cpCombine.CalibStatsTask
Field type
ConfigurableField
Background statistics configuration

Configuration fields

calibrationType

Default
'calibration'
Field type
str Field
Name of calibration to be generated.

clip

Default
3.0
Field type
float Field
Clipping threshold for combination

combine

Default
'MEANCLIP'
Field type
str Field
Statistic name to use for combination (from Property)

connections

Data type
lsst.pipe.base.config.Connections
Field type
ConfigField
Configurations describing the connections of the PipelineTask to datatypes

doVignette

Default
False
Field type
bool Field
Copy vignette polygon to output and censor vignetted pixels?

exposureScaling

Default
'Unity'
Field type
str ChoiceField (optional)
Choices
'Unity'
Do not scale inputs. Scale factor is 1.0.
'ExposureTime'
Scale inputs by their exposure time.
'DarkTime'
Scale inputs by their dark time.
'MeanStats'
Scale inputs based on their mean values.
'InputList'
Scale inputs based on a list of values.
None
Field is optional
Scaling to be applied to each input exposure.

mask

Default
['SAT', 'DETECTED', 'INTRP']
Field type
str ListField
Mask planes to respect

maxVisitsToCalcErrorFromInputVariance

Default
5
Field type
int Field
Maximum number of visits to estimate variance from input variance, not per-pixel spread

nIter

Default
3
Field type
int Field
Clipping iterations for combination

saveLogOutput

Default
True
Field type
bool Field
Flag to enable/disable saving of log output for a task, enabled by default.

saveMetadata

Default
True
Field type
bool Field
Flag to enable/disable metadata saving for a task, enabled by default.

scalingLevel

Default
'DETECTOR'
Field type
str ChoiceField (optional)
Choices
'DETECTOR'
Scale by detector.
'AMP'
Scale by amplifier.
None
Field is optional
Region to scale.