Skip to main content
  • Description
  • Computes the FFT of an evoked potential file (.p). The output is a new EP file (.p) containing the spectrum.

  • Usage
  • epspectrum myfilein myfileout [-c][-begin=lat_begin_msec][-end=lat_end_msec][-blackman=nb_samples_blackman][-window=nb_samples_FFT]
    with :

    • myfilein : input EP filename (without extension).
    • myfileout : output filename (without extension).
    • options :
    • -c : center signal (default is not).
      -begin=lat_begin_msec : begin latency (msec) for computation (default is beginning of file).
      -end=lat_end: lat_end_msec and end latency (msec) for computation (default is end of file).
      -blackman=nb_samples_blackman: number of samples for Blackman window (default is 100).
      -window=nb_samples_FFT: number of samples of FFT window (default is all samples, one FFT).


  • Fields of parameter file and example

  • Examples

  • Comments


  • Current version
  • 1.03 01-02-2011

  • History
    • 1.00 04-03-2008 (PEA) : 1st version.
    • 1.01 14-04-2008 (PEA) : fixes computation error.
    • 1.02 29-09-2010 (PEA) : updates to use cmake and free release of Elan.
    • 1.03 01-02-2011 (PEA) : removes static allocation for reading EP file.


  • Files
  • $ELANPATH/bin/epspectrum

  • See also