lsst.meas.algorithms g6770999e7e+e8406c078b
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
lsst.meas.algorithms.sourceSelector.RequireFiniteRaDec Class Reference
Inheritance diagram for lsst.meas.algorithms.sourceSelector.RequireFiniteRaDec:

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")
 

Detailed Description

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.

Member Function Documentation

◆ apply()

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.

Member Data Documentation

◆ decColName

lsst.meas.algorithms.sourceSelector.RequireFiniteRaDec.decColName = pexConfig.Field(dtype=str, default="coord_dec", doc="Name of column for Dec coordinate")
static

Definition at line 496 of file sourceSelector.py.

◆ raColName

lsst.meas.algorithms.sourceSelector.RequireFiniteRaDec.raColName = pexConfig.Field(dtype=str, default="coord_ra", doc="Name of column for RA coordinate")
static

Definition at line 495 of file sourceSelector.py.


The documentation for this class was generated from the following file: