Skip to main content
  • Description
  • Conversion function for Elan EP files (.p) to NUTMEG.

  • Usage
  • nm_data = ep2nutmeg(OutFileNM, data_type, varargin)
    with :

    • OutFileNM : output NUTMEG filename (with path, no extension .mat).
    • data_type: string describing data type. May be 'eeg' or 'meg'. It defines the way to find sensor coordinates (and orientations for MEG).
    • option varargin :
      PFileName : Elan .p file name.

    output :

    • nm_struct : NUTMEG structure.


  • Fields of parameter file and example

  • Examples


  • Comments
    • Uses SPM for EEG channel coordinates.
    • Uses Nutmeg for CTF MEG sensor positions and orientations.


  • Current version
  • 1.01 11-08-2010

  • History
    • 1.00 10-08-2010 (Sarang Dalal/PEA) : first version.
    • 1.01 10-08-2010 (Sarang Dalal/PEA) : import of channel coordinates fro EEG files (with SPM ext1020.sfp template). Import of sensor positions and orientations for CTF MEG data (with Nutmeg).


  • Files
  • $ELANPATH/misc/matlab/ep2nutmeg.m
    $ELANPATH/misc/matlab/ep2mat.m

  • See also