lsst.meas.algorithms g1d3acf762d+df4e4cf2ad
Loading...
Searching...
No Matches
lsst.meas.algorithms.sourceSelector.RequireUnresolved Class Reference
Inheritance diagram for lsst.meas.algorithms.sourceSelector.RequireUnresolved:
lsst.meas.algorithms.sourceSelector.BaseLimit

Public Member Functions

 setDefaults (self)
 
 apply (self, catalog)
 

Static Public Attributes

 name
 
 minimum = pexConfig.Field(dtype=float, optional=True, doc="Select objects with value greater than this")
 
 maximum = pexConfig.Field(dtype=float, optional=True, doc="Select objects with value less 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 421 of file sourceSelector.py.

Member Function Documentation

◆ apply()

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

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

Values below the threshold are unresolved.

Definition at line 431 of file sourceSelector.py.

Member Data Documentation

◆ maximum

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

Definition at line 175 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_ClassificationSizeExtendedness_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: