CategoricalROISubsetState2D¶
-
class
glue.core.subset.CategoricalROISubsetState2D(categories, att1, att2)[source]¶ Bases:
objectA 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 :
ComponentIDThe component ID matching the keys of the
categoriesdictionaryatt2 :
ComponentIDThe component ID matching the values of the
categoriesdictionaryAttributes Summary
attributesMethods Summary
copy()to_mask(data[, view])Attributes Documentation
-
attributes¶
Methods Documentation
-