SnapCombineTask#

class lsst.pipe.tasks.snapCombine.SnapCombineTask(*args, **kwargs)#

Bases: Task

Combine 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, snap1lsst.afw.image.Exposure

Exposures to combine.

Returns#

resultlsst.pipe.base.Struct

Results as a struct with attributes:

exposure

Snap-combined exposure.

run(exposures)#

Combine one or two snaps, returning the combined image.

Parameters#

exposureslsst.afw.image.Exposure or list [lsst.afw.image.Exposure]

One or two exposures to combine as snaps.

Returns#

resultlsst.pipe.base.Struct

Results as a struct with attributes:

exposure

Snap-combined exposure.

Raises#

RuntimeError

Raised if input argument does not contain either 1 or 2 exposures.