Newer
Older
## Current build status
[](https://pypi.org/project/pyrost/)
[](https://robust-speckle-tracking.readthedocs.io/en/latest/?badge=latest)
# pyrost
Python Robust Speckle Tracking (**pyrost**) is a library for wavefront metrology
and sample imaging based on ptychographic speckle tracking algorithm. This
project takes over Andrew Morgan's [speckle_tracking](https://github.com/andyofmelbourne/speckle-tracking)
project as an improved version aiming to add robustness to the optimisation
algorithm in the case of the high noise present in the measured data.
The documentation can be found on [Read the Docs](https://robust-speckle-tracking.readthedocs.io/en/latest/).
## Dependencies
- [Python](https://www.python.org/) 3.7 or later (Python 2.x is **not** supported).
- [GNU Scientific Library](https://www.gnu.org/software/gsl/) 2.4 or later.
- [LLVM's OpenMP library](http://openmp.llvm.org) 10.0.0 or later.
- [h5py](https://www.h5py.org) 2.10.0 or later.
- [NumPy](https://numpy.org) 1.19.0 or later.
- [SciPy](https://scipy.org) 1.5.2 or later.
## Installation
We recommend **not** building from source, but install the release from [pypi](https://test.pypi.org/project/rst/)
with the pip package installer:
Pre-build binary wheels for OS X are available in [pypi](https://test.pypi.org/project/rst/) as for now.
## Installation from source
In order to build the package from source simply execute the following command:
python setup.py install
pip install -r requirements.txt -e . -v
That cythonizes the Cython extensions and builds them into ``/pyrost/bin``.