RequireUnresolved#

class lsst.meas.algorithms.RequireUnresolved(*args, **kw)#

Bases: BaseLimit

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.

Attributes Summary

maximum

Select objects with value less than this (float, default None)

minimum

Select objects with value greater than this (float, default None)

name

Name of column for star/galaxy separation (str, default 'base_ClassificationSizeExtendedness_value')

Methods Summary

apply(catalog)

Apply the flag requirements to a catalog

setDefaults()

Set default

Attributes Documentation

maximum#

Select objects with value less than this (float, default None)

minimum#

Select objects with value greater than this (float, default None)

name#

Name of column for star/galaxy separation (str, default 'base_ClassificationSizeExtendedness_value')

Methods Documentation

apply(catalog)#

Apply the flag requirements to a catalog

Returns whether the source is selected.

Parameters#

cataloglsst.afw.table.SourceCatalog

Catalog of sources to which the requirements will be applied.

Returns#

selectednumpy.ndarray

Boolean array indicating for each source whether it is selected (True means selected).

setDefaults()#

Set default

Values below the threshold are unresolved.