SnapCombineTask

Python API summary

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

! \anchor SnapCombineTask_...

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

diffim

Default
lsst.ip.diffim.snapPsfMatch.SnapPsfMatchTask
Field type
ConfigurableField

measurement

Default
lsst.meas.base.sfm.SingleFrameMeasurementTask
Field type
ConfigurableField

repair

Default
lsst.pipe.tasks.repair.RepairTask
Field type
ConfigurableField

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

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