code: def test_nirsport_v1_w_sat():
      """Test NIRSport1 file with NaNs but not in channel of interest."""
      raw = read_raw_nirx(nirsport1_w_sat)
  
      # Test data import
      data = raw.get_data()
      assert data.shape == (26, 176)
      assert raw.info["sfreq"] == 10.416667
      assert np.sum(np.isnan(data)) == 0
  
      raw = read_raw_nirx(nirsport1_w_sat, saturated="nan")
      data = raw.get_data()
      assert data.shape == (26, 176)
      assert np.sum(np.isnan(data)) == 0
  
      raw = read_raw_nirx(nirsport1_w_sat, saturated="annotate")
      data = raw.get_data()
      assert data.shape == (26, 176)
      assert np.sum(np.isnan(data)) == 0
  
imports: import datetime
  import os
  import shutil
  import numpy
  import pytest
  from numpy.testing import assert_allclose, assert_array_equal
  from mne import pick_types
  from mne._fiff.constants import FIFF
  from mne.datasets.testing import data_path, requires_testing_data
  from mne.io import read_raw_nirx
  from mne.io.tests.test_raw import _test_raw_reader
  from mne.preprocessing import annotate_nan
  from mne.preprocessing.nirs import _reorder_nirx, short_channels, source_detector_distances
  from mne.transforms import _get_trans, apply_trans
label_desc: Use image node_id 4 for calling a global function with example usage: test_nirsport_v1_w_sat() without return types