code: def _get_data():
      """Get data."""
      raw = read_raw_fif(raw_fname, verbose=False, preload=True)
      raw.set_eeg_reference(projection=True)
      events = read_events(event_name)
      picks = pick_types(
          raw.info,
          meg=False,
          eeg=True,
          stim=False,
          ecg=False,
          eog=False,
          exclude="bads",
      )[::8]
      return raw, events, picks
  
file_path: mne-python/mne/preprocessing/tests/test_xdawn.py
imports: from pathlib import Path
  import numpy
  import pytest
  from numpy.testing import assert_allclose, assert_array_almost_equal, assert_array_equal
  from scipy import stats
  from mne import Epochs, EpochsArray, compute_raw_covariance, create_info, pick_types, read_events
  from mne.decoding import Vectorizer
  from mne.fixes import _safe_svd
  from mne.io import read_raw_fif
  from mne.preprocessing.xdawn import Xdawn, _XdawnTransformer
label_desc: Use image node_id 1 for calling a global function with example usage: _get_data() and returns: raw,  events,  picks