CpFlatMeasureTask

CpFlatMeasureTask measures image statistics from the input flat field frames to supply the information needed for CpFlatNormalizationTask to determine approprate scale factors.

Processing summary

CpFlatMeasureTask runs these operations:

  1. Optionally masks the vignetted region.

  2. Measures detector level clipped mean, clipped sigma, and number of pixels.

  3. Measures the same statistics at the amplifier level.

Python API summary

from lsst.cp.pipe.cpFlatNormTask import CpFlatMeasureTask
classCpFlatMeasureTask(*, config=None, log=None, initInputs=None, **kwargs)

Apply extra masking and measure image statistics...

attributeconfig

Access configuration fields and retargetable subtasks.

methodrun(inputExp)

Mask ISR processed FLAT exposures to ensure consistent statistics...

See also

See the CpFlatMeasureTask API reference for complete details.

Retargetable subtasks

No subtasks.

Configuration fields

clipMaxIter

Default
3
Field type

int Field

Max number of clipping iterations to apply.

connections

Data type

lsst.pipe.base.config.CpFlatMeasureTaskConfigConnections

Field type

ConfigField

Configurations describing the connections of the PipelineTask to datatypes

doVignette

Default
True
Field type

bool Field

Mask vignetted regions?

maskNameList

Default
['DETECTED', 'BAD', 'NO_DATA']
Field type

str ListField

Mask list to exclude from statistics calculations.

numSigmaClip

Default
3.0
Field type

float Field

Rejection threshold (sigma) for statistics clipping.

saveLogOutput

Default
True
Field type

bool Field

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