code: def test_reference_trx_file_info_identical():
      tuple_1 = get_reference_info(FILEPATH_DIX["gs.trx"])
      tuple_2 = get_reference_info(FILEPATH_DIX["gs.nii"])
      affine_1, dimensions_1, voxel_sizes_1, voxel_order_1 = tuple_1
      affine_2, dimensions_2, voxel_sizes_2, voxel_order_2 = tuple_2
  
      assert_allclose(affine_1, affine_2)
      assert_array_equal(dimensions_1, dimensions_2)
      assert_allclose(voxel_sizes_1, voxel_sizes_2)
      assert voxel_order_1 == voxel_order_2
  
imports: import tempfile
  from urllib.error import URLError, HTTPError
  import pytest
  import nibabel
  import numpy
  from numpy.testing import assert_allclose, assert_array_equal, assert_
  import trx.trx_file_memmap
  from dipy.data import get_fnames
  from dipy.io.streamline import load_tractogram
  from dipy.io.utils import create_nifti_header, decfa, decfa_to_float, get_reference_info, is_reference_info_valid, read_img_arr_or_path
  from dipy.testing.decorators import set_random_number_generator
label_desc: Use image node_id 11 for calling a global function with example usage: test_reference_trx_file_info_identical() without return types