CpSpectroFlatTaskConfig#

class lsst.cp.pipe.CpSpectroFlatTaskConfig(*args, **kw)#

Bases: PipelineTaskConfig

Configuration parameters for constructing spectroFlat from a white-band flat.

Attributes Summary

applyGainDirection

Should flat be divided by the gains? (bool, default True)

backgroundBoxSize

Size of background super-pixel.

backgroundFilterSize

Size of smoothing filter for backgrounds.

backgroundSigmaClipThreshold

Backgroud sigma clip threshold.

connections

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, default True)

inputFlatPhysicalFilter

Physical filter to expect in inputFlat.

saveLogOutput

Flag to enable/disable saving of log output for a task, enabled by default.

scaleGainsByMean

Scale gains by the mean? (bool, default True)

smoothingAlgorithm

Method to use to smooth amplifiers.

smoothingMode

Filter mode/downstream.

smoothingOutlierPercentile

Percentile of extreme values to clip from top and bottom of distribution.

smoothingWindowSize

Size of smoothing window.

Attributes Documentation

applyGainDirection#

Should flat be divided by the gains? (bool, default True)

backgroundBoxSize#

Size of background super-pixel. (int, default 20)

backgroundFilterSize#

Size of smoothing filter for backgrounds. (int, default 3)

backgroundSigmaClipThreshold#

Backgroud sigma clip threshold. (float, default 3.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, default True)

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, default True)

scaleGainsByMean#

Scale gains by the mean? (bool, default True)

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, default 1.0)

smoothingWindowSize#

Size of smoothing window. (int, default 40)