FindDefectsTask

FindDefectsTask is a gen2 wrapper task that combines the MeasureDefectsTask and MergeDefectsTask tasks together to identify defects.

Python API summary

from lsst.cp.pipe.defects import FindDefectsTask
classFindDefectsTask(**kwargs)

Task for finding defects in sensors...

attributeconfig

Access configuration fields and retargetable subtasks.

methodrunDataRef(dataRefList)

Run the defect finding task...

See also

See the FindDefectsTask API reference for complete details.

Retargetable subtasks

isrForDarks

Default

lsst.ip.isr.isrTask.IsrTask

Field type

ConfigurableField

Task to perform instrumental signature removal

isrForFlats

Default

lsst.ip.isr.isrTask.IsrTask

Field type

ConfigurableField

Task to perform instrumental signature removal

measure

Default

lsst.cp.pipe.defects.MeasureDefectsTask

Field type

ConfigurableField

Task to measure single frame defects.

merge

Default

lsst.cp.pipe.defects.MergeDefectsTask

Field type

ConfigurableField

Task to merge multiple defects together.

Configuration fields

ccdKey

Default
'ccd'
Field type

str Field

The key by which to pull a detector from a dataId, e.g. ‘ccd’ or ‘detector’

imageTypeKey

Default
'imageType'
Field type

str Field

The key for the butler to use by which to check whether images are darks or flats

isrDesirableSteps

Default
['doBias']
Field type

str ListField

isr operations that it is advisable to perform, but are not mission-critical. WARNs are logged for any of these found to be False.

isrForbiddenStepsDarks

Default
['doBrighterFatter', 'doUseOpticsTransmission', 'doUseFilterTransmission', 'doUseSensorTransmission', 'doUseAtmosphereTransmission']
Field type

str ListField

isr operations that must NOT be performed for valid results when using darks. Raises if any of these are True

isrForbiddenStepsFlats

Default
['doBrighterFatter', 'doUseOpticsTransmission', 'doUseFilterTransmission', 'doUseSensorTransmission', 'doUseAtmosphereTransmission']
Field type

str ListField

isr operations that must NOT be performed for valid results when using flats. Raises if any of these are True

isrMandatoryStepsDarks

Default
['doAssembleCcd', 'doFringe']
Field type

str ListField

isr operations that must be performed for valid results when using darks. Raises if any of these are False

isrMandatoryStepsFlats

Default
['doAssembleCcd', 'doFringe']
Field type

str ListField

isr operations that must be performed for valid results when using flats. Raises if any of these are False