Skip to main content
  • Description
  • Modifies the channel number (following elec.dat nomenclature) of one channel in an ep file (.p) and creates a new .p file. This program only modifies the header part of the .p file. Data is not changed.

  • Usage
  • epchchannel myfilein myfileout channel_rank channel_number

    with :

    • myfilein : input ep filename (potential data) (without extension).
    • myfileout : output filename (potential or SCD data) (without extension).
    • channel_rank : rank of the channel to modify.
    • channel_number : new channel number for the selected channel to modify. This value corresponds to the rank of the desired new channel name following the elec.dat nomenclature.


  • Fields of parameter file and example

  • Examples
  • To modify the 3rd channel number and to replace its old channel number by 10 (electrode Cz in elec.dat having rank number 10).
    epchchannel file_in file_out 3 10

  • Comments

  • Current version
  • 1.02 25-01-2011

  • History
    • 1.00 13-05-2003 (PEA) : 1st version.
    • 1.01 30-09-2010 (PEA) : updates to use cmake and free release of Elan.
    • 1.02 25-01-2011 (PEA) : removes static allocation for reading EP file.


  • Files
  • $ELANPATH/bin/epchchannel

  • See also