Skip to main content
  • Description
  • Resamples an EP file (.p) from a template EP file (used for sampling frequency, prestimulus and poststimulus number of samples definition). There is no temporal interpolation of data. The values are just repeated. It is used to superimposed smoothed data (created by eegstat, epkruskal or epwilcox) with actual data.

  • Usage
  • epresample file_template.p file_data_in.p file_data_out.p time_win time_shift

    with :

    • file_template.p : template file name (with extension). It gives sampling frequency, prestimulus and poststimulus number of samples.
    • file_data_in.p : input EP file to resample (with extension).
    • file_data_out.p : output resampled EP file (with extension).
    • time_win : time window duration in ms corresponding to the time step.
    • time_shift : time shift in ms to start the resampling.


  • Fields of parameter file and example

  • Examples

  • Comments
    1. The following figure illustrates the use of this program :

    2. kala.f1.PS.p is the template file.

      kala.f1.PS.wil.p.p is the result of epwilcox.

      kala.f1.PS.wil.p.surech.p is resampled kala.f1.PS.wil.p.p. with values repeated along the each time window.


  • Current version
  • 1.04 16-05-2014

  • History
    • 1.00 09-04-2006 (OB) : 1st 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 31-01-2011 (PEA) : removes static allocation for reading and writing EP files.
    • 1.04 16-05-2014 (PEA) : check indices of output files in some time window configuration (rounding latencies to samples).


  • Files
  • $ELANPATH/bin/epresample

  • See also
  • eegstat, epkruskal, epwilcox, epsmooth, tfavgresample

AttachmentSize
epresample.jpg191.9 KB