Skip to main content
  • Description
  • Conversion tool for ASCII (text) files to EEG format. ASCII file must contain multiplexed data where each colunm correspond to a channel and each line a temporal sample.

  • Usage
  • ascii2eeg myasciifile myeegfile myparfile

    with :

    • myasciifile : ASCII eeg filename (with extension).
    • myeegfile : output EEG file (no extension).
    • myparfile : text file containing conversion parameters (contains sampling frequency, electrode list).


  • Fields of parameter file and example
  • multiplying_coef 0.25 Multiplying coefficient to apply to data.
    sampling_frequency 128 Sampling frequency of the signal (Hz).
    electrodes
    Fp1.18
    Fp2.19
    F7.13
    F3.14
    Fz.15
    F4.16
    F8.17
    T3.8
    C3.9
    Cz.10
    C4.11
    T4.12
    T5.3
    P3.4
    Pz.5
    P4.6
    T6.7
    O1.1
    O2.2
    A1.-1
    A2.-1
    Foto.-1
    Output channel name list :

    Names and numbers corresponding to elec.dat definition for converted channels, or name and -1 if the channel is not defined in elec.dat.

    The order should be the same as in the input ASCII file.


  • Example

  • Comment
    • Events may be added by converting event files to Elan event file (.pos).


  • Current version
  • 1.03 23-11-2012

  • History
    • 1.00 30-08-2005 (PEA) : 1st version.
    • 1.01 13-08-2007 (PEA) : minor modification.
    • 1.02 22-11-2012 (PEA) : fixes an error when writing data (bad byte order PC-style).
    • 1.03 23-11-2012 (PEA) : changes multipliying_coef to multiplying_coef field of parameter file.


  • Files
  • $ELANPATH/bin/ascii2eeg
    $ELANPATH/bin64/ascii2eeg

  • See also