CalibCombineTask¶
CalibCombineTask
scales and coadds the input processed calibration exposures to produce a final master calibration.
Processing summary¶
CalibCombineTask
runs these operations:
Determine the scale factors to apply to each input exposure.
Apply the scaling to the input exposures.
Combine the inputs using
statisticsStack
.Interpolate NaN pixels.
Optionally mask the vignetted region.
Python API summary¶
from lsst.cp.pipe.cpCombine import CalibCombineTask
-
class
CalibCombineTask
(**kwargs) Task to combine calib exposures
...
- attributeconfig
Access configuration fields and retargetable subtasks.
-
method
run
(inputExpHandles, 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
Background statistics configuration
Configuration fields¶
calibrationType¶
Name of calibration to be generated.
clip¶
Clipping threshold for combination
combine¶
Statistic name to use for combination (from Property
)
connections¶
- Data type
lsst.pipe.base.config.CalibCombineConfigConnections
- Field type
Configurations describing the connections of the PipelineTask to datatypes
doVignette¶
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¶
Mask planes to respect
maxVisitsToCalcErrorFromInputVariance¶
Maximum number of visits to estimate variance from input variance, not per-pixel spread
nIter¶
Clipping iterations for combination
saveLogOutput¶
Flag to enable/disable saving of log output for a task, enabled by default.
saveMetadata¶
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.
subregionSize¶
Width, height of subregion size.