Skip to main content
  • Description
  • Conversion tool for CTF marker files to Elan event format (.pos).

  • Usage
  • ctfmrk2pos myctfdirectory.ds file.out.pos file.conv.par file.out.conv.par

    with :

    • myctfdirectory.ds : CTF dataset directory (with extension) containing the marker file.
    • file.out.pos : name of the output file containing the events.
    • file.conv.par : name of the input file containing the parameters for converting marker file to pos file.
    • file.out.conv.par : name of the output file containing the parameters for converting back pos file to marker file with pos2ctfmrk.


  • Fields of parameter file and example
  • conv_nb_code 4 Number of CTF event classes to convert.
    conv_name_list
    start
    stdsvdev
    std
    dev
    List of event class names for CTF.

    WARINING : the names must be strictly the same in MarkerFile.mrk .
    conv_pos_code_list
    10 20 30 40
    List of codes for each CTF event class. These codes are saved in POS file.


  • Example

  • Comments

  • Current version
  • 1.09 23-11-2010

  • History
    • 1.00 10-01-2006 (PEA) : first version.
    • 1.01 10-01-2006 (PEA) : minor modification.
    • 1.02 14-03-2006 (PEA) : addition of the parameter "conv_name_list" to convert classes to codes. The indice of classes is not relevant for CTF because it may change.
    • 1.03 16-03-2006 (PEA) : minor modification.
    • 1.04 26-09-2006 (PEA) : blank suppression in parameter file.
    • 1.06 07-04-2008 (PEA) : check for memory leaks.
    • 1.07 07-10-2008 (PEA) : strict check of names of event classes. Adding epoched acquisiton mode support with prestimulus samples.
    • 1.08 10-09-2009 (PEA) : correction of type definition in MegDefs.h for 64 bits compilation.
    • 1.09 23-11-2010 (PEA) : correction in rchmpl (addition of maximum length line) in libgen.


  • Files
  • $ELANPATH/bin/ctfmrk2pos
    $ELANPATH/bin64/ctfmrk2pos

  • See also
  • ctf2eeg, ctf2ep, pos2ctfmrk