Skip to main content
  • Description
  • Reads and displays header and data of a TF file (output displayed on screen).

  • Usage
  • tfavgread myfile.tf

    with :

    • myfile.tf : input TF file name (with extension) to read.


  • Fields of parameter file and example

  • Examples
  • In the following example, the output and questions of the program are italic, and user's answers are bold:
    tfavgread myfile.avg.tf
    version : 1 binary TF file version1.0
    header size : 856
    data address : 888
    data type : 1 float
    free size :
    file type : avg.tf
    file subtype 1 : average of TF files
    file subtype 2t : no stat
    Signal type : potential
    Event code : 12
    as defined in file.par
    number of channels : 1
    as defined in file.par
    channel number (according to elec.dat)
    10
    channel name (according to elec.dat)
    Cz
    number of time samples : 1800
    as defined in file.par
    number of pre-stimulus time-samples : 600
    as defined in file.par
    sampling frequency (Hz) : 1000
    as defined in file.par
    number of frequencies : 6
    as defined in file.par
    tf_wavelet_type : 1 Morlet's wavelet
    as defined in file.par
    frequency values:
    20.00 Hz
    24.00 Hz
    28.00 Hz
    32.00 Hz
    36.00 Hz
    40.00 Hz
    tf_morlet_m: 7.00 7.00 7.00 7.00 7.00 7.00 7.00
    as defined in file.par
    tf_nb_sample_blackman (ms) : 100.00
    as defined in file.par
    sub-sampling step (samples) : 2
    as defined in tfavg command-line
    number of averaged trials by channel:
    channel 1 213 events
    channel 2 213 events
    channel 3 213 events
    baseline correction flag: 101 mean from a different TF file
    see tfavgbline
    start latency of baseline (ms) : -400
    stop latency of baseline (ms) : -100
    flag of time-frequency smoothing : 0 no smoothing
    see tfavgsmooth
    flag of across-channel mean : 0 no mean across channels
    see tfavgchannel

    Data display
    Number of channels to display (total number of channels=1; 0 to exit) :
    1
    0 to exit
    Channel ranks to display (1 to 1) :
    1
    channel 1 :
    # name number(elec.dat) f (Hz) lat (ms) value
    1 Cz 16 -600.00 187.041260
    …..

  • Comments


  • Current version
  • 1.03 09-02-2011

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


  • Files
  • $ELANPATH/bin/tfavgread

  • See also