|
lsst.meas.algorithms
20.0.0-6-g01203fff+17001e7b9d
|
Public Member Functions | |
| def | apply (self, values) |
Static Public Attributes | |
| 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") | |
Base class for selecting sources by applying a 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. This provides the `maximum` and `minimum` fields in the Config, and a method to apply the limits to an array of values calculated by the subclass.
Definition at line 163 of file sourceSelector.py.
| def lsst.meas.algorithms.sourceSelector.BaseLimit.apply | ( | self, | |
| values | |||
| ) |
Apply the limits to an array of values
Subclasses should calculate the array of values and then
return the result of calling this method.
Parameters
----------
values : `numpy.ndarray`
Array of values to which to apply limits.
Returns
-------
selected : `numpy.ndarray`
Boolean array indicating for each source whether it is selected
(True means selected).
Reimplemented in lsst.meas.algorithms.sourceSelector.RequireUnresolved, lsst.meas.algorithms.sourceSelector.MagnitudeErrorLimit, lsst.meas.algorithms.sourceSelector.SignalToNoiseLimit, lsst.meas.algorithms.sourceSelector.MagnitudeLimit, lsst.meas.algorithms.sourceSelector.FluxLimit, and lsst.meas.algorithms.sourceSelector.ColorLimit.
Definition at line 177 of file sourceSelector.py.
|
static |
Definition at line 175 of file sourceSelector.py.
|
static |
Definition at line 174 of file sourceSelector.py.
1.8.18