gustaf.helpers.data.Unique2DFloats#
- class gustaf.helpers.data.Unique2DFloats(values, ids, inverse, intersection)#
Bases:
tuple
namedtuple to hold unique information of float type arrays. Note that for float types, “close enough” might be a better name than unique. This way, all tracked arrays, as long as they are 2D, have a dot separated syntax to access unique info. For example, mesh.unique_vertices.ids.
Methods
Attributes
(n, d) np.ndarray Field number 1
(m) list of list given original array's index, returns overlapping arrays, including itself.
(n, d) np.ndarray Field number 2
(n, d) np.ndarray Field number 0