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.

To see a short movie of the phase screens generated by this module, see


The module runs under Python3 and requires numpy and scipy.

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


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.


See the documentation at for a description on how to use the module.


The code in this repository is licenced under the Mozilla Public License Version 2.0
(see LICENSE).


  • 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

Project details

Download files

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

Files for MegaScreen, version 0.5.1
Filename, size File type Python version Upload date Hashes
Filename, size MegaScreen-0.5.1.tar.gz (20.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page