|
lsst.meas.algorithms
14.0-7-g23fdbe95+3
|
Public Member Functions | |
| def | apply (self, catalog) |
Static Public Attributes | |
| primary = pexConfig.Field(dtype=str, doc="Name of column with primary flux measurement") | |
| secondary = pexConfig.Field(dtype=str, doc="Name of column with secondary flux measurement") | |
| minimum = pexConfig.Field(dtype=float, optional=True, doc="Select objects with color greater than this") | |
| maximum = pexConfig.Field(dtype=float, optional=True, doc="Select objects with color less than this") | |
Select sources using a color limit
This object can be used as a `lsst.pex.config.Config` for configuring
the limit, and then the `apply` method can be used to identify sources
in the catalog that match the configured limit.
We refer to 'primary' and 'secondary' flux measurements; these are the
two components of the color, which is:
instFluxToMag(cat[primary]) - instFluxToMag(cat[secondary])
Definition at line 108 of file sourceSelector.py.
| def lsst.meas.algorithms.sourceSelector.ColorLimit.apply | ( | self, | |
| catalog | |||
| ) |
Apply the color limit to a catalog
Parameters
----------
catalog : `lsst.afw.table.SourceCatalog`
Source to which to apply limits.
Returns
-------
selected : `numpy.ndarray`
Boolean array indicating whether each source is selected
(True means selected).
Definition at line 125 of file sourceSelector.py.
|
static |
Definition at line 123 of file sourceSelector.py.
|
static |
Definition at line 122 of file sourceSelector.py.
|
static |
Definition at line 120 of file sourceSelector.py.
|
static |
Definition at line 121 of file sourceSelector.py.
1.8.13