Synthetic Interaction Matrix generator for Adaptive Optics systems
SynIM is a Python package for computing synthetic interaction matrices, projection matrices, and covariance matrices for adaptive optics (AO) systems. It supports both Single Conjugate AO (SCAO), Laser Tomography AO (LTAO), Ground Layer AO (GLAO) and Multi-Conjugate AO (MCAO) configurations with Shack-Hartmann sensors. It also supports GPU acceleration. Some of its functionalities are provided by SPECULA.
- 🔧 Interaction matrices for DM-WFS combinations (SCAO/MCAO)
- 📊 Projection matrices for DM-Layer tomography (MCAO/LTAO)
- 📈 Covariance matrices for MMSE reconstructor optimization
- ⚙️ YAML/PRO configuration with automatic parameter parsing
- 💾 SPECULA-compatible FITS format for data exchange
- 🎯 Smart caching to minimize redundant computations
- 🚀 GPU acceleration via CuPy for high-performance computation
Full documentation available at: synim.readthedocs.io
- Python ≥ 3.8
- numpy, scipy, matplotlib
- specula - AO simulation framework
- cupy - GPU acceleration (optional, requires CUDA)
To contribute to SynIM, follow these steps:
- Fork this repository.
- Create a branch:
git checkout -b <branch_name> - Make your changes and add tests for the new functionality.
- Commit your changes:
git commit -m '<commit_message>' - Push to the branch:
git push - Create the pull request.
We require tests for all new features to ensure the stability of the project.
If you use SynIM in your research, please cite:
@software{synim2025,
author = {Agapito, Guido},
title = {SynIM: Synthetic Interaction Matrix Generator},
year = {2025},
url = {https://github.com/ArcetriAdaptiveOptics/SynIM}
}MIT License - see LICENSE file for details.
- Guido Agapito - INAF - Osservatorio Astrofisico di Arcetri
It was built as part of the MORFEO project.