code: def test_persyst_lay_load():
      """Test reading Persyst files using path to header file."""
      raw = read_raw_persyst(fname_lay, preload=False)
  
      # Test data import
      assert raw.info["sfreq"] == 200
      assert raw.preload is False
  
      # load raw data
      raw.load_data()
      assert raw._data.shape == (83, 847)
      assert raw.preload is True
  
      # defaults channels to EEG
      raw = raw.pick("eeg")
      assert len(raw.ch_names) == 83
  
      # no "-Ref" in channel names
      assert all(["-ref" not in ch.lower() for ch in raw.ch_names])
  
      # test with preload True
      raw = read_raw_persyst(fname_lay, preload=True)
  
file_path: mne-python/mne/io/persyst/tests/test_persyst.py
imports: import os
  import shutil
  import numpy
  import pytest
  from numpy.testing import assert_array_equal
  from mne.datasets.testing import data_path, requires_testing_data
  from mne.io import read_raw_persyst
  from mne.io.tests.test_raw import _test_raw_reader
label_desc: Use image node_id 1 for calling a global function with example usage: test_persyst_lay_load() without return types