OrState

class glue.core.subset.OrState(state1, state2=None)[source]

Bases: glue.core.subset.CompositeSubsetState

An ‘or’ logical combination of subset states.

The two states can be accessed using the attributes state1 and state2.

Methods Summary

op()

or_(a, b) – Same as a | b.

Methods Documentation

op()

or_(a, b) – Same as a | b.