LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
Public Member Functions | |
def | run |
def | matchSources |
def | fitWcs |
def | warpExposure |
def | warpSources |
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 50 of file registerImage.py.
def lsst.pipe.tasks.registerImage.RegisterTask.fitWcs | ( | self, | |
matches, | |||
inputWcs, | |||
inputBBox | |||
) |
Fit Wcs to matches The fitting includes iterative sigma-clipping. @param matches: List of matches (first is target, second is input) @param inputWcs: Original input Wcs @param inputBBox: Bounding box of input image @return Wcs
Definition at line 97 of file registerImage.py.
def 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). @param inputSources: Source catalog of the input frame @param templateSources: Source of the target frame @return Match list
Definition at line 79 of file registerImage.py.
def 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. @param inputSources: Sources from input exposure @param inputWcs: Wcs of input exposure @param inputBBox: Bounding box of input exposure @param templateSources: Sources from template exposure @return Struct(matches: Matches between sources, wcs: Wcs for input in frame of template, )
Definition at line 60 of file registerImage.py.
def 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, Calib and other metadata), but we do not attempt to warp these to the template frame. @param inputExp: Input exposure, to be warped @param newWcs: Revised Wcs for input exposure @param templateWcs: Target Wcs @param templateBBox: Target bounding box @return Warped exposure
Definition at line 138 of file registerImage.py.
def 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. @param inputSources: Sources on input exposure, to be warped @param newWcs: Revised Wcs for input exposure @param templateWcs: Target Wcs @param templateBBox: Target bounding box @return Warped sources
Definition at line 156 of file registerImage.py.
|
static |
Definition at line 58 of file registerImage.py.