SnapCombineTask#
- class lsst.pipe.tasks.snapCombine.SnapCombineTask(*args, **kwargs)#
Bases:
TaskCombine one or two snaps into a single visit image.
Methods Summary
combine(snap0, snap1)Combine two snaps, returning the combined image.
run(exposures)Combine one or two snaps, returning the combined image.
Methods Documentation
- combine(snap0, snap1)#
Combine two snaps, returning the combined image.
Parameters#
- snap0, snap1
lsst.afw.image.Exposure Exposures to combine.
Returns#
- result
lsst.pipe.base.Struct Results as a struct with attributes:
exposureSnap-combined exposure.
- snap0, snap1
- run(exposures)#
Combine one or two snaps, returning the combined image.
Parameters#
- exposures
lsst.afw.image.Exposureorlist[lsst.afw.image.Exposure] One or two exposures to combine as snaps.
Returns#
- result
lsst.pipe.base.Struct Results as a struct with attributes:
exposureSnap-combined exposure.
Raises#
- RuntimeError
Raised if input argument does not contain either 1 or 2 exposures.
- exposures