|
lsst.pipe.tasks g540474b770+e2881a99e2
|
Public Member Functions | |
| __init__ (self, Any config, **Any kwargs) | |
| pipeBase.Struct | run (self, afwImage.Exposure exposure, int|None binSize=None) |
| np.ndarray | getGoodSources (self, afwTable.SourceCatalog binnedSourceCat) |
Static Public Attributes | |
| ConfigClass = PeekPhotoTaskConfig | |
Static Protected Attributes | |
| PeekTask | _DefaultName = "peekPhoto" |
Peek at a photo (imaging) exposure. For photo mode, we keep a relatively small detection threshold value, so we can detect faint sources to use for image quality assessment.
Definition at line 539 of file peekExposure.py.
| lsst.pipe.tasks.peekExposure.PeekPhotoTask.__init__ | ( | self, | |
| Any | config, | ||
| **Any | kwargs ) |
Definition at line 551 of file peekExposure.py.
| np.ndarray lsst.pipe.tasks.peekExposure.PeekPhotoTask.getGoodSources | ( | self, | |
| afwTable.SourceCatalog | binnedSourceCat ) |
Perform any filtering on the source catalog.
Parameters
----------
binnedSourceCat : `lsst.afw.table.SourceCatalog`
Source catalog from the binned exposure.
Returns
-------
goodSourceMask : `numpy.ndarray`
Boolean array indicating which sources are good.
Definition at line 589 of file peekExposure.py.
| pipeBase.Struct lsst.pipe.tasks.peekExposure.PeekPhotoTask.run | ( | self, | |
| afwImage.Exposure | exposure, | ||
| int | None | binSize = None ) |
Peek at donut exposure.
Parameters
----------
exposure : `lsst.afw.image.Exposure`
Exposure at which to peek.
binSize : `int`, optional
Binning factor for exposure. Default is None, which will use the
binning factor from the config.
Returns
-------
result : `pipeBase.Struct`
Result of photo peeking.
Struct containing:
- mode : `str`
Peek mode that was run.
- binSize : `int`
Binning factor used.
- binnedSourceCat : `lsst.afw.table.SourceCatalog`
Source catalog from the binned exposure.
Definition at line 555 of file peekExposure.py.
|
staticprotected |
Definition at line 549 of file peekExposure.py.
|
static |
Definition at line 546 of file peekExposure.py.