LSST Applications g1653933729+34a971ddd9,g1a997c3884+34a971ddd9,g2160c40384+da0d0eec6b,g28da252d5a+1236b942f7,g2bbee38e9b+e5a1bc5b38,g2bc492864f+e5a1bc5b38,g2ca4be77d2+192fe503f0,g2cdde0e794+704103fe75,g3156d2b45e+6e87dc994a,g347aa1857d+e5a1bc5b38,g35bb328faa+34a971ddd9,g3a166c0a6a+e5a1bc5b38,g3e281a1b8c+8ec26ec694,g4005a62e65+ba0306790b,g414038480c+9f5be647b3,g41af890bb2+c3a10c924f,g5065538af8+e7237db731,g5a0bb5165c+eae055db26,g717e5f8c0f+b65b5c3ae4,g80478fca09+4ce5a07937,g82479be7b0+08790af60f,g858d7b2824+b65b5c3ae4,g9125e01d80+34a971ddd9,ga5288a1d22+5df949a35e,gae0086650b+34a971ddd9,gb58c049af0+ace264a4f2,gbd397ab92a+2141afb137,gc28159a63d+e5a1bc5b38,gc805d3fbd4+b65b5c3ae4,gcf0d15dbbd+97632ccc20,gd6b7c0dfd1+de826e8718,gda6a2b7d83+97632ccc20,gdaeeff99f8+7774323b41,ge2409df99d+e6cadbf968,ge33fd446bb+b65b5c3ae4,ge79ae78c31+e5a1bc5b38,gf0baf85859+890af219f9,gf5289d68f6+a27069ed62,w.2024.37
LSST Data Management Base Package
|
Public Member Functions | |
run (self, inputSources, inputWcs, inputBBox, templateSources) | |
matchSources (self, inputSources, templateSources) | |
fitWcs (self, matches, inputWcs, inputBBox) | |
warpExposure (self, inputExp, newWcs, templateWcs, templateBBox) | |
warpSources (self, inputSources, newWcs, templateWcs, templateBBox) | |
Static Public Attributes | |
ConfigClass = RegisterConfig | |
Task to register (align) multiple images. The 'run' method provides a revised Wcs from matches and fitting sources. Additional methods are provided as a convenience to warp an exposure ('warpExposure') and sources ('warpSources') with the new Wcs.
Definition at line 49 of file registerImage.py.
lsst.pipe.tasks.registerImage.RegisterTask.fitWcs | ( | self, | |
matches, | |||
inputWcs, | |||
inputBBox ) |
Fit Wcs to matches. The fitting includes iterative sigma-clipping. Parameters ---------- matches : `list` List of matches (first is target, second is input). inputWcs : `lsst.afw.geom.SkyWcs` Original input Wcs. inputBBox : `lsst.geom.Box` Bounding box of input exposure. Returns ------- wcs: `lsst.afw.geom.SkyWcs` Wcs fitted to matches.
Definition at line 116 of file registerImage.py.
lsst.pipe.tasks.registerImage.RegisterTask.matchSources | ( | self, | |
inputSources, | |||
templateSources ) |
Match sources between the input and template. The order of the input arguments matters (because the later Wcs fitting assumes a particular order). Parameters ---------- inputSources : `lsst.afw.table.SourceCatalog` Source catalog of the input frame. templateSources : `lsst.afw.table.SourceCatalog` Source of the target frame. Returns ------- matches: `list` Match list.
Definition at line 90 of file registerImage.py.
lsst.pipe.tasks.registerImage.RegisterTask.run | ( | self, | |
inputSources, | |||
inputWcs, | |||
inputBBox, | |||
templateSources ) |
Register (align) an input exposure to the template The sources must have RA,Dec set, and accurate to within the 'matchRadius' of the configuration in order to facilitate source matching. We fit a new Wcs, but do NOT set it in the input exposure. Parameters ---------- inputSources : `lsst.afw.table.SourceCatalog` Sources from input exposure. inputWcs : `lsst.afw.geom.SkyWcs` Wcs of input exposure. inputBBox : `lsst.geom.Box` Bounding box of input exposure. templateSources : `lsst.afw.table.SourceCatalog` Sources from template exposure. Returns ------- result : `lsst.pipe.base.Struct` Results as a struct with attributes: ``matches`` Matches between sources (`list`). ``wcs`` Wcs for input in frame of template (`lsst.afw.geom.SkyWcs`).
Definition at line 59 of file registerImage.py.
lsst.pipe.tasks.registerImage.RegisterTask.warpExposure | ( | self, | |
inputExp, | |||
newWcs, | |||
templateWcs, | |||
templateBBox ) |
Warp input exposure to template frame. There are a variety of data attached to the exposure (e.g., PSF, PhotoCalib and other metadata), but we do not attempt to warp these to the template frame. Parameters ---------- inputExp : `lsst.afw.image.Exposure` Input exposure, to be warped. newWcs : `lsst.afw.geom.SkyWcs` Revised Wcs for input exposure. templateWcs : `lsst.afw.geom.SkyWcs` Target Wcs. templateBBox : `lsst.geom.Box` Target bounding box. Returns ------- alignedExp : `lsst.afw.image.Exposure` Warped exposure.
Definition at line 166 of file registerImage.py.
lsst.pipe.tasks.registerImage.RegisterTask.warpSources | ( | self, | |
inputSources, | |||
newWcs, | |||
templateWcs, | |||
templateBBox ) |
Warp sources to the new frame. It would be difficult to transform all possible quantities of potential interest between the two frames. We therefore update only the sky and pixel coordinates. Parameters ---------- inputSources : `lsst.afw.table.SourceCatalog` Sources on input exposure, to be warped. newWcs : `lsst.afw.geom.SkyWcs` Revised Wcs for input exposure. templateWcs : `lsst.afw.geom.SkyWcs` Target Wcs. templateBBox : `lsst.geom.Box` Target bounding box. Returns ------- alignedSources : `lsst.afw.table.SourceCatalog` Warped sources.
Definition at line 194 of file registerImage.py.
|
static |
Definition at line 57 of file registerImage.py.