lsst.meas.algorithms  21.0.0-22-g8939e615+158ca35639
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
 
 minimum = pexConfig.Field(dtype=float, optional=True, doc="Select objects with value greater than this")
 

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 415 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 432 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 425 of file sourceSelector.py.

Member Data Documentation

◆ maximum

lsst.meas.algorithms.sourceSelector.RequireUnresolved.maximum

Definition at line 430 of file sourceSelector.py.

◆ minimum

lsst.meas.algorithms.sourceSelector.BaseLimit.minimum = pexConfig.Field(dtype=float, optional=True, doc="Select objects with value greater than this")
staticinherited

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


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