DimensionError#

exception orix.base.DimensionError(this: Object3d, data: ndarray)[source]#

Bases: Exception

Error raised when an array passed to a class constructor has an incompatible shape.

Parameters:
this

An orix class with attributes dim and shape.

data

Array.