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 | Static Public Attributes | List of all members
lsst.pipe.tasks.interpImage.InterpImageTask Class Reference
Inheritance diagram for lsst.pipe.tasks.interpImage.InterpImageTask:

Public Member Functions

def interpolateOnePlane
 

Static Public Attributes

 ConfigClass = InterpImageConfig
 

Detailed Description

Interpolate over bad image pixels

Definition at line 35 of file interpImage.py.

Member Function Documentation

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.

41 
42  def interpolateOnePlane(self, maskedImage, planeName, fwhmPixels=None):
43  """Interpolate over one mask plane, in place
44 
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.
48 
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
52  """
53  self.log.info("Interpolate over %s pixels" % (planeName,))
54  psfModel = self.config.modelPsf.apply(fwhm=fwhmPixels)
55 
56  nanDefectList = ipIsr.getDefectListFromMask(maskedImage, planeName, growFootprints=0)
57  measAlg.interpolateOverDefects(maskedImage, psfModel, nanDefectList, 0.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.
Definition: Interp.cc:2058

Member Data Documentation

lsst.pipe.tasks.interpImage.InterpImageTask.ConfigClass = InterpImageConfig
static

Definition at line 38 of file interpImage.py.


The documentation for this class was generated from the following file: