Skip to main content
  • Description
  • Applies a decomposition matrix obtained after ICA (performed in Matlab for example) to an EEG file and creates a new (filtered) EEG file. This is used to remove some ICA components from an EEG file (e.g., eye blinks).


  • Usage
  • eegfiltica myeegfilein.eeg matrixfile.xml myeegfileout [--keep] component_1 component_2 … component_n

    with :

    • myeegfilein.eeg : input EEG file to process (with extension).
    • matrixfile.xml : XML transform matrix file (with extension), including information on matrix size (see format below).
    • myeegfileout : EEG file created after the matrix has been applied (without extension). Number of channels = number of components (matrix size) + unused EEG channels (those not involved in the matrix estimation in matlab).
    • option :
      --keep : flag used to keep the following components and to suppress all others. If omitted, the listed components are removed and the others are kept.
    • component_1 : index of the 1st component to suppress (or keep if –keep is used).
    • ...
    • component_n : index of the nth component to suppress (or keep if –keep is used).


  • Fields of parameter file and example

  • Examples


  • Comments


  • Current version
  • 1.04 23-09-2010

  • History
    • 1.00 19-02-2008 (PEA) : 1st version.
    • 1.01 07-04-2008 (PEA) : add --keep option to keep components list instead of remove it.
    • 1.02 24-07-2008 (PEA) : correction for --keep option (use number of components).
    • 1.03 31-08-2009 (PEA) : correction for large files (> 2 GB).
    • 1.04 23-09-2010 (PEA) : update to use cmake and free release of Elan. Remove static allocation for reading EEG file header.


  • Files
  • $ELANPATH/bin/eegfiltica

  • See also
  • eegcomponent, eegproject, matrix2p