|
lsst.meas.algorithms
19.0.0-13-gc12c6924
|
A star selector that looks for a cluster of small objects in a size-magnitude plot. More...
Public Member Functions | |
| def | selectSources (self, sourceCat, matches=None, exposure=None) |
| def | run (self, sourceCat, sourceSelectedField=None, matches=None, exposure=None) |
Static Public Attributes | |
| ConfigClass = ObjectSizeStarSelectorConfig | |
| bool | usesMatches = False |
A star selector that looks for a cluster of small objects in a size-magnitude plot.
A star selector that looks for a cluster of small objects in a size-magnitude plot.
Like all star selectors, the main method is run.
See ObjectSizeStarSelectorConfig
ObjectSizeStarSelectorTask has a debug dictionary with the following keys:
For example, put something like:
into your debug.py file and run your task with the --debug flag.
Definition at line 319 of file objectSizeStarSelector.py.
|
inherited |
Select sources and return them.
The input catalog must be contiguous in memory.
Parameters:
-----------
sourceCat : `lsst.afw.table.SourceCatalog`
Catalog of sources to select from.
sourceSelectedField : `str` or None
Name of flag field in sourceCat to set for selected sources.
If set, will modify sourceCat in-place.
matches : `list` of `lsst.afw.table.ReferenceMatch` or None
List of matches to use for source selection.
If usesMatches is set in source selector this field is required.
If not, it is ignored.
exposure : `lsst.afw.image.Exposure` or None
The exposure the catalog was built from; used for debug display.
Return
------
struct : `lsst.pipe.base.Struct`
The struct contains the following data:
- sourceCat : `lsst.afw.table.SourceCatalog`
The catalog of sources that were selected.
(may not be memory-contiguous)
- selected : `numpy.ndarray` of `bool``
Boolean array of sources that were selected, same length as
sourceCat.
Raises
------
RuntimeError
Raised if ``sourceCat`` is not contiguous.
Definition at line 69 of file sourceSelector.py.
| def lsst.meas.algorithms.objectSizeStarSelector.ObjectSizeStarSelectorTask.selectSources | ( | self, | |
| sourceCat, | |||
matches = None, |
|||
exposure = None |
|||
| ) |
Return a selection of PSF candidates that represent likely stars.
A list of PSF candidates may be used by a PSF fitter to construct a PSF.
Parameters:
-----------
sourceCat : `lsst.afw.table.SourceCatalog`
Catalog of sources to select from.
This catalog must be contiguous in memory.
matches : `list` of `lsst.afw.table.ReferenceMatch` or None
Ignored in this SourceSelector.
exposure : `lsst.afw.image.Exposure` or None
The exposure the catalog was built from; used to get the detector
to transform to TanPix, and for debug display.
Return
------
struct : `lsst.pipe.base.Struct`
The struct contains the following data:
- selected : `array` of `bool``
Boolean array of sources that were selected, same length as
sourceCat.
Definition at line 381 of file objectSizeStarSelector.py.
|
static |
Definition at line 378 of file objectSizeStarSelector.py.
|
static |
Definition at line 379 of file objectSizeStarSelector.py.
1.8.13