|
lsst.pipe.tasks gd5638573c2+392ae78cd2
|
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 = PeekSpecTaskConfig | |
Static Protected Attributes | |
| PeekTask | _DefaultName = "peekSpec" |
Peek at a spectroscopic exposure. For spec mode, we dramatically increase the detection threshold to avoid creating blends with the long spectra objects that appear in these images. We also change the default aperture flux slot to a larger aperture, which helps overcome challenges with lost flux in the interpolated cores of saturated objects.
| np.ndarray lsst.pipe.tasks.peekExposure.PeekSpecTask.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.
| pipeBase.Struct lsst.pipe.tasks.peekExposure.PeekSpecTask.run | ( | self, | |
| afwImage.Exposure | exposure, | ||
| int | None | binSize = None ) |
Peek at spectroscopic 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 spec 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.