Tools for performing mixed integer optimization linear fit to course direction along with affine transform.
The mathematics and concepts behind this code package are described in a preprint:
https://www.biorxiv.org/content/10.64898/2026.07.21.739673v1
If you are inspired by this analysis, or use our code, please cite the preprint.
- Install requirements:
pip install -r requirements.txt - Install the package:
pip install git+https://github.com/vanbreugel-lab/align_course_direction_analysis.git - Get an academic GUROBI license (academic named-user recommended): link
