lsst.meas.algorithms g511c235543+99bad02fb9
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
lsst.meas.algorithms.sourceSelector.RequireIsolated Class Reference
Inheritance diagram for lsst.meas.algorithms.sourceSelector.RequireIsolated:

Public Member Functions

def apply (self, catalog)
 

Static Public Attributes

 parentName
 
 nChildName
 

Detailed Description

Select sources based on whether they are isolated

This object can be used as a `lsst.pex.config.Config` for configuring
the column names to check for "parent" and "nChild" keys.

Note that this should only be run on a catalog that has had the
deblender already run (or else deblend_nChild does not exist).

Definition at line 458 of file sourceSelector.py.

Member Function Documentation

◆ apply()

def lsst.meas.algorithms.sourceSelector.RequireIsolated.apply (   self,
  catalog 
)
Apply the isolation requirements to a catalog

Returns whether the source is selected.

Parameters
----------
catalog : `lsst.afw.table.SourceCatalog`
    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 472 of file sourceSelector.py.

Member Data Documentation

◆ nChildName

lsst.meas.algorithms.sourceSelector.RequireIsolated.nChildName
static
Initial value:
= pexConfig.Field(dtype=str, default="deblend_nChild",
doc="Name of column for nChild")

Definition at line 469 of file sourceSelector.py.

◆ parentName

lsst.meas.algorithms.sourceSelector.RequireIsolated.parentName
static
Initial value:
= pexConfig.Field(dtype=str, default="parent",
doc="Name of column for parent")

Definition at line 467 of file sourceSelector.py.


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