Skip to main content
  • Description
  • Removes time offset of a list of channels of an EEG file.


  • Usage
  • eegresyncchan myeegfilein.eeg myparameterfile.par myeegfileout.eeg

    with :

    • myeegfilein.eeg : input EEG file to modify (with extension).
    • myparameterfile.par : filtering parameter file (with extension).
    • myeegfileout.eeg : output EEG file (with extension).


  • Fields of parameter file and example
  • channel_offset_samples 0 0 0 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0 0 0
    0 0 0 0
    2 2 2 2 2 2 2 2 2 2
    2 2 2 2 2 2 2 2 2 2
    2 2 2 2 2 2 2 2 2 2
    2 2 2 2 2 2 2 2 2 2
    2 2 2 2 2 2 2 2 2 2
    2 2 2 2 2 2 2 2 2 2
    2 2 2 2 2
    0 0
    List of the actual time offsets in samples. One value for each channels. Offsets are substracted. The total number of flags is N+2, N being the number of recorded channels in myeegfilein.eeg file; the last 2 channels correspond to event channels.
    In this example, N=129, and channels 1 to 64 have no time offset, as channel 64 to 129 have a time offset of 2 samples. The last 2 channels (events and counter) are not modified.


  • Examples
    1. The command line below illustrates the above example :
    2. eegresyncchan eeg_1.eeg resync.par eeg_1.resync.eeg
      with
      eeg_1.eeg : the EEG file to correct.
      resync.par available to download here.
      eeg_1.resync.eeg : the modified EEG file.


  • Comments


  • Current version
  • 1.01 25-03-2011

  • History
    • 1.00 03-03-2011 (PEA) : 1st version.
    • 1.01 25-03-2011 (PEA) : fixes large file reading for 32 bits version.


  • Files
  • $ELANPATH/bin/eegresyncchan

  • See also
AttachmentSize
resync.par630 bytes