Skip to main content
  • Description
  • Creates an event file (.pos) that can be used for single trials analysis : the choosen event code becomes a sequence of codes 1, 2, 3...

  • Usage
  • pos_create_singletrials file_in.pos file_out.pos event_code
    with :

    • file_in.pos : input position file containing the position and event codes (with extension).
    • file_out.pos : output position file containing the modified event codes (with extension).
    • event_code : event code to use for single trial extraction.


  • Fields of parameter file and examples

  • Example
    • The following example creates single trials for event code 10 :
      pos_create_singletrials mypos.pos evt10_single.pos 10
      mypos.pos contains :
      2829 10 0
      4125 127 0
      4212 10 0
      5508 127 0
      5595 10 0
      6891 127 0
      6978 10 0
      8274 127 0
      8361 10 0
      9657 127 0
      9744 30 0
      11040 127 0
      11127 10 0
      12423 127 0
      12510 10 0
      13806 127 0
      13893 10 0
      15189 127 0
      15275 10 0
      16572 127 0
      After computation, evt10_single.pos contains :
      2829 1 0
      4212 2 0
      5595 3 0
      6978 4 0
      8361 5 0
      9744 6 0
      11127 7 0
      12510 8 0
      13893 9 0
      15275 10 0


  • Comments


  • Current version
  • 1.02 06-01-2011

  • History
    • 1.02 06-01-2011 (PEA) : update to use cmake and free release of Elan.


  • Files
  • $ELANPATH/bin/pos_create_singletrials

  • See also