code: def _get_sfreq_from_ascii(rec_info):
      """Get sampling frequency from Eyelink ASCII file.
  
      Parameters
      ----------
      rec_info : list
          the first list in raw_extras["event_lines"]['SAMPLES'].
          The sfreq occurs after RATE: i.e. [..., RATE, 1000, ...].
  
      Returns
      -------
      sfreq : float
      """
      return float(rec_info[rec_info.index("RATE") + 1])
  
imports: import re
  from datetime import datetime, timedelta, timezone
  import numpy
  from ..._fiff.constants import FIFF
  from ..._fiff.meas_info import create_info
  from ...annotations import Annotations
  from ...utils import _check_pandas_installed, logger, warn
label_desc: Use image node_id 7 for calling a global function with example usage: _get_sfreq_from_ascii(rec_info) and returns: float