Skip to main content
  • Description
  • Compute mean value of temporal window on each single trials. Values are written in text files (one file containing all single trials for each event code).


  • Usage
  • eegval myeegfilein.eeg myeventfile.pos myparameterfile.par [-e] [-c] [-dc]

    with :

    • myeegfilein.eeg : input EEG file (with extension).
    • myeventfile.pos : event file to process (with extension).
    • myparameterfile.par : parameter file (with extension) containing parameters for value extraction.
    • options :
      • -e : omit column titles in output file.
      • -c : compute mean of squares.
      • -dc : substract baseline mean value before square.


  • Fields of parameter file and example
  • fileprefix myfilename Prefix of the output text files (suffix .single.val).
    nb_eventcode 2 Number of event codes to process.
    list_eventcode 2 5 List of the event codes to process.
    prestim_nbsample 400 800 List of the numbers of samples in the prestimulus period; one value for each event code.
    poststim_nbsample 1000 1200 List of the numbers of samples in the poststimulus period; one value for each event code; the total number of samples of the analysis is prestim_nbsample + poststim_nbsample + 1, the extra sample corresponds to the event itself
    ep_channel_flag 1 1 0 1 0 0 0 List of the channels to compute: 1/0 for selected/unselected channels; the total number of flags is N+2, N being the number of recorded channels in myeegfilein.eeg file; the last 2 flags should be set to 0.
    In this example, N=5, and only channels number 1, 2, 4 will be computed and stored in the output text files.
    single_lat_min 100 200 Value in msec of the beginning of the window to average for each event.
    single_lat_max 150 300 Value in msec of the end of the window to average for each event.
    single_base_min -100 -100 Value in msec of the beginning of the baseline for each event (even if it is not used). The baseline is substracted only in case of -dc option is set.
    single_base_max -50 -50 Value in msec of the end of the baseline for each event (even if it is not used). The baseline is substracted only in case of -dc option is set.


  • Example

  • Comments


  • Current version
  • 3.13 24-09-2010

  • History
    • 3.12 13-01-2004 (PEA) : 1st version with documentation.
    • 3.13 24-09-2010 (PEA) : update to use cmake and free release of Elan. Remove all static allocations. Change messages language to english.


  • Files
  • $ELANPATH/bin/eegval

  • See also