|
lsst.meas.algorithms g33a09d4741+106f42d13d
|
Public Member Functions | |
| apply (self, catalog) | |
Static Public Attributes | |
| primaryColName | |
Select sources that have the detect_isPrimary flag set. This object can be used as a `lsst.pex.config.Config` for configuring the column names to check for "detect_isPrimary". For single frame catalogs this will be True when the source is not a sky object, and is either an isolated parent that is un-modeled or deblended from a parent with multiple children. For meas_deblender, this is equivalent to deblend_nChild=0. For coadd catalogs there is an additional constraint that the source is located on the interior of a patch and tract.
Definition at line 520 of file sourceSelector.py.
| lsst.meas.algorithms.sourceSelector.RequirePrimary.apply | ( | self, | |
| catalog | |||
| ) |
Apply the primary 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 requirement will be applied.
Returns
-------
selected : `numpy.ndarray`
Boolean array indicating for each source whether it is selected
(True means selected).
Definition at line 537 of file sourceSelector.py.
|
static |
Definition at line 531 of file sourceSelector.py.