RangeSubsetState¶
-
class
glue.core.subset.
RangeSubsetState
(lo, hi, att=None)[source]¶ Bases:
glue.core.subset.SubsetState
A subset defined as the set of values inside a range.
The range is defined as being inclusive (that is, values equal to the lower or upper bounds are considered to be inside the subset).
- Parameters
- lofloat
The lower limit of the range.
- hifloat
The upper limit of the range.
- att
ComponentID
The attribute being used for the subset.
Attributes Summary
The attribute being used for the subset.
The attributes that the subset state depends on.
The upper limit of the range.
The lower limit of the range.
Methods Summary
copy
(self)Return a copy of the subset state.
to_mask
(self, data[, view])Compute the mask for this subset state.
Attributes Documentation
Methods Documentation