unique#
- Miller.unique(use_symmetry: bool = False, return_index: bool = False) Union[Miller, Tuple[Miller, ndarray]][source]#
Unique vectors in
self.- Parameters:
- use_symmetry
Whether to consider equivalent vectors to compute the unique vectors. Default is
False.- return_index
Whether to return the indices of the (flattened) data where the unique entries were found. Default is
False.
- Returns:
millFlattened unique vectors.
idxIndices of the unique data in the (flattened) array.