Skip to main content
  • Description
  • Replace bad electrodes by spline interpolation (spline order 4, no regularization).

  • Usage
  • epclean myepfile_in.p myepfile_out.p i1 i2 i3 ...

    with :

    • myepfile_in.p : input EP filename (with extension).
    • myepfile_out.p : output EP filename (with extension).
    • i1 : number of 1st electrode to replace by interpolation (following elec.dat).
    • i2 : number of 2nd electrode to replace by interpolation (following elec.dat).
    • i3 : number of 3rd electrode to replace by interpolation (following elec.dat).
    • ...


  • Fields of parameter file and example

  • Examples

  • Comments

  • Current version
  • 1.06 26-06-2012

  • History
    • 1.00 04-04-2002 (BY) : 1st version.
    • 1.01 05-05-2005 (OB) : changes srk_size=200000 to be compatible with erpa, eegspline, epscd.
    • 1.02 28-03-2008 (PEA) : removes channels with indice -1 (don't exist in elec.dat).
    • 1.03 28-03-2008 (PEA) : uses elec_nomap.dat .
    • 1.04 30-09-2010 (PEA) : updates to use cmake and free release of Elan.
    • 1.05 26-01-2011 (PEA) : removes static allocation for reading EP file.
    • 1.06 26-06-2012 (PEA) : fixes an error when retreiving interpolated channel coordinates.


  • Files
  • $ELANPATH/bin/epclean

  • See also
  • epscd, eegspline