Skip to main content
  • Description
  • Creates a truncated .eeg file.

  • Usage
  • eegcut myeegfilein.eeg myeegfileout.eeg samples_nb
    or
    eegcut myeegfilein.eeg myeegfileout.eeg 1st_sample last_sample
    with :

    • myeegfilein.eeg : input EEG file to process (with extension).
    • myeegfileout.eeg : output EEG file (with extension).
    • samples_nb : number of samples to keep (from the beginning of file).
    • 1st_sample : indice of 1st sample to keep.
    • last_sample : indice of last sample to keep.


  • Fields of parameter file and examples

  • Examples
    1. Get the 1st 15000 samples of myeeg.eeg file and saves to myeeg.15000.eeg :
    2. eegcut myeeg.eeg myeeg.1-15000.eeg 15000

    3. Get 20000 samples starting at sample #10000 of myeeg.eeg file and saves to myeeg.10000-30000.eeg :
    4. eegcut myeeg.eeg myeeg.10000-30000.eeg 10000 30000


  • Comments


  • Current version
  • 1.04 10-03-2011

  • History
    • 1.02 05-05-2005 (OB) : 1st documented version.
    • 1.03 29-09-2010 (PEA) : update to use cmake and free release of Elan. Remove static allocation for reading EEG file header.
    • 1.04 10-03-2011 (PEA) : adds 1st and last sample usage (gives beginning and ending of data in samples to keep).


  • Files
  • $ELANPATH/bin/eegcut

  • See also