Skip to main content
  • Description
  • Creates a new TF file with baseline correction. The baseline value is computed for each frequency, between two latencies (usually in the prestimulus period). The baseline value can be computed on a given TF file and substracted from either the same or another TF file.

  • Usage
  • tfavgbline

    This program uses an interactive input.The questions are as follows (questions (program) are italic, answers (user) are bold):
    BaseLine computed on the same TF file (Y/N)? :
    y: the baseline value is computed on the file to correct
    n: the baseline value is computed on one file, and the correction using these baseline values is applied to another file.
    Type of baseline correction (1=mean, 2= median)
    1: the baseline is defined by the mean value between start and stop latencies
    2: the baseline is defined by the median value between start and stop latencies
    Start latency of baseline (in ms) :
    Stop latency of baseline (in ms) :
    Substract (1) or Divide (2) by the baseline ? (1/2):
    1: the baseline value is substracted from the original data (in each frequency band)
    2: the original data are divided by the baseline value (in each frequency band)
    TF file name to correct (with extension) :
    TF file name on which baseline is computed (with extension) :
    Name of the baseline corrected file (with extension) :

  • Fields of parameter file and example

  • Examples
  • In this example, the output file contains the data from divided by the mean value between –400 and –100 ms of, for each frequency band.

  • Comments

  • Current version
  • 1.04 03-02-2011

  • History
    • 1.00 09-12-2001 (PEA) : 1st documented version.
    • 1.01 04-02-2002 (PEA) : minor modification.
    • 1.02 20-05-2005 (PEA) : minor modification.
    • 1.03 13-08-2007 (PEA) : adds RMS and maximum options.
    • 1.04 03-02-2011 (PEA) : updates to use cmake and free release of Elan.

  • Files
  • $ELANPATH/bin/tfavgbline

  • See also