CategoricalROISubsetState#
- class glue.core.subset.CategoricalROISubsetState(att=None, roi=None)#
Bases:
SubsetStateA 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
- att#
The categorical data attribute used for the subset.
- attributes#
- roi#
The categorical region of interest.
Methods Documentation
- copy()#
Return a copy of the subset state.
- static from_range(categories, att, lo, hi)#