code: def read_header(fname):
      """Read the header of sample-blinks.txt"""
      with gzip.open(fname, "rt") as f:
          content = f.readline().split()
          return content[:-1], int(content[-1])
  
file_path: pyRiemann/examples/artifacts/plot_correct_ajdc_EEG.py
imports: import gzip
  import numpy
  from scipy.signal import welch
  from matplotlib import pyplot
  from mne import create_info
  from mne.io import RawArray
  from mne.viz import plot_topomap
  from mne.preprocessing import ICA
  from pyriemann.spatialfilters import AJDC
  from pyriemann.utils.viz import plot_cospectra
label_desc: Use image node_id 1 for calling a global function with example usage: read_header(fname) and returns: content,  int