|
| __init__ (self, *args, **kwargs) |
|
| run (self, snap0, snap1) |
|
Combine two snaps into a single visit image.
Definition at line 40 of file snapCombine.py.
◆ __init__()
lsst.pipe.tasks.snapCombine.SnapCombineTask.__init__ |
( |
| self, |
|
|
* | args, |
|
|
** | kwargs ) |
◆ _add_snaps()
lsst.pipe.tasks.snapCombine.SnapCombineTask._add_snaps |
( |
| self, |
|
|
| snap0, |
|
|
| snap1 ) |
|
protected |
Add two snap exposures together, returning a new exposure.
Parameters
----------
snap0 : `lsst.afw.image.Exposure`
Snap exposure 0.
snap1 : `lsst.afw.image.Exposure`
Snap exposure 1.
Returns
-------
combined : `lsst.afw.image.Exposure`
Combined exposure.
Definition at line 76 of file snapCombine.py.
◆ _merge_visit_info()
lsst.pipe.tasks.snapCombine.SnapCombineTask._merge_visit_info |
( |
| self, |
|
|
| info0, |
|
|
| info1 ) |
|
protected |
Merge the visitInfo values from the two exposures.
In particular:
* id will be the id of snap 0.
* date will be the average of the dates.
* exposure time will be the sum of the times.
Parameters
----------
info0, info1 : `lsst.afw.image.VisitInfo`
Metadata to combine.
Returns
-------
info : `lsst.afw.image.VisitInfo`
Combined metadata.
Definition at line 110 of file snapCombine.py.
◆ run()
lsst.pipe.tasks.snapCombine.SnapCombineTask.run |
( |
| self, |
|
|
| snap0, |
|
|
| snap1 ) |
Combine two snaps, returning the combined image.
Parameters
----------
snap0 : `lsst.afw.image.Exposure`
Snapshot exposure 0.
snap1 : `lsst.afw.image.Exposure`
Snapshot exposure 1.
Returns
-------
result : `lsst.pipe.base.Struct`
Results as a struct with attributes:
``exposure``
Snap-combined exposure.
Definition at line 51 of file snapCombine.py.
◆ _DefaultName
str lsst.pipe.tasks.snapCombine.SnapCombineTask._DefaultName = "snapCombine" |
|
staticprotected |
◆ ConfigClass
The documentation for this class was generated from the following file: