lsst.meas.algorithms gbdb7798760+73815205df
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
lsst.meas.algorithms.sourceSelector.RequireUnresolved Class Reference
Inheritance diagram for lsst.meas.algorithms.sourceSelector.RequireUnresolved:
lsst.meas.algorithms.sourceSelector.BaseLimit

Public Member Functions

def setDefaults (self)
 
def apply (self, catalog)
 

Public Attributes

 maximum
 

Static Public Attributes

 name
 

Detailed Description

Select sources using star/galaxy separation

This object can be used as a `lsst.pex.config.Config` for configuring
the limit, and then the `apply` method can be used to identify sources
in the catalog that match the configured limit.

Definition at line 421 of file sourceSelector.py.

Member Function Documentation

◆ apply()

def lsst.meas.algorithms.sourceSelector.RequireUnresolved.apply (   self,
  catalog 
)
Apply the flag 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).

Reimplemented from lsst.meas.algorithms.sourceSelector.BaseLimit.

Definition at line 438 of file sourceSelector.py.

◆ setDefaults()

def lsst.meas.algorithms.sourceSelector.RequireUnresolved.setDefaults (   self)
Set default

``base_ClassificationExtendedness_value < 0.5`` means unresolved.

Definition at line 431 of file sourceSelector.py.

Member Data Documentation

◆ maximum

lsst.meas.algorithms.sourceSelector.RequireUnresolved.maximum

Definition at line 436 of file sourceSelector.py.

◆ name

lsst.meas.algorithms.sourceSelector.RequireUnresolved.name
static
Initial value:
= pexConfig.Field(dtype=str, default="base_ClassificationExtendedness_value",
doc="Name of column for star/galaxy separation")

Definition at line 428 of file sourceSelector.py.


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