code: def test_set_montage_artinis_fsaverage(kind):
      """Test that artinis montages match fsaverage's head<->MRI transform."""
      # Compare OctaMon and Brite23 to fsaverage
      trans_fs, _ = _get_trans("fsaverage")
      montage = make_standard_montage(f"artinis-{kind}")
      trans = compute_native_head_t(montage)
      assert trans["to"] == trans_fs["to"]
      assert trans["from"] == trans_fs["from"]
      translation = 1000 * np.linalg.norm(
          trans["trans"][:3, 3] - trans_fs["trans"][:3, 3]
      )
      assert 0 < translation < 1  # mm
      rotation = np.rad2deg(
          _angle_between_quats(
              rot_to_quat(trans["trans"][:3, :3]),
              rot_to_quat(trans_fs["trans"][:3, :3]),
          )
      )
      assert 0 < rotation < 1
  
file_path: mne-python/mne/channels/tests/test_standard_montage.py
imports: import numpy
  import pytest
  from numpy.testing import assert_allclose, assert_array_almost_equal, assert_raises
  from mne import create_info
  from mne._fiff._digitization import _get_dig_eeg, _get_fid_coords
  from mne._fiff.constants import FIFF
  from mne.channels import compute_native_head_t, make_standard_montage
  from mne.channels.montage import HEAD_SIZE_DEFAULT, get_builtin_montages
  from mne.io import RawArray
  from mne.preprocessing.nirs import beer_lambert_law, optical_density
  from mne.transforms import _angle_between_quats, _get_trans, rot_to_quat
label_desc: Use image node_id 7 for calling a global function with example usage: test_set_montage_artinis_fsaverage(kind) without return types