CpSpectroFlatTaskConfig#
- class lsst.cp.pipe.CpSpectroFlatTaskConfig(*args, **kw)#
Bases:
PipelineTaskConfigConfiguration parameters for constructing spectroFlat from a white-band flat.
Attributes Summary
Should flat be divided by the gains? (
bool, defaultTrue)Size of background super-pixel.
Size of smoothing filter for backgrounds.
Backgroud sigma clip threshold.
Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
Should amplifier backgrounds be measured and divided out? (
bool, defaultTrue)Physical filter to expect in inputFlat.
Flag to enable/disable saving of log output for a task, enabled by default.
Scale gains by the mean? (
bool, defaultTrue)Method to use to smooth amplifiers.
Filter mode/downstream.
Percentile of extreme values to clip from top and bottom of distribution.
Size of smoothing window.
Attributes Documentation
- applyGainDirection#
Should flat be divided by the gains? (
bool, defaultTrue)
- backgroundBoxSize#
Size of background super-pixel. (
int, default20)
- backgroundFilterSize#
Size of smoothing filter for backgrounds. (
int, default3)
- backgroundSigmaClipThreshold#
Backgroud sigma clip threshold. (
float, default3.0)
- connections: pexConfig.ConfigField#
Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
- doBackgroundRemoval#
Should amplifier backgrounds be measured and divided out? (
bool, defaultTrue)
- inputFlatPhysicalFilter#
Physical filter to expect in inputFlat. (
str, default'empty~empty')
- saveLogOutput#
Flag to enable/disable saving of log output for a task, enabled by default. (
bool, defaultTrue)
- scaleGainsByMean#
Scale gains by the mean? (
bool, defaultTrue)
- smoothingAlgorithm#
Method to use to smooth amplifiers. (
str, default'mean')Allowed values:
'mean'Use scipy uniform_filter
'gauss'Use scipy gaussian_filter
'median'Use scipy median_filter
'None'Field is optional
- smoothingMode#
Filter mode/downstream. (
str, default'mirror')
- smoothingOutlierPercentile#
Percentile of extreme values to clip from top and bottom of distribution. (
float, default1.0)
- smoothingWindowSize#
Size of smoothing window. (
int, default40)