code: def test_boxy_load():
      """Test reading BOXY files."""
      raw = read_raw_boxy(boxy_0_40, verbose=True)
      assert raw.info["sfreq"] == 62.5
      _assert_ppod(raw, p_pod_0_40)
  
      # Grab our different data types.
      mne_ph = raw.copy().pick(picks="fnirs_fd_phase")
      mne_dc = raw.copy().pick(picks="fnirs_cw_amplitude")
      mne_ac = raw.copy().pick(picks="fnirs_fd_ac_amplitude")
  
      # Check channel names.
      first_chans = [
          "S1_D1",
          "S2_D1",
          "S3_D1",
          "S4_D1",
          "S5_D1",
          "S6_D1",
          "S7_D1",
          "S8_D1",
          "S9_D1",
          "S10_D1",
      ]
      last_chans = [
          "S1_D8",
          "S2_D8",
          "S3_D8",
          "S4_D8",
          "S5_D8",
          "S6_D8",
          "S7_D8",
          "S8_D8",
          "S9_D8",
          "S10_D8",
      ]
  
      assert mne_dc.info["ch_names"][:10] == [
          i_chan + " " + "DC" for i_chan in first_chans
      ]
      assert mne_ac.info["ch_names"][:10] == [
          i_chan + " " + "AC" for i_chan in first_chans
      ]
      assert mne_ph.info["ch_names"][:10] == [
          i_chan + " " + "Ph" for i_chan in first_chans
      ]
  
      assert mne_dc.info["ch_names"][70::] == [
          i_chan + " " + "DC" for i_chan in last_chans
      ]
      assert mne_ac.info["ch_names"][70::] == [
          i_chan + " " + "AC" for i_chan in last_chans
      ]
      assert mne_ph.info["ch_names"][70::] == [
          i_chan + " " + "Ph" for i_chan in last_chans
      ]
  
      # Since this data set has no 'digaux' for creating trigger annotations,
      # let's make sure our Raw object has no annotations.
      assert len(raw.annotations) == 0
  
file_path: mne-python/mne/io/boxy/tests/test_boxy.py
imports: import numpy
  import pytest
  import scipy.io
  from numpy.testing import assert_allclose, assert_array_equal, assert_array_less
  from mne import pick_types
  from mne.datasets import testing
  from mne.io import read_raw_boxy
  from mne.io.tests.test_raw import _test_raw_reader
label_desc: Use image node_id 2 for calling a global function with example usage: test_boxy_load() without return types