Skip to main content
  • Description
  • Adds (or removes) a time offset to some events of .pos file.

  • Usage
  • pos_shift_event file_in.pos file_out.pos
    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).

    This program uses an interactive input. The questions are as follows (questions (program) are italic, answers (user) are bold):
    Number of event codes to modify :
    2
    Event code #1 :
    2
    Time shift (in samples) :
    20
    Event code #2 :
    4
    Time shift (in samples) :
    40

  • Fields of parameter file and examples

  • Example
    • In the example above, the program adds 20 samples to event code 2 timestamps, and 40 samples to event code 4 timestamps :
      pos_shift_event file_in.pos file_out.pos
      file_in.pos file_out.pos
      7824 4 0 7864 4 0
      8009 2 0 8029 2 0
      8867 100 0 8867 100 0
      9087 4 0 9127 4 0
      9699 2 0 9719 2 0
      9840 4 0 9880 4 0


  • Comments


  • Current version
  • 1.01 06-01-2011

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


  • Files
  • $ELANPATH/bin/pos_shift_event

  • See also
  • pos_shift