KeyedDataSelectorAction¶
- class lsst.analysis.tools.actions.keyedData.KeyedDataSelectorAction(*args, **kw)¶
- Bases: - KeyedDataAction- Extract Vector specified by - vectorKeysfrom input KeyedData and optionally apply selectors to down select extracted vectors.- Note this action will not work with keyed scalars, see - getInputSchemafor expected schema.- Attributes Summary - Selectors for selecting rows, will be AND together ( - ConfigurableActionStructField)- Keys to extract from KeyedData and return ( - List, default- [])- Methods Summary - __call__(data, **kwargs)- Call self as a function. - Return the schema an - AnalysisActionexpects to be present in the arguments supplied to the __call__ method.- Return the schema an - AnalysisActionwill produce, if the- __call__method returns- KeyedData, otherwise this may return None.- Attributes Documentation - selectors¶
- Selectors for selecting rows, will be AND together ( - ConfigurableActionStructField)
 - vectorKeys¶
- Keys to extract from KeyedData and return ( - List, default- [])
 - Methods Documentation - __call__(data: MutableMapping[str, ndarray[Any, dtype[_ScalarType_co]] | Scalar | HealSparseMap | Tensor | Mapping], **kwargs) MutableMapping[str, ndarray[Any, dtype[_ScalarType_co]] | Scalar | HealSparseMap | Tensor | Mapping]¶
- Call self as a function. 
 - getInputSchema() Mapping]]]¶
- Return the schema an - AnalysisActionexpects to be present in the arguments supplied to the __call__ method.- Returns:
- resultKeyedDataSchema
- The schema this action requires to be present when calling this action, keys are unformatted. 
 
- result
 
 - getOutputSchema() Mapping]]]¶
- Return the schema an - AnalysisActionwill produce, if the- __call__method returns- KeyedData, otherwise this may return None.- Returns:
- resultKeyedDataSchemaor None
- The schema this action will produce when returning from call. This will be unformatted if any templates are present. Should return None if action does not return - KeyedData.
 
- result