|
lsst.meas.algorithms
19.0.0-2-g3d9e4fb2+3
|
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 153 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).
Definition at line 167 of file sourceSelector.py.
|
static |
Definition at line 165 of file sourceSelector.py.
|
static |
Definition at line 164 of file sourceSelector.py.
1.8.13