RangeSelector¶
- class lsst.analysis.tools.actions.vector.RangeSelector(*args, **kw)¶
Bases:
SelectorBase
Selects rows within a range, inclusive of min/exclusive of max.
Attributes Summary
The maximum value (exclusive) (
float
, defaultinf
)The minimum value (inclusive) (
float
, default-1.7976931348623157e+308
)Key to use when populating plot info, ignored if empty string (
str
, default''
)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
AnalysisAction
expects to be present in the arguments supplied to the __call__ method.Attributes Documentation
Methods Documentation
- __call__(data: MutableMapping[str, ndarray[Any, dtype[_ScalarType_co]] | Scalar | HealSparseMap | Tensor | Mapping], **kwargs) ndarray[Any, dtype[_ScalarType_co]] ¶
Return a mask of rows with values within the specified range.
- Parameters:
- data
KeyedData
- data
- Returns:
- result
Vector
A mask of the rows with values within the specified range.
- result
- getInputSchema() Mapping]]] ¶
Return the schema an
AnalysisAction
expects 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