from_matrix#

classmethod Orientation.from_matrix(matrix: ndarray, symmetry: Optional[Symmetry] = None) Orientation[source]#

Return orientation(s) from orientation matrices [Rowenhorst et al., 2015].

Parameters:
matrix

Array of orientation matrices.

symmetry

Symmetry of orientation(s). If not given (default), no symmetry is set.

Returns:
ori

Orientations.