code: def _fil_sensorpos(raw_test, raw_mat):
      """Test the sensor positions/orientations."""
      test_list, test_inds = _get_channels_with_positions(raw_test.info)
      grad_list = raw_mat["coil_label"]
      grad_inds = _match_str(test_list, grad_list)
  
      assert len(grad_inds) == len(
          test_inds
      ), "Number of channels with position data in RAW does not match .mat file!"
  
      mat_pos = raw_mat["coil_pos"][grad_inds, :]
      mat_ori = raw_mat["coil_ori"][grad_inds, :]
      _, sf1 = _get_pos_units(mat_pos)
  
      test_pos = empty((len(test_inds), 3))
      test_ori = empty((len(test_inds), 3))
      for i, ind in enumerate(test_inds):
          test_pos[i, :] = raw_test.info["chs"][ind]["loc"][0:3]
          test_ori[i, :] = raw_test.info["chs"][ind]["loc"][-3:]
      _, sf2 = _get_pos_units(test_pos)
  
      assert_array_almost_equal(test_pos / sf2, mat_pos / sf1)
      assert_array_almost_equal(test_ori, mat_ori)
  
file_path: mne-python/mne/io/fil/tests/test_fil.py
imports: import shutil
  from os import remove
  import pytest
  import scipy.io
  from numpy import array, empty, isnan
  from numpy.testing import assert_array_almost_equal, assert_array_equal
  from mne import pick_types
  from mne.datasets import testing
  from mne.io import read_raw_fil
  from mne.io.fil.sensors import _get_pos_units
label_desc: Use image node_id 6 for calling a global function with example usage: _fil_sensorpos(raw_test, raw_mat) without return types