code: def vars():
      d_names = list("ijkl")
      xyzs = "x=L->R", "y=P->A", "z=I->S"
      mni_xyzs = ["mni-" + suff for suff in xyzs]
      scanner_xyzs = ["scanner-" + suff for suff in xyzs]
      unknown_xyzs = ["unknown-" + suff for suff in xyzs]
      aligned_xyzs = ["aligned-" + suff for suff in xyzs]
      talairach_xyzs = ["talairach-" + suff for suff in xyzs]
      r_names = mni_xyzs + ["t"]
      d_cs_r3 = CS(d_names[:3], "voxels")
      d_cs_r4 = CS(d_names[:4], "voxels")
      r_cs_r3 = CS(r_names[:3], "mni")
      r_cs_r4 = CS(r_names[:4], "mni")
      return locals()
  
file_path: nipy/nipy/core/reference/tests/test_spaces.py
imports: import numpy
  import pytest
  from nibabel.affines import from_matvec
  from numpy.testing import assert_array_equal
  from ...image.image import Image
  from ..coordinate_map import AffineTransform, CoordinateMap
  from ..coordinate_system import CoordinateSystem
  from ..coordinate_system import CoordSysMakerError
  from ..spaces import AffineError, AxesError, SpaceError, SpaceTypeError, XYZSpace, get_world_cs, is_xyz_affable, is_xyz_space, known_space, known_spaces, mni_csm, mni_space, vox2aligned, vox2mni, vox2scanner, vox2talairach, vox2unknown, xyz_affine, xyz_order
label_desc: Use image node_id 1 for calling a global function with example usage: vars() and returns: locals