InjectedStarSelector

class lsst.analysis.tools.actions.vector.InjectedStarSelector(*args, **kw)

Bases: InjectedClassSelector

A selector for injected stars of a given class.

Attributes Summary

key_class

Key for the field indicating the class of the object (str, default 'ref_source_type')

name_class

Name of the class of objects (str)

plotLabelKey

Key to use when populating plot info, ignored if empty string (str, default '')

value_compare

Value of the type_key field for objects that are stars (str, default 'DeltaFunction')

value_is_equal

Whether the value must equal value_compare to be of this class (bool, default True)

vectorKey

Key to select from data (str, default 'ref_injection_flag')

Methods Summary

setDefaults()

Subclass hook for computing defaults.

Attributes Documentation

key_class

Key for the field indicating the class of the object (str, default 'ref_source_type')

name_class

Name of the class of objects (str)

plotLabelKey

Key to use when populating plot info, ignored if empty string (str, default '')

value_compare

Value of the type_key field for objects that are stars (str, default 'DeltaFunction')

value_is_equal

Whether the value must equal value_compare to be of this class (bool, default True)

vectorKey

Key to select from data (str, default 'ref_injection_flag')

Methods Documentation

setDefaults()

Subclass hook for computing defaults.

Notes

Derived Config classes that must compute defaults rather than using the Field instances’s defaults should do so here. To correctly use inherited defaults, implementations of setDefaults must call their base class’s setDefaults.