Interpolate over bad image pixels
Definition at line 35 of file interpImage.py.
def lsst.pipe.tasks.interpImage.InterpImageTask.interpolateOnePlane |
( |
|
self, |
|
|
|
maskedImage, |
|
|
|
planeName, |
|
|
|
fwhmPixels = None |
|
) |
| |
Interpolate over one mask plane, in place
Note that the interpolation code in meas_algorithms currently
doesn't use the input PSF (though it's a required argument),
so it's not important to set the input PSF parameters exactly.
@param[in,out] maskedImage: MaskedImage over which to interpolate over edge pixels
@param[in] planeName: mask plane over which to interpolate
@param[in] fwhmPixels: FWHM of core star (pixels); if None then the default is used
Definition at line 41 of file interpImage.py.
43 """Interpolate over one mask plane, in place
45 Note that the interpolation code in meas_algorithms currently
46 doesn't use the input PSF (though it's a required argument),
47 so it's not important to set the input PSF parameters exactly.
49 @param[in,out] maskedImage: MaskedImage over which to interpolate over edge pixels
50 @param[in] planeName: mask plane over which to interpolate
51 @param[in] fwhmPixels: FWHM of core star (pixels); if None then the default is used
53 self.log.info(
"Interpolate over %s pixels" % (planeName,))
54 psfModel = self.config.modelPsf.apply(fwhm=fwhmPixels)
56 nanDefectList = ipIsr.getDefectListFromMask(maskedImage, planeName, growFootprints=0)
void interpolateOverDefects(MaskedImageT &image, lsst::afw::detection::Psf const &psf, std::vector< Defect::Ptr > &badList, double fallbackValue=0.0, bool useFallbackValueAtEdge=false)
Process a set of known bad pixels in an image.
The documentation for this class was generated from the following file:
- /home/lsstsw/stack/Linux64/pipe_tasks/11.0-2-g818369d/python/lsst/pipe/tasks/interpImage.py