CpSkyScaleMeasureTask

CpSkyScaleMeasureTask merges the lsst.pipe.tasks.background.FocalPlaneBackground models generated per-detector into a single full-focal plane model.

Processing summary

CpSkyScaleMeasureTask runs these operations:

  1. Merges per-detector models together.

  2. Measures the median of the model statistics image to determine the per-exposure scale factor.

Python API summary

from lsst.cp.pipe.cpSkyTask import CpSkyScaleMeasureTask
classCpSkyScaleMeasureTask(*, config=None, log=None, initInputs=None, **kwargs)

Measure per-exposure scale factors and merge focal plane backgrounds...

attributeconfig

Access configuration fields and retargetable subtasks.

methodrun(inputBkgs)

Merge focal plane backgrounds and measure the scale factor...

See also

See the CpSkyScaleMeasureTask API reference for complete details.

Retargetable subtasks

No subtasks.

Configuration fields

connections

Data type

lsst.pipe.base.config.Connections

Field type

ConfigField

Configurations describing the connections of the PipelineTask to datatypes

saveLogOutput

Default
True
Field type

bool Field

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

saveMetadata

Default
True
Field type

bool Field

Flag to enable/disable metadata saving for a task, enabled by default.