InterpolateOverDefectGaussianProcess#
- class lsst.meas.algorithms.InterpolateOverDefectGaussianProcess(masked_image, defects=['SAT'], fwhm=5, bin_image=True, bin_spacing=10, threshold_dynamic_binning=1000, threshold_subdivide=20000, correlation_length_cut=5, log=None)#
Bases:
objectInterpolateOverDefectGaussianProcess class performs Gaussian Process (GP) interpolation over defects in an image.
Parameters:#
- masked_image
lsst.afw.image.MaskedImage The masked image containing the defects to be interpolated.
- defects
list`[`str], optional The types of defects to be interpolated. Default is [“SAT”].
- fwhm
float, optional The full width at half maximum (FWHM) of the PSF. Default is 5.
- bin_spacing
int, optional The spacing between bins for good pixel binning. Default is 10.
- threshold_dynamic_binning
int, optional The threshold for dynamic binning. Default is 1000.
- threshold_subdivide
int, optional The threshold for sub-dividing the bad pixel array to avoid memory error. Default is 20000.
- correlation_length_cut
int, optional The factor by which to dilate the bounding box around defects. Default is 5.
- log
lsst.log.Log,logging.LoggerorNone, optional Logger object used to write out messages. If
Nonea default logger will be used.
Methods Summary
interpolate_masked_sub_image(masked_sub_image)Interpolate the masked sub-image.
run()Interpolate over the defects in the image.
Methods Documentation
- interpolate_masked_sub_image(masked_sub_image)#
Interpolate the masked sub-image.
Parameters:#
- masked_sub_image
lsst.afw.image.MaskedImage The sub-masked image to be interpolated.
Returns:#
lsst.afw.image.MaskedImageThe interpolated sub-masked image.
- masked_sub_image
- run()#
Interpolate over the defects in the image.
Change self.masked_image .
- masked_image