CpDarkTask

CpDarkTask preprocesses exposures after IsrTask and before the final dark combination.

Processing summary

CpDarkTask runs these operations:

  1. Identifies and masks cosmic rays.
  2. Optionally grows the cosmic ray masks to ensure they do not bleed through into the final combination.

Python API summary

from lsst.cp.pipe.cpDarkTask import CpDarkTask
classCpDarkTask(**kwargs)

Combine pre-processed dark frames into a proposed master calibration...

attributeconfig

Access configuration fields and retargetable subtasks.

methodrun(inputExp)

Preprocess input exposures prior to DARK combination...

See also

See the CpDarkTask API reference for complete details.

Retargetable subtasks

repair

Default
lsst.pipe.tasks.repair.RepairTask
Field type
ConfigurableField
Repair task to use.

Configuration fields

connections

Data type
lsst.pipe.base.config.Connections
Field type
ConfigField
Configurations describing the connections of the PipelineTask to datatypes

crGrow

Default
2
Field type
int Field
Grow radius for CR (pixels).

psfFwhm

Default
3.0
Field type
float Field
Repair PSF FWHM (pixels).

psfSize

Default
21
Field type
int Field
Repair PSF size (pixels).

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.