lsst.meas.algorithms ga9ef28dd75+dd4ae5feae
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

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

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

Member Function Documentation

◆ apply()

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.

Member Data Documentation

◆ decColName

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

Definition at line 503 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 502 of file sourceSelector.py.


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