|
lsst.meas.algorithms g4a7591d645+ecc601e506
|
Public Member Functions | |
| run (self, exposure) | |
Static Public Attributes | |
| ConfigClass = ReinterpolatePixelsConfig | |
Protected Member Functions | |
| _fromFootprintList (self, fpList) | |
| _interpolateDefectList (self, exposure, defectList) | |
Static Protected Attributes | |
| str | _DefaultName = "reinterpolatePixels" |
Task to reinterpolate pixels
Definition at line 49 of file reinterpolate_pixels.py.
|
protected |
Compute a defect list from a footprint list.
Parameters
----------
fpList : `list` of `lsst.afw.detection.Footprint`
Footprint list to process.
Returns
-------
defects : `list` of `lsst.meas.algorithms.Defect`
List of defects.
Notes
-----
By using `itertools.chain.from_iterable()`, the nested iterables are merged into a flat iterable,
allowing convenient iteration over all `lsst.meas.algorithms.Defect` objects.
Definition at line 76 of file reinterpolate_pixels.py.
|
protected |
Interpolate over defects specified in a defect list.
Parameters
----------
exposure : `lsst.afw.image.Exposure`
Exposure to process.
defectList : `list` of `lsst.meas.algorithms.Defect`
List of defects to interpolate over.
Notes
-----
``exposure`` is modified in place and will become the reinterpolated exposure.
When reinterpolating following the interpolation in ip_isr, be aware that the masks are intentionally
left grown as a side-effect of that interpolation.
Definition at line 98 of file reinterpolate_pixels.py.
| lsst.meas.algorithms.reinterpolate_pixels.ReinterpolatePixelsTask.run | ( | self, | |
| exposure ) |
Reinterpolate pixels over ``exposure``.
Parameters
----------
exposure : `lsst.afw.image.Exposure`
Exposure to interpolate over.
Notes
-----
``exposure`` is modified in place and will become the reinterpolated exposure.
Definition at line 55 of file reinterpolate_pixels.py.
|
staticprotected |
Definition at line 53 of file reinterpolate_pixels.py.
|
static |
Definition at line 52 of file reinterpolate_pixels.py.