Synthetic interaction matrix generator for adaptive optics systems
Project description
SynIM
Synthetic Interaction Matrix generator for Adaptive Optics systems
Overview
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.
Key Features
- 🔧 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
Documentation
Full documentation available at: synim.readthedocs.io
Requirements
- Python ≥ 3.8
- numpy, scipy, matplotlib
- specula - AO simulation framework
- cupy - GPU acceleration (optional, requires CUDA)
Contributing to SynIM
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.
Citation
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}
}
License
MIT License - see LICENSE file for details.
Authors
- Guido Agapito - INAF - Osservatorio Astrofisico di Arcetri
Acknowledgments
It was built as part of the MORFEO project.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file synim-1.0.0.tar.gz.
File metadata
- Download URL: synim-1.0.0.tar.gz
- Upload date:
- Size: 181.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6f88ba6021a0b71b6b77cc19039409c510ac81dca48381cea040dbf7c5afda7
|
|
| MD5 |
a72b6c741de546b89362d4a04a4c1038
|
|
| BLAKE2b-256 |
71fd3de7a01c55eb34864ee2da290ca8e694fe30b6a7e1ca92f4e5fe0c2de5b7
|
Provenance
The following attestation bundles were made for synim-1.0.0.tar.gz:
Publisher:
publish.yml on ArcetriAdaptiveOptics/SynIM
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
synim-1.0.0.tar.gz -
Subject digest:
a6f88ba6021a0b71b6b77cc19039409c510ac81dca48381cea040dbf7c5afda7 - Sigstore transparency entry: 926966889
- Sigstore integration time:
-
Permalink:
ArcetriAdaptiveOptics/SynIM@14c6defcfacc4255ebc52fd4b594d3c1570cac68 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/ArcetriAdaptiveOptics
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@14c6defcfacc4255ebc52fd4b594d3c1570cac68 -
Trigger Event:
push
-
Statement type:
File details
Details for the file synim-1.0.0-py3-none-any.whl.
File metadata
- Download URL: synim-1.0.0-py3-none-any.whl
- Upload date:
- Size: 74.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac6eaf93c281f2da7dadd79f32ecaaba6fb27dc7c371f3fb82e7a2182bfd088d
|
|
| MD5 |
004aae03c6c9098d2275f0f76a49625e
|
|
| BLAKE2b-256 |
3c7ff8cf52cea6d81f729378a3c9d54dcdf544bd6f13ffb067c440f70f35aac2
|
Provenance
The following attestation bundles were made for synim-1.0.0-py3-none-any.whl:
Publisher:
publish.yml on ArcetriAdaptiveOptics/SynIM
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
synim-1.0.0-py3-none-any.whl -
Subject digest:
ac6eaf93c281f2da7dadd79f32ecaaba6fb27dc7c371f3fb82e7a2182bfd088d - Sigstore transparency entry: 926966910
- Sigstore integration time:
-
Permalink:
ArcetriAdaptiveOptics/SynIM@14c6defcfacc4255ebc52fd4b594d3c1570cac68 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/ArcetriAdaptiveOptics
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@14c6defcfacc4255ebc52fd4b594d3c1570cac68 -
Trigger Event:
push
-
Statement type: