SnapCombineTask

Python API summary

from lsst.pipe.tasks.snapCombine import SnapCombineTask
classSnapCombineTask(*args, **kwargs)

Combine two snaps into a single visit image...

attributeconfig

Access configuration fields and retargetable subtasks.

methodrun(snap0, snap1, defects=None)

Combine two snaps...

See also

See the SnapCombineTask API reference for complete details.

Retargetable subtasks

detection

Default

lsst.meas.algorithms.detection.SourceDetectionTask

Field type

ConfigurableField

SourceDetectionTask configuration

measurement

Default

lsst.meas.base.sfm.SingleFrameMeasurementTask

Field type

ConfigurableField

SingleFrameMeasurementTask configuration

repair

Default

lsst.pipe.tasks.repair.RepairTask

Field type

ConfigurableField

RepairTask configuration

Configuration fields

averageKeys

Default
None
Field type

str ListField (optional)

List of float metadata keys to average when combining snaps, e.g. float positions and dates; non-float data must be handled by overriding the fixMetadata method

badMaskPlanes

Default
('DETECTED',)
Field type

str ListField

Mask planes that, if set, the associated pixels are not included in the combined exposure; DETECTED excludes cosmic rays

doDiffIm

Default
False
Field type

bool Field

Perform difference imaging before combining

doMeasurement

Default
True
Field type

bool Field

Measure difference sources (ignored if doDiffIm false)

doPsfMatch

Default
True
Field type

bool Field

Perform PSF matching for difference imaging (ignored if doDiffIm false)

doRepair

Default
True
Field type

bool Field

Repair images (CR reject and interpolate) before combining

initialPsf

Data type

lsst.pipe.tasks.snapCombine.InitialPsfConfig

Field type

ConfigField

InitialPsfConfig configuration

repairPsfFwhm

Default
2.5
Field type

float Field

Psf FWHM (pixels) used to detect CRs

sumKeys

Default
None
Field type

str ListField (optional)

List of float or int metadata keys to sum when combining snaps, e.g. exposure time; non-float, non-int data must be handled by overriding the fixMetadata method