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
|
Classes | |
class | CalibNoThrow |
Functions | |
def | clipImage |
def | getDistortedWcs |
Get a WCS from an exposureInfo, with distortion terms if possible. More... | |
def | resetFilters |
def | defineFilter |
def | defineFiltersFromPolicy |
def lsst.afw.image.utils.clipImage | ( | im, | |
minClip, | |||
maxClip | |||
) |
Clip an image to lie between minClip and maxclip (None to ignore)
Definition at line 30 of file utils.py.
def lsst.afw.image.utils.defineFilter | ( | name, | |
lambdaEff, | |||
alias = [] , |
|||
force = False |
|||
) |
Define a filter and its properties in the filter registry
Definition at line 86 of file utils.py.
def lsst.afw.image.utils.defineFiltersFromPolicy | ( | filterPolicy, | |
reset = False |
|||
) |
Process a Policy and define the filters
Definition at line 96 of file utils.py.
def lsst.afw.image.utils.getDistortedWcs | ( | exposureInfo, | |
log = None |
|||
) |
Get a WCS from an exposureInfo, with distortion terms if possible.
If the WCS in the exposure is a pure TAN WCS and distortion information is available in the exposure's Detector, then return a DistortedTanWcs that combines the distortion information with the pure TAN WCS. Otherwise return the WCS in the exposureInfo without modification.
This function is intended as a temporary workaround until ISR puts a WCS with distortion information into its exposures.
[in] | exposureInfo | exposure information (an lsst.afw.image.ExposureInfo), e.g. from exposure.getInfo() |
[in] | log | an lsst.pex.logging.Log or None; if specified then a warning is logged if:
|
RuntimeError | if exposureInfo has no WCS. |
Definition at line 46 of file utils.py.
def lsst.afw.image.utils.resetFilters | ( | ) |