Skip to main content

XAOSIM: a XAO-like system simulation and interaction environment

XAOSIM is a simulation package developed for theoretical and practical work in high angular resolution astronomy.

Why yet another XAO simulation environment?

The specificity of XAOSIM is that it was built around shared memory data structures defined in the context of the SCExAO instrument by Olivier Guyon and Frantz Martinache. This approach makes it possible to design real-time AO control software using XAOSIM's simulation environment data and deploy it on an actual instrument (assuming that it uses the same exchange format) in a transparent manner.

Acknowledgement

The development and maintenance of XAOSIM has been supported by the KERNEL project funded by the European Research Council (ERC) under the European Union's Horizon 2020 research and innovation program (grant agreement CoG - 683029).

Installation

pip install xaosim

The package includes:

  • a deformable mirror (DM) module that includes a multi-channel communication system, assumed to be located in a pupil plane. The DM class simulates a continuous membrane mirror with actuators laid out on a regualar grid.
  • an atmospheric phase screen (Phscreen) module that simulates a Kolmogorov + Von Karman frozen screen drifting over the aperture in a predefined direction.
  • a camera (Cam) module that produces images of a point source affected after the wavefront has undergone the transformation induced by the DM. One special case of camera is the Shack-Hartman camera (SHcam) used for wavefront sensing. Another special case is the coronagraphic camera (CoroCam) that can be used to simulate a wide range of coronagraphs (no PIAA-like coronagraphs though).

The code is reasonably well documented and if you are experienced with diffractive optics simulations, you should quickly feel at home, and change the parameters of the turbulence, simulate partial AO correction and even use a perfect coronagraph.

Release files for xaosim 1.0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xaosim 1.0.11
File Size Uploaded
xaosim-1.0.11.tar.gz 58.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xaosim 1.0.11
File Interpreter ABI Platform
xaosim-1.0.11-py3-none-any.whl Python 3 none any Details

Total release size: 123.8 kB

Release files / xaosim-1.0.11.tar.gz

Download URL xaosim-1.0.11.tar.gz
Size 58.8 kB
Tags Source
SHA-256 checksum
How to use checksums
62f3b5e0685fa041d4702b8b1793f031551b7427c2888344affacfaab8183222
BLAKE2b-256 checksum
How to use checksums
725bc5e41ebd6965585e22b7700c2ae57906c2df6cfe19faa2388c750123ad20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.6

Release files / xaosim-1.0.11-py3-none-any.whl

Download URL xaosim-1.0.11-py3-none-any.whl
Size 65.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31fa85f6f3b1395df16be2dbb73e3edc78ce9bb80466cf4c9014d277cbcbca9c
BLAKE2b-256 checksum
How to use checksums
9f98139950fdac3b65ed98d30abb41b92efa526ef8f8a3413374056884de0518
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.6

Release history Release notifications | RSS feed

This release

1.0.11 This release

2 release files

1.0.10

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page