code: def _parse_header(header):
      """Parse an .avr or .mul header string into name/val pairs.
  
      The header line looks like:
          Npts= 256   TSB= 0.000 DI= 4.000000 SB= 1.000 SC= 200.0 Nchan= 27
      No consistent use of separation chars, so parsing this is a bit iffy.
  
      Parameters
      ----------
      header : str
          The first line of the file.
  
      Returns
      -------
      fields : dict
          The parsed header fields
      """
      parts = header.split()  # Splits on one or more spaces
      name_val_pairs = zip(parts[::2], parts[1::2])
      return dict(
          (name.replace("=", ""), val) for name, val in name_val_pairs
      )
  
file_path: mne-python/mne/io/besa/besa.py
imports: from collections import OrderedDict
  from pathlib import Path
  import numpy
  from ..._fiff.meas_info import create_info
  from ...evoked import EvokedArray
  from ...utils import fill_doc, logger, verbose
label_desc: Use image node_id 4 for calling a global function with example usage: _parse_header(header) and returns: dict