Skip to main content
  • Description
  • Concatenates .eeg files having the same number of electrodes and the same sampling frequency, but not necessarily the same gain. In case of .eeg files having different gain factors, all numerical data are scaled to correspond to the gain factors of the first .eeg file.

  • Usage
  • eegconcat [+pos]
    with :

    • option :
      +pos : concatenates event files associated to EEG files. If present, for each EEG file, the program asks for a .pos event file (with extension). If an EEG file has n o event file associated, press the Enter key when the program asks for the event file. If omitted, no event file is asked for.


  • Interactive input
  • EEG file to concatenate (name without extension, hit Return to stop concatenation):
    myfile1
    EEG file to concatenate (name without extension, hit Return to stop concatenation):
    myfile2
    EEG file to concatenate (name without extension, hit Return to stop concatenation):
    Output EEG file (name without extension):
    mybigfile



    In this example mybigfile.eeg contains the data of myfile1.eeg followed by the data of myfile2.eeg.

  • Example

  • Comments
    1. WARNING : this program doesn't check for the electrode names and numbers (in elec.dat).


  • Current version
  • 1.10 23-09-2010

  • History
    • 1.06 17-09-2008 (PEA) : add +pos option to concatenate event files. Suppress maximum number of files to concatenate. Read/write EEG files by blocks of samples instead of one sample by one sample.
    • 1.07 05-12-2008 (PEA) : bug fix : looking for maximum/minimum values.
    • 1.08 le 10-09-2009 (PEA) : bug fix : storing maximum/minimum values.
    • 1.09 15-09-2009 (PEA) : bug fix : memory allocation.
    • 1.10 23-09-2010 (PEA) : update to use cmake and free release of Elan


  • Files
  • $ELANPATH/bin/eegconcat

  • See also