Skip to main content
  • Description
  • Computes sum of RMS values across trials from an EEG file.


  • Usage
  • eegrms myeegfilein.eeg myeventfile.pos myparameterfile.par [+v]

    with :

    • myeegfilein.eeg : input EEG file (with extension).
    • myeventfile.pos : event file to process (with extension).
    • myparameterfile.par : parameter file (with extension) containing parameters.
    • options :
      • +v : verbose mode on. If omitted, verbose mode is off.


  • Fields of parameter file and example
  • fileprefix myfilename.rms Prefix of the output files.
    nb_eventcode 3 Number of event codes to process.
    list_eventcode 10 12 19 List of the event codes to process.
    prestim_nbsample 500 500 500 List of the numbers of samples in the prestimulus period; one value for each event code.
    poststim_nbsample 1000 1000 1000 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 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 files.
    baseline_eventcode 2 2 List of the event codes used to compute the baseline.
    0: no baseline correction (default),
    ≠0: event code on which baseline will be computed.
    In this example, the baseline for event code 2 will be computed from event code 2, and the baseline of event code 5 from event code 2.
    This field is optional.
    baseline_msec_start -200 -200 List of the baseline start latencies (in ms); one value for each event code; required only if baseline_eventcode≠0.
    If omitted and baseline_eventcode≠0, the baseline value is computed on the whole epoch.
    baseline_msec_stop -50 -50 List of the baseline stop latencies (in ms); one value for each event code; required only if baseline_eventcode≠0.
    If omitted and baseline_eventcode≠0, the baseline value is computed on the whole epoch.
    erpa_view 4 Value stored in all output .p file. It is used by erpa to set the default mapping view (see eegavg).
    This field is optional. If omitted, it is set to 0, and erpa default will be top view.
    erpa_positivity_up Value stored in all output .p file to set the default upward/downward positivity orientation for curve display (by erpa).
    -1 (positivity down) or 1 (positivity up)
    This field is optional. If omitted, erpa will display curve with positivity down.


  • Example

  • Comments


  • Current version
  • 1.13 27-09-2010

  • History
    • 1.12 12-01-2004 (PEA/CTB) : 1st documented version.
    • 1.13 27-09-2010 (PEA) : update to use cmake and free release of Elan. Remove all static allocations. Change messages language to english.


  • Files
  • $ELANPATH/bin/eegrms

  • See also
  • eegavg