.. _introduction: Introduction ============ This is the documentation for the implementation of a single-shot emittance measurement at FACET. Prerequisites ------------- Python 3 ^^^^^^^^ :mod:`oneshot` works with Python 3 and up, which should be installed via apt-get on \*nix, `Macports `_ on Apple machines, or downloaded from https://www.python.org/downloads/. NumPy and SciPy ^^^^^^^^^^^^^^^ :mod:`oneshot` depends on `NumPy `_ and `SciPy `_ to manipulate data. `NumPy `_ has dependencies such as BLAS, LAPACK, and ATLAS, which makes downloading building form source is difficult. Installation via apt-get or `Macports `_ is highly recommended in order to handle these dependencies. It is possible to `download `_ or to `build from source `_. `SciPy `_ is similar to `NumPy `_, and it is usually easiest to install the two at the same time - they have nearly identical install methods, to the point that at times it is difficult to tell the two apart. It is easiest to follow the `install instructions `_.