code: def test_otp_real():
      """Test OTP on real data."""
      for fname in (erm_fname, triux_fname):
          raw = read_raw_fif(fname, allow_maxshield="yes").crop(0, 1)
          raw.load_data().pick(raw.ch_names[:10])
          raw_otp = oversampled_temporal_projection(raw, 1.0)
          picks = _pick_data_channels(raw.info)
          reduction = np.linalg.norm(
              raw[picks][0], axis=-1
          ) / np.linalg.norm(raw_otp[picks][0], axis=-1)
          assert reduction.min() > 1
  
      # Handling of acquisition skips
      raw = read_raw_fif(skip_fname, preload=True)
      raw.pick(raw.ch_names[:10])
      raw_otp = oversampled_temporal_projection(raw, duration=1.0)
  
file_path: mne-python/mne/preprocessing/tests/test_otp.py
imports: import numpy
  import pytest
  from numpy.fft import rfft, rfftfreq
  from mne import create_info
  from mne._fiff.pick import _pick_data_channels
  from mne.datasets import testing
  from mne.io import RawArray, read_raw_fif
  from mne.preprocessing import oversampled_temporal_projection
  from mne.utils import catch_logging
label_desc: Use image node_id 2 for calling a global function with example usage: test_otp_real() without return types