CategoricalROISubsetState¶
-
class
glue.core.subset.
CategoricalROISubsetState
(att=None, roi=None)[source]¶ Bases:
glue.core.subset.SubsetState
A subset defined as the set of values for a categorical data attribute that fall inside a categorical region of interest (ROI).
- Parameters
- att
ComponentID
The categorical data attribute used for the subset.
- roi
CategoricalROI
The categorical region of interest.
- att
Attributes Summary
The categorical data attribute used for the subset.
The attributes that the subset state depends on.
The categorical region of interest.
Methods Summary
copy
(self)Return a copy of the subset state.
from_range
(categories, att, lo, hi)to_mask
(self, data[, view])Compute the mask for this subset state.
Attributes Documentation
Methods Documentation