AttributeWithInfo#
- class glue_qt.viewers.custom.custom_viewer.AttributeWithInfo(shape, dtype=None, buffer=None, offset=0, strides=None, order=None)[source]#
Bases:
ndarrayAn array subclass wrapping a Component of a dataset It is an array with the following additional attributes:
idcontains the ComponentID or string name of the Component, andcategoriesis an array or None. For categorical Components, it contains the distinct categories which are integer-encoded in the AttributeWithInfoMethods Summary
from_layer(layer, cid[, view])Build an AttributeWithInfo out of a subset or dataset.
make(id, values[, categories])Methods Documentation