|
lsst.meas.algorithms g33a09d4741+106f42d13d
|
Public Member Functions | |
| apply (self, catalog) | |
Static Public Attributes | |
| raColName = pexConfig.Field(dtype=str, default="coord_ra", doc="Name of column for RA coordinate") | |
| decColName = pexConfig.Field(dtype=str, default="coord_dec", doc="Name of column for Dec coordinate") | |
Select sources that have finite RA and Dec sky coordinate values This object can be used as a `lsst.pex.config.Config` for configuring the column names to check for "coord_ra" and "coord_dec" keys. This will select against objects for which either the RA or Dec coordinate entries are not numpy.isfinite().
Definition at line 486 of file sourceSelector.py.
| lsst.meas.algorithms.sourceSelector.RequireFiniteRaDec.apply | ( | self, | |
| catalog | |||
| ) |
Apply the sky coordinate requirements to a catalog
Returns whether the sources were selected.
Parameters
----------
catalog : `lsst.afw.table.SourceCatalog` or `pandas.DataFrame`
or `astropy.table.Table`
Catalog of sources to which the requirements will be applied.
Returns
-------
selected : `numpy.ndarray`
Boolean array indicating for each source whether it is selected
(True means selected).
Definition at line 498 of file sourceSelector.py.
|
static |
Definition at line 496 of file sourceSelector.py.
|
static |
Definition at line 495 of file sourceSelector.py.