4.1. Installation and Basic Usage¶
Install dependencies: Use
uvorpipto create a virtual environment and install the required Python packages.With
uv:uv venv && source .venv/bin/activate && uv pip install -r requirements.txt
With
pip:python -m venv .venv && source .venv/bin/activate && pip install -r requirements.txt
Prepare the data: The system requires both gantry position data (CSV) and OptiTrack motion capture data (CSV) in the expected formats (see Data Format section).
Add a configuration file: Create a
config.jsonfile with the calibration settings.Run the calibration script: Execute the calibration script
run_calibration.pyto generate acalibration.jsonfile with the alignment and correction parameters.Visualize the results: Use the plotting scripts to visualize the results.
See Usage section for more details on how to use the scripts.