code: def read_evoked_fieldtrip(
      fname, info, comment=None, data_name="data"
  ):
      """Load evoked data from a FieldTrip timelocked structure.
  
      This function expects to find timelocked data in the structure data_name is
      pointing at.
  
      .. warning:: FieldTrip does not normally store the original information
                   concerning channel location, orientation, type etc. It is
                   therefore **highly recommended** to provide the info field.
                   This can be obtained by reading the original raw data file
                   with MNE functions (without preload). The returned object
                   contains the necessary info field.
  
      Parameters
      ----------
      fname : path-like
          Path and filename of the ``.mat`` file containing the data.
      info : dict or None
          The info dict of the raw data file corresponding to the data to import.
          If this is set to None, limited information is extracted from the
          FieldTrip structure.
      comment : str
          Comment on dataset. Can be the condition.
      data_name : str
          Name of heading dict/ variable name under which the data was originally
          saved in MATLAB.
  
      Returns
      -------
      evoked : instance of EvokedArray
          An EvokedArray containing the loaded data.
      """
      read_mat = _import_pymatreader_funcs("FieldTrip I/O")
      ft_struct = read_mat(
          fname, ignore_fields=["previous"], variable_names=[data_name]
      )
      ft_struct = ft_struct[data_name]
  
      _validate_ft_struct(ft_struct)
  
      info = _create_info(ft_struct, info)  # create info structure
      data_evoked = ft_struct["avg"]  # create evoked data
  
      evoked = EvokedArray(data_evoked, info, comment=comment)
      return evoked
  
file_path: mne-python/mne/io/fieldtrip/fieldtrip.py
imports: import numpy
  from ...epochs import EpochsArray
  from ...evoked import EvokedArray
  from ...utils import _check_fname, _import_pymatreader_funcs
  from ..array.array import RawArray
  from .utils import _create_event_metadata, _create_events, _create_info, _set_tmin, _validate_ft_struct
label_desc: Use image node_id 3 for calling a global function with example usage: read_evoked_fieldtrip(fname, info, comment, data_name) and returns: evoked