Scintillometry requires:

In addition, you may want to install:

  • PyFFTW v0.11 or later, to be able to use the FFTW library for fast fourier transforms.

  • PINT to calculate phases without first generating polycos.

  • H5py to read files in the HDF5 format

Installing Scintillometry

Scintillometry is not yet on PyPI (the name may still change…), but you can download and install it with one pip command with:

pip install git+

Possibly with --user if you installing for yourself outside of a virtual environment, and/or with a trailing [all] to also install the optional dependencies (which currently excludes PINT, since it does not work with astropy 4.0).

Obtaining Source Code

The source code and latest development version of Scintillometry can found on its GitHub repo. You can get your own clone using:

git clone

Of course, it is even better to fork it on GitHub, and then clone your own repository, so that you can more easily contribute! From within the cloned repository:

pip install .

Here, apart from the --user option and possible [all] suffix, you may want to add the --editable option to just link to the source repository, which means that any edit will be seen.

Running Code without Installing

As Scintillometry is purely Python, it can be used without being built or installed, by appending the directory it is located in to the PYTHON_PATH environment variable. Alternatively, you can use sys.path within Python to append the path:

import sys

where SCINT_PATH is the directory you downloaded or cloned Scintillometry into.

Testing the Installation

To test that the code works on your system, you need pytest and pytest-astropy to be installed; this is most easily done by first installing the code together with its test dependencies:

pip install -e .[test]

Then, inside the root directory, simply run


or, inside of Python:

import scintillometry

For further details, see the Astropy Running Tests pages.

Building Documentation


As with Astropy, building the documentation is unnecessary unless you are writing new documentation or do not have internet access, as Scintillometry’s documentation is available online at

To build the Scintillometry documentation, you need Sphinx and sphinx-astropy to be installed; this is most easily done by first installing the code together with its documentations dependencies:

pip install -e .[docs]

Then, go to the docs directory and run

make html

For further details, see the Astropy Building Documentation pages.