weldx.util.xr_is_orthogonal_matrix#

weldx.util.xr_is_orthogonal_matrix(da, dims)#

Check if matrix along specific dimensions in a DataArray is orthogonal.

TODO: make more general

Parameters
  • da (DataArray) – xarray DataArray to test

  • dims (list[str]) – list of dimensions along which to test

Returns

True if all matrices are orthogonal.

Return type

bool