lsst.meas.algorithms
15.0-10-g113cadf7+1
|
Public Member Functions | |
def | apply (self, catalog) |
Static Public Attributes | |
fluxField | |
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 limit Note that this assumes that a zero-point has already been applied and the fluxes are in AB fluxes in Jansky. It is therefore principally intended for reference catalogs rather than catalogs extracted from science images. 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 216 of file sourceSelector.py.
def lsst.meas.algorithms.sourceSelector.MagnitudeLimit.apply | ( | self, | |
catalog | |||
) |
Apply the magnitude 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).
Definition at line 231 of file sourceSelector.py.
|
static |
Definition at line 228 of file sourceSelector.py.
|
staticinherited |
Definition at line 118 of file sourceSelector.py.
|
staticinherited |
Definition at line 117 of file sourceSelector.py.