SkyObjectSelector¶
- class lsst.analysis.tools.actions.vector.SkyObjectSelector(*args, **kw)¶
 Bases:
FlagSelectorSelects sky objects in the given band(s).
Attributes Summary
The bands to apply the flags in, takes precedence if band supplied in kwargs (
List, default['i'])Names of the flag columns to select on when False (
List, default[])Names of the flag columns to select on when True (
List, default[])Methods Summary
__call__(data, **kwargs)Select on the given flags
Return the schema an
AnalysisActionexpects to be present in the arguments supplied to the __call__ method.Subclass hook for computing defaults.
Attributes Documentation
- bands¶
 The bands to apply the flags in, takes precedence if band supplied in kwargs (
List, default['i'])
- selectWhenFalse¶
 Names of the flag columns to select on when False (
List, default[])
- selectWhenTrue¶
 Names of the flag columns to select on when True (
List, default[])
Methods Documentation
- __call__(data: MutableMapping[str, ndarray[Any, dtype[ScalarType]] | Scalar | HealSparseMap], **kwargs) ndarray[Any, dtype[ScalarType]]¶
 Select on the given flags
- Parameters:
 - data
KeyedData 
- data
 - Returns:
 - result
Vector A mask of the objects that satisfy the given flag cuts.
- result
 
Notes
Uses the columns in selectWhenFalse and selectWhenTrue to decide which columns to select on in each circumstance.
- getInputSchema() HealSparseMap]]]¶
 Return the schema an
AnalysisActionexpects to be present in the arguments supplied to the __call__ method.- Returns:
 - result
KeyedDataSchema The schema this action requires to be present when calling this action, keys are unformatted.
- result