Skip to main content

Atmospheric seeing simulation using a woofer-tweeter algorithm

Project description

This Python 3 module implements the algorithm described in the paper “Simulating Large Atmospheric Phase Screens Using a Woofer-Tweeter Algorithm.” Optics Express 24, no. 20 (October 3, 2016): 23566–71. https://doi.org/10.1364/OE.24.023566.

To see a customisable movie of the phase screens generated by this module, you can run an app over the web using Streamlit Share by following the link below:

https://share.streamlit.io/dbuscher/megascreen/tests/demos/streamlit_movie.py

Alternatively, view a short movie in a Jupyter notebook at

https://nbviewer.jupyter.org/github/dbuscher/megascreen/blob/master/tests/demos/phase_screen_movie.ipynb

Requirements

The module runs under Python3 and requires numpy and scipy.

For running some of the example code, the astropy library is used.

Installation

On unix-like systems do

pip3 install MegaScreen

or if that does not work because of file permission errors, then

sudo pip3 install MegaScreen

Alternatively download and unpack a copy of this repository, change the working directory to this directory and then use

pip3 install -e .

This should install the package into the Python path.

Usage

See the documentation at http://megascreen.readthedocs.io/ for a description on how to use the module.

Licensing

The code in this repository is licenced under the Mozilla Public License Version 2.0

(see LICENSE).

1.0.1

  • Updated demos so they don’t crash with recent assert

  • Demos can run without installing MegaScreen

  • Streamlit demo app can run on Streamlit Share

1.0.0

  • Added an assert to check that the size of a window does not exceed the size of a tweeter screen

  • Removed restriction on dx and increased memory efficiency by allocating the minimum number of tiles needed

0.5.0:

  • Added a numIter parameter to MegaScreen() to allow straightforward use in for loops

  • All parameters to MegaScreen() now have default values to ease adoption

  • Tidied up test code

  • Added extensive documentation on http://megascreen.readthedocs.io

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

MegaScreen-1.0.1.tar.gz (23.4 kB view details)

Uploaded Source

File details

Details for the file MegaScreen-1.0.1.tar.gz.

File metadata

  • Download URL: MegaScreen-1.0.1.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.8.0 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for MegaScreen-1.0.1.tar.gz
Algorithm Hash digest
SHA256 87963db45b01f88d41490daf760f4cfc0a35a01b7f940af08e4b38d1f03ab688
MD5 aa70084a0008b1c2561a42b9fd2170ba
BLAKE2b-256 5697a7ca1acd8cd8e409415ef0a6dff80f61a755826f35a302ca19a4c334e0fa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page