|
lsst.pipe.drivers
19.0.0-2-gd955cfd+21
|
Public Member Functions | |
| def | __init__ (self, args, kwargs) |
| def | run (self, exposure, maskPlanes=None) |
| def | findObjects (self, exposure) |
| def | removeObjects (self, exposure, maskPlanes=None) |
Static Public Attributes | |
| ConfigClass = MaskObjectsConfig | |
Iterative masking of objects on an Exposure This task makes more exhaustive object mask by iteratively doing detection and background-subtraction. The purpose of this task is to get true background removing faint tails of large objects. This is useful to get a clean sky estimate from relatively small number of visits. We deliberately use the specified ``detectSigma`` instead of the PSF, in order to better pick up the faint wings of objects.
Definition at line 770 of file background.py.
| def lsst.pipe.drivers.background.MaskObjectsTask.__init__ | ( | self, | |
| args, | |||
| kwargs | |||
| ) |
Definition at line 783 of file background.py.
| def lsst.pipe.drivers.background.MaskObjectsTask.findObjects | ( | self, | |
| exposure | |||
| ) |
Iteratively find objects on an exposure
Objects are masked with the ``DETECTED`` mask plane.
Parameters
----------
exposure : `lsst.afw.image.Exposure`
Exposure on which to mask objects.
Definition at line 805 of file background.py.
| def lsst.pipe.drivers.background.MaskObjectsTask.removeObjects | ( | self, | |
| exposure, | |||
maskPlanes = None |
|||
| ) |
Remove objects from exposure
We interpolate over using a background model if ``doInterpolate`` is
set; otherwise we simply replace everything with the median.
Parameters
----------
exposure : `lsst.afw.image.Exposure`
Exposure on which to mask objects.
maskPlanes : iterable of `str`, optional
List of mask planes to remove. ``DETECTED`` will be added as well.
Definition at line 820 of file background.py.
| def lsst.pipe.drivers.background.MaskObjectsTask.run | ( | self, | |
| exposure, | |||
maskPlanes = None |
|||
| ) |
Mask objects on Exposure
Objects are found and removed.
Parameters
----------
exposure : `lsst.afw.image.Exposure`
Exposure on which to mask objects.
maskPlanes : iterable of `str`, optional
List of mask planes to remove.
Definition at line 790 of file background.py.
|
static |
Definition at line 781 of file background.py.
1.8.13