CalibCombineByFilterTask¶
CalibCombineByFilterTask
is identical to lsst.cp.pipe.CalibCombineTask
, with the addition of a filter dimension to ensure filter-dependent calibrations are constructed with the correct dataset dimensions.
Python API summary¶
from lsst.cp.pipe.cpCombine import CalibCombineByFilterTask
-
class
CalibCombineByFilterTask
(**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 CalibCombineByFilterTask
API reference for complete details.
Retargetable subtasks¶
stats¶
- Default
lsst.cp.pipe.cpCombine.CalibStatsTask
- Field type
Background statistics configuration
vignette¶
- Default
lsst.ip.isr.vignette.VignetteTask
- Field type
Vignetting task.
Configuration fields¶
calibrationType¶
Name of calibration to be generated.
censorMaskPlanes¶
Unset mask planes other than NO_DATA in output calibration?
checkNoData¶
Check that the calibration does not have NO_DATA set?
clip¶
Clipping threshold for combination
combine¶
Statistic name to use for combination (from Property
)
connections¶
- Data type
lsst.pipe.base.config.CalibCombineByFilterConfigConnections
- Field type
Configurations describing the connections of the PipelineTask to datatypes
distributionPercentiles¶
Percentile levels to measure on the final combined calibration.
doVignette¶
Copy vignette polygon to output and censor vignetted pixels? (Used for non-LSST flats).
doVignetteMask¶
Compute and attach a validPolygon and mask excluding the totally vignetted regions? (Used for LSST flats).
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.
flatSource¶
- Default
'DOME'
- Field type
str
ChoiceField
(optional)- Choices
'DOME'
Flat constructed from the dome screen with ‘white’ light.
'TWILIGHT'
Flat constructed from twilight images.
'PSEUDO'
Flat constructed from the instrument model.
'SKY'
Flat constructed from night-sky images.
None
Field is optional
Type of flat constructed. This config is only used if calibrationType==``flat``.
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
noGoodPixelsMask¶
Mask bit to set when there are no good input pixels. See code comments for details.
saveLogOutput¶
Flag to enable/disable saving of log output 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.