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 | __init__ |
def | scaleMaskedImage |
def | getInterpImage |
Public Member Functions inherited from lsst.pipe.tasks.scaleZeroPoint.ImageScaler | |
def | __init__ |
def | scaleMaskedImage |
Private Attributes | |
_xList | |
_yList | |
_scaleList | |
Multiplicative image scaler using interpolation over a grid of points. Contains the x, y positions in tract coordinates and the scale factors. Interpolates only when scaleMaskedImage() or getInterpImage() is called. Currently the only type of 'interpolation' implemented is CONSTANT which calculates the mean.
Definition at line 52 of file scaleZeroPoint.py.
def lsst.pipe.tasks.scaleZeroPoint.SpatialImageScaler.__init__ | ( | self, | |
interpStyle, | |||
xList, | |||
yList, | |||
scaleList | |||
) |
Constructor @param[in] interpStyle: interpolation style (CONSTANT is only option) @param[in] xList: list of X pixel positions @param[in] yList: list of Y pixel positions @param[in] scaleList: list of multiplicative scale factors at (x,y) @raise RuntimeError if the lists have different lengths
Definition at line 61 of file scaleZeroPoint.py.
def lsst.pipe.tasks.scaleZeroPoint.SpatialImageScaler.getInterpImage | ( | self, | |
bbox | |||
) |
Return an image containing the scale correction with same bounding box as supplied. @param[in] bbox: integer bounding box for image (afwGeom.Box2I)
Definition at line 89 of file scaleZeroPoint.py.
def lsst.pipe.tasks.scaleZeroPoint.SpatialImageScaler.scaleMaskedImage | ( | self, | |
maskedImage | |||
) |
Apply scale correction to the specified masked image @param[in,out] image to scale; scale is applied in place
Definition at line 81 of file scaleZeroPoint.py.
|
private |
Definition at line 79 of file scaleZeroPoint.py.
|
private |
Definition at line 77 of file scaleZeroPoint.py.
|
private |
Definition at line 78 of file scaleZeroPoint.py.