InequalitySubsetState¶
-
class
glue.core.subset.
InequalitySubsetState
(left, right, operator)[source]¶ Bases:
glue.core.subset.SubsetState
A subset defined by a mathematical comparison of a attribute values to a reference value or attribute values.
- Parameters
- leftfloat or ~glue.core.component_id.ComponentID or str
The value or component on the left hand side of the comparison.
- rightfloat or ~glue.core.component_id.ComponentID or str
The value or component on the right hand side of the comparison.
- operatoroperator
The comparison operator (from the
operator
module)
Attributes Summary
The value or component on the left hand side of the comparison.
The comparison operator (from the
operator
module)The value or component on the right hand side of the comparison.
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