RangeSelector¶
- class lsst.analysis.tools.actions.vector.RangeSelector(*args, **kw)¶
- Bases: - VectorAction- Selects rows within a range, inclusive of min/exclusive of max. - Attributes Summary - The maximum value ( - float, default- inf)- The minimum value ( - float, default- -1.7976931348623157e+308)- Key to select from data ( - str)- Methods Summary - __call__(data, **kwargs)- Return a mask of rows with values within the specified range. - Return the schema an - AnalysisActionexpects to be present in the arguments supplied to the __call__ method.- Attributes Documentation - Methods Documentation - __call__(data: MutableMapping[str, ndarray[Any, dtype[ScalarType]] | Scalar | HealSparseMap | Tensor], **kwargs) ndarray[Any, dtype[ScalarType]]¶
- Return a mask of rows with values within the specified range. - Parameters:
- dataKeyedData
 
- data
- Returns:
- resultVector
- A mask of the rows with values within the specified range. 
 
- result
 
 - getInputSchema() Tensor]]]¶
- 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