code: def test2():
      Z = np.random.standard_normal((3, 3))
      GL_Z = MG.GLR(Z, "xyz")
  
      pytest.raises(ValueError, MG.SO, Z, "zxy")
  
      detZ = np.linalg.det(Z)
      if detZ < 0:
          W = -Z
      else:
          W = Z
      f = np.fabs(detZ) ** (1 / 3.0)
      SL_Z = MG.SLR(W / f, "xyz")
  
      orth = expm(Z - Z.T)
      O_Z = MG.O(orth, "xyz")
  
file_path: nipy/nipy/core/reference/tests/test_matrix_groups.py
imports: import numpy
  import pytest
  from scipy.linalg import expm
  import nipy.core.reference.tests.matrix_groups
  from nipy.core.api import ArrayCoordMap
label_desc: Use image node_id 2 for calling a global function with example usage: test2() without return types