|
LSSTApplications
8.0.0.0+107,8.0.0.1+13,9.1+18,9.2,master-g084aeec0a4,master-g0aced2eed8+6,master-g15627eb03c,master-g28afc54ef9,master-g3391ba5ea0,master-g3d0fb8ae5f,master-g4432ae2e89+36,master-g5c3c32f3ec+17,master-g60f1e072bb+1,master-g6a3ac32d1b,master-g76a88a4307+1,master-g7bce1f4e06+57,master-g8ff4092549+31,master-g98e65bf68e,master-ga6b77976b1+53,master-gae20e2b580+3,master-gb584cd3397+53,master-gc5448b162b+1,master-gc54cf9771d,master-gc69578ece6+1,master-gcbf758c456+22,master-gcec1da163f+63,master-gcf15f11bcc,master-gd167108223,master-gf44c96c709
LSSTDataManagementBasePackage
|
Functions | |
| def | createPsf |
| def | calcEffectiveGain |
| def | transposeMaskedImage |
| def | interpolateDefectList |
| def | defectListFromFootprintList |
| def | transposeDefectList |
| def | maskPixelsFromDefectList |
| def | getDefectListFromMask |
| def | makeThresholdMask |
| def | interpolateFromMask |
| def | saturationCorrection |
| def | biasCorrection |
| def | darkCorrection |
| def | updateVariance |
| def | flatCorrection |
| def | illuminationCorrection |
| def | overscanCorrection |
| def lsst.ip.isr.isr.calcEffectiveGain | ( | maskedImage | ) |
Calculate effective gain @param[in] maskedImage afw.image.MaskedImage to process @return (median gain, mean gain) in e-/ADU
Definition at line 42 of file isr.py.
| def lsst.ip.isr.isr.createPsf | ( | fwhm | ) |
Make a double Gaussian PSF @param[in] fwhm FWHM of double Gaussian smoothing kernel @return measAlg.DoubleGaussianPsf
Definition at line 33 of file isr.py.
| def lsst.ip.isr.isr.darkCorrection | ( | maskedImage, | |
| darkMaskedImage, | |||
| expScale, | |||
| darkScale | |||
| ) |
| def lsst.ip.isr.isr.defectListFromFootprintList | ( | fpList, | |
growFootprints = 1 |
|||
| ) |
Compute a defect list from a footprint list, optionally growing the footprints @param[in] fpList footprint list @param[in] growFootprints amount by which to grow footprints of detected regions @return meas.algorithms.DefectListT
Definition at line 82 of file isr.py.
| def lsst.ip.isr.isr.flatCorrection | ( | maskedImage, | |
| flatMaskedImage, | |||
| scalingType, | |||
userScale = 1.0 |
|||
| ) |
Apply flat correction in place @param[in,out] maskedImage afw.image.MaskedImage to correct @param[in] flatMaskedImage flat field afw.image.MaskedImage @param[in] scalingType how to compute flat scale; one of 'MEAN', 'MEDIAN' or 'USER' @param[in] userScale scale to use if scalingType is 'USER', else ignored
Definition at line 242 of file isr.py.
| def lsst.ip.isr.isr.getDefectListFromMask | ( | maskedImage, | |
| maskName, | |||
growFootprints = 1 |
|||
| ) |
Compute a defect list from a specified mask plane @param[in] maskedImage masked image to process @param[in] maskName mask plane name @param[in] growFootprints amount by which to grow footprints of detected regions @return meas.algrithms.DefectListT of regions in mask
Definition at line 130 of file isr.py.
| def lsst.ip.isr.isr.illuminationCorrection | ( | maskedImage, | |
| illumMaskedImage, | |||
| illumScale | |||
| ) |
| def lsst.ip.isr.isr.interpolateDefectList | ( | maskedImage, | |
| defectList, | |||
| fwhm, | |||
fallbackValue = None |
|||
| ) |
Interpolate over defects specified in a defect list
@param[in,out] maskedImage masked image to process
@param[in] defectList defect list
@param[in] fwhm FWHM of double Gaussian smoothing kernel
@param[in] fallbackValue fallback value if an interpolated value cannot be determined;
if None then use clipped mean image value
Definition at line 66 of file isr.py.
| def lsst.ip.isr.isr.interpolateFromMask | ( | maskedImage, | |
| fwhm, | |||
growFootprints = 1, |
|||
maskName = 'SAT', |
|||
fallbackValue = None |
|||
| ) |
Interpolate over defects identified by a particular mask plane @param[in,out] maskedImage afw.image.MaskedImage to process @param[in] fwhm FWHM of double Gaussian smoothing kernel @param[in] growFootprints amount by which to grow footprints of detected regions @param[in] maskName mask plane name @param[in] fallbackValue value of last resort for interpolation
Definition at line 172 of file isr.py.
| def lsst.ip.isr.isr.makeThresholdMask | ( | maskedImage, | |
| threshold, | |||
growFootprints = 1, |
|||
maskName = 'SAT' |
|||
| ) |
Mask pixels based on threshold detection @param[in,out] maskedImage afw.image.MaskedImage to process; the mask is altered @param[in] threshold detection threshold @param[in] growFootprints amount by which to grow footprints of detected regions @param[in] maskName mask plane name @return meas.algorihtms.DefectListT of regions set in the mask.
Definition at line 148 of file isr.py.
| def lsst.ip.isr.isr.maskPixelsFromDefectList | ( | maskedImage, | |
| defectList, | |||
maskName = 'BAD' |
|||
| ) |
Set mask plane based on a defect list @param[in,out] maskedImage afw.image.MaskedImage to process; mask plane is updated @param[in] defectList meas.algorithms.DefectListT @param[in] maskName mask plane name
Definition at line 116 of file isr.py.
| def lsst.ip.isr.isr.overscanCorrection | ( | ampMaskedImage, | |
| overscanImage, | |||
fitType = 'MEDIAN', |
|||
order = 1, |
|||
collapseRej = 3.0 |
|||
| ) |
Apply overscan correction in place
@param[in,out] ampMaskedImage masked image to correct
@param[in] overscanImage overscan data as an afw.image.IMage
@param[in] fitType type of fit for overscan correction; one of:
- 'MEAN'
- 'MEDIAN'
- 'POLY' (ordinary polynomial)
- 'CHEB' (Chebyshev polynomial)
- 'LEG' (Legendre polynomial)
- 'NATURAL_SPLINE', 'CUBIC_SPLINE', 'AKIMA_SPLINE' (splines)
@param[in] order polynomial order or spline knots (ignored unless fitType
indicates a polynomial or spline)
@param[in] collapseRej Rejection threshold (sigma) for collapsing dimension of overscan
Definition at line 281 of file isr.py.
| def lsst.ip.isr.isr.saturationCorrection | ( | maskedImage, | |
| saturation, | |||
| fwhm, | |||
growFootprints = 1, |
|||
interpolate = True, |
|||
maskName = 'SAT', |
|||
fallbackValue = None |
|||
| ) |
Mark saturated pixels and optionally interpolate over them @param[in,out] maskedImage afw.image.MaskedImage to process @param[in] saturation saturation level (used as a detection threshold) @param[in] fwhm FWHM of double Gaussian smoothing kernel @param[in] growFootprints amount by which to grow footprints of detected regions @param[in] interpolate interpolate over saturated pixels? @param[in] maskName mask plane name @param[in] fallbackValue value of last resort for interpolation
Definition at line 185 of file isr.py.
| def lsst.ip.isr.isr.transposeDefectList | ( | defectList | ) |
Make a transposed copy of a defect list @param[in] defectList defect list @return meas.algorithms.DefectListT with transposed defects
Definition at line 102 of file isr.py.
| def lsst.ip.isr.isr.transposeMaskedImage | ( | maskedImage | ) |
| def lsst.ip.isr.isr.updateVariance | ( | maskedImage, | |
| gain, | |||
| readNoise | |||
| ) |
Set the variance plane based on the image plane @param[in,out] maskedImage afw.image.MaskedImage; image plane is read and variance plane is written @param[in] gain amplifier gain (e-/ADU) @param[in] readNoise amplifier read noise (ADU/pixel)
1.8.5