CategoricalROISubsetState#
- class glue.core.subset.CategoricalROISubsetState(att=None, roi=None)[source]#
Bases:
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
()Return a copy of the subset state.
from_range
(categories, att, lo, hi)to_mask
(data[, view])Compute the mask for this subset state.
Attributes Documentation
Methods Documentation