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)? :
    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
    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) :
    -400
    Stop latency of baseline (in ms) :
    -100
    Substract (1) or Divide (2) by the baseline ? (1/2):
    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) :
    myfile1.avg.tf
    TF file name on which baseline is computed (with extension) :
    myfile2.avg.tf
    Name of the baseline corrected file (with extension) :
    myfile1.bl2.avg.tf


  • Fields of parameter file and example

  • Examples
  • In this example, the output file myfile1.bl2.avg.tf contains the data from myfile1.avg.tf divided by the mean value between –400 and –100 ms of myfile2.avg.tf, 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