Skip to main content
  • Description
  • Masks evoked potential file (.p) with another evoked potential file. The output is a new evoked potential file (.p).

  • Usage
  • epmask file_mask.p file_data.p file_data_out.p threshold flag new_value

    with :

    • file_mask.p : input EP filename (with extension) used for masking.
    • file_data.p : input EP filename (with extension) to mask.
    • file_data_out.p : output EP filename (with extension) containing masked data.
    • threshold : threshold threshold value.
    • flag : choose value to mask :
    • 1: masks values >= threshold.
      0: masks values <= threshold.
      2: masks values = threshold.

    • new_value : value used for masking. It replaces the masked data.


  • Fields of parameter file and example

  • Examples

  • Comments

  • Current version
  • 1.04 15-05-2014

  • History
    • 1.00 29-05-2002 (PEA) : 1st documented version.
    • 1.01 13-08-2007 (PEA) : minor modification.
    • 1.02 29-09-2010 (PEA) : updates to use cmake and free release of Elan.
    • 1.03 26-01-2011 (PEA) : removes static allocation for reading EP files.
    • 1.04 15-05-2014 (PEA) : add threshold type 2 (=).


  • Files
  • $ELANPATH/bin/epmask

  • See also