SignalToNoiseLimit#
- class lsst.meas.algorithms.SignalToNoiseLimit(*args, **kw)#
Bases:
BaseLimitSelect sources using a flux signal-to-noise limit
This object can be used as a
lsst.pex.config.Configfor configuring the limit, and then theapplymethod can be used to identify sources in the catalog that match the configured limit.Attributes Summary
Name of the source flux error field to use.
Name of the source flux field to use.
Select objects with value less than this (
float, defaultNone)Select objects with value greater than this (
float, defaultNone)Methods Summary
apply(catalog)Apply the signal-to-noise limits to a catalog
Attributes Documentation
- errField#
Name of the source flux error field to use. (
str, default'flux_err')
- fluxField#
Name of the source flux field to use. (
str, default'flux')
- maximum#
Select objects with value less than this (
float, defaultNone)
- minimum#
Select objects with value greater than this (
float, defaultNone)
Methods Documentation
- apply(catalog)#
Apply the signal-to-noise limits to a catalog
Parameters#
- catalog
lsst.afw.table.SourceCatalog Catalog of sources to which the limit will be applied.
Returns#
- selected
numpy.ndarray Boolean array indicating for each source whether it is selected (True means selected).
- catalog