code: def test_triux():
      """Test TRIUX system support."""
      raw = read_crop(tri_fname, (0, 0.999))
      _assert_mag_coil_type(raw.info, FIFF.FIFFV_COIL_VV_MAG_T1)
      assert_allclose(raw.info["chs"][2]["cal"], 1.33e-10, rtol=1e-6)
      # standard
      with use_coil_def(elekta_def_fname):
          sss_py = maxwell_filter(
              raw, coord_frame="meg", regularize=None
          )
      _assert_mag_coil_type(sss_py.info, FIFF.FIFFV_COIL_VV_MAG_T3)
      assert_meg_snr(sss_py, read_crop(tri_sss_fname), 37, 700)
      # cross-talk
      sss_py = maxwell_filter(
          raw,
          coord_frame="meg",
          regularize=None,
          cross_talk=tri_ctc_fname,
      )
      assert_meg_snr(sss_py, read_crop(tri_sss_ctc_fname), 31, 250)
      # fine cal
      sss_py = maxwell_filter(
          raw,
          coord_frame="meg",
          regularize=None,
          calibration=tri_cal_fname,
      )
      assert_meg_snr(sss_py, read_crop(tri_sss_cal_fname), 5, 100)
      # ctc+cal
      sss_py = maxwell_filter(
          raw,
          coord_frame="meg",
          regularize=None,
          calibration=tri_cal_fname,
          cross_talk=tri_ctc_fname,
      )
      assert_meg_snr(sss_py, read_crop(tri_sss_ctc_cal_fname), 5, 100)
      # regularization
      sss_py = maxwell_filter(raw, coord_frame="meg", regularize="in")
      sss_mf = read_crop(tri_sss_reg_fname)
      assert_meg_snr(sss_py, sss_mf, 0.6, 9)
      _check_reg_match(sss_py, sss_mf, 1)
      # all three
      sss_py = maxwell_filter(
          raw,
          coord_frame="meg",
          regularize="in",
          calibration=tri_cal_fname,
          cross_talk=tri_ctc_fname,
      )
      sss_mf = read_crop(tri_sss_ctc_cal_reg_in_fname)
      assert_meg_snr(sss_py, sss_mf, 0.6, 9)
      _check_reg_match(sss_py, sss_mf, 1)
      # tSSS
      raw = read_crop(tri_fname).fix_mag_coil_types()
      with use_coil_def(elekta_def_fname):
          sss_py = maxwell_filter(
              raw,
              coord_frame="meg",
              regularize=None,
              st_duration=4.0,
              verbose=True,
          )
      assert_meg_snr(sss_py, read_crop(tri_sss_st4_fname), 700.0, 1600)
  
imports: import pathlib
  import re
  from contextlib import contextmanager
  from pathlib import Path
  import numpy
  import pytest
  from numpy.testing import assert_allclose, assert_array_equal
  from scipy import sparse
  from scipy.special import sph_harm
  import mne
  from mne import compute_raw_covariance, concatenate_raws, pick_info, pick_types
  from mne._fiff.constants import FIFF
  from mne.annotations import _annotations_starts_stops
  from mne.chpi import filter_chpi, read_head_pos
  from mne.datasets import testing
  from mne.forward import _prep_meg_channels, use_coil_def
  from mne.io import BaseRaw, read_info, read_raw_bti, read_raw_ctf, read_raw_fif, read_raw_kit
  from mne.preprocessing import annotate_amplitude, annotate_movement, compute_maxwell_basis, find_bad_channels_maxwell, maxwell_filter, maxwell_filter_prepare_emptyroom
  from mne.preprocessing.maxwell import _bases_complex_to_real, _bases_real_to_complex, _get_n_moments, _prep_mf_coils, _sh_complex_to_real, _sh_negate, _sh_real_to_complex, _sss_basis_basic, _trans_sss_basis
  from mne.rank import _compute_rank_int, _get_rank_sss, compute_rank
  from mne.utils import _record_warnings, assert_meg_snr, buggy_mkl_svd, catch_logging, object_diff, use_log_level
label_desc: Use image node_id 23 for calling a global function with example usage: test_triux() without return types