|
lsst.meas.algorithms g511c235543+401ba1f5a0
|
Public Member Functions | |
| def | 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 coordiante") | |
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 "coore_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 493 of file sourceSelector.py.
| def lsst.meas.algorithms.sourceSelector.RequireFiniteRaDec.apply | ( | self, | |
| catalog | |||
| ) |
Apply the sky coordinate requirements to a catalog
Returns whether the source is 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 505 of file sourceSelector.py.
|
static |
Definition at line 503 of file sourceSelector.py.
|
static |
Definition at line 502 of file sourceSelector.py.