CompositeSubsetState

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

Bases: glue.core.subset.SubsetState

The base class for combinations of subset states.

Attributes Summary

attributes

The attributes that the subset state depends on.

op

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

attributes

The attributes that the subset state depends on.

op = None

Methods Documentation

copy(self)[source]

Return a copy of the subset state.

to_mask(self, data, view=None)[source]

Compute the mask for this subset state.

Parameters
dataData

The dataset to compute the mask for.

view

Any object that returns a valid view for a Numpy array.