lsst.meas.algorithms
21.0.0-20-g8cd22d88+4e357ac53e
|
Public Member Functions | |
def | apply (self, catalog) |
Static Public Attributes | |
magErrField | |
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 magnitude error limit Because the magnitude error is the inverse of the signal-to-noise ratio, this also works to select sources by signal-to-noise when you only have a magnitude. 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.
Definition at line 348 of file sourceSelector.py.
def lsst.meas.algorithms.sourceSelector.MagnitudeErrorLimit.apply | ( | self, | |
catalog | |||
) |
Apply the magnitude error limits 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).
Reimplemented from lsst.meas.algorithms.sourceSelector.BaseLimit.
Definition at line 362 of file sourceSelector.py.
|
static |
Definition at line 359 of file sourceSelector.py.
|
staticinherited |
Definition at line 175 of file sourceSelector.py.
|
staticinherited |
Definition at line 174 of file sourceSelector.py.