InvertState#
- class glue.core.subset.InvertState(state1, state2=None)[source]#
Bases:
CompositeSubsetState
An inverted subset state.
Values inside the original subset are now considered outside, and vice-versa. The original subset state can be accessed using the attribute
state1
.Methods Summary
to_mask
(data[, view])Compute the mask for this subset state.
Methods Documentation