SliceSubsetState¶
-
class
glue.core.subset.
SliceSubsetState
(reference_data, slices)[source]¶ Bases:
glue.core.subset.SubsetState
A subset defined by a set of array slices.
- Parameters
Attributes Summary
The attributes that the subset state depends on.
The data in whose space the slices are defined.
An iterable containing
slice
objects to apply to the data.Methods Summary
copy
(self)Return a copy of the subset state.
to_array
(self, data, att)to_mask
(self, data[, view])Compute the mask for this subset state.
Attributes Documentation
Methods Documentation