|
lsst.meas.algorithms
17.0.1-10-g6c37d570
|
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 value greater than this") | |
| maximum = pexConfig.Field(dtype=float, optional=True, doc="Select objects with value 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 193 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`
Catalog of sources to which the limit will be applied.
Returns
-------
selected : `numpy.ndarray`
Boolean array indicating for each source whether it is selected
(True means selected).
Definition at line 208 of file sourceSelector.py.
|
staticinherited |
Definition at line 165 of file sourceSelector.py.
|
staticinherited |
Definition at line 164 of file sourceSelector.py.
|
static |
Definition at line 205 of file sourceSelector.py.
|
static |
Definition at line 206 of file sourceSelector.py.
1.8.13