CategoricalROISubsetState2D¶
-
class
glue.core.subset.
CategoricalROISubsetState2D
(categories, att1, att2)[source]¶ Bases:
object
A 2D subset state where both attributes are categorical.
Parameters: categories : dict
A dictionary containing for each label of one categorical component an interable of labels for the other categorical component (using sets will provide the best performance)
att1 :
ComponentID
The component ID matching the keys of the
categories
dictionaryatt2 :
ComponentID
The component ID matching the values of the
categories
dictionaryAttributes Summary
attributes
Methods Summary
copy
()to_mask
(data[, view])Attributes Documentation
-
attributes
¶
Methods Documentation
-