Files it reads and writes¶
Next to your trials¶
| File | What it is |
|---|---|
<name>.c3d |
The trial. Saving over it writes the labeled trial, its fills, filter and events. |
<name>.c3d.orig |
The original, kept the first time you save over a trial. |
<name>.oml.jsonl |
The edit log: every edit, written as it happens. It names the source file and its SHA-256, so reopening the trial restores unsaved edits after a crash, and oml apply replays the edits. |
<name>.oml.jsonl.stale |
Unsaved edits made on another version of the file, set aside when the file changed under them. |
These files hold recordings or their labels: keep them with the recordings, not in a code repository.
In your home folder¶
| Path | What it is |
|---|---|
~/.openmotionlabel/config.json |
Your settings ($OML_CONFIG to move it). |
~/.openmotionlabel/templates/<set>.json |
Static templates learned with oml learn ($OML_TEMPLATE_DIR to move them): averages and spreads of marker positions only. |
On Windows, ~ is %USERPROFILE%.
How C3D files are written¶
- Lossless: everything read is written back, including residuals, camera masks, analog
channels, force plates, every parameter group (PROCESSING, ANALYSIS, MANUFACTURER, …) and
POINT:LABELS2for more than 255 points.oml check-ioverifies a round trip on your files. - Labels: subject prefixes (
S01:LASI) are kept as the file had them, unless you choose otherwise (--prefixeson the command line). - Unlabeled trajectories are kept as
*Nunless you delete them (Delete unlabeled, or--drop-unlabeled). - Filled samples have residual 0 and no camera, as the C3D standard asks; missing samples have residual −1.
- Events are written to the EVENT group the way Nexus writes gait events.
- Atomically: a file is written to a temporary file first and then moved into place, so a crash never leaves half a trial.