Conversion tools

For the output/input format of these tools, also see Abstract structures.

  • actions_to_intervals.py -- reads bag files and produces an interval file containing type, id, start/end time and outcome
  • event_hist.py -- reads an interval file and produces a 10-millisecond histogram of message count
  • intervals2eaf.py -- converts an interval file to ELAN tiers (one tier per type)
  • normalize.py -- subtracts a numeric offset from a specified set of columns. Used for time-normalization, e.g., for ELAN, because ELAN uses the video-start time as zero time, so message data using absolute times has to be normalized to the absolute start time of the video.