Newer
Older
## Current build status
[](https://pypi.org/project/pyrost/)
[](https://robust-speckle-tracking.readthedocs.io/en/latest/?badge=latest)
[](https://anaconda.org/conda-forge/pyrost)
# 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.6 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 via the
[conda](https://anaconda.org/conda-forge/pyrost) manager:
conda install pyrost
The package is available in [conda-forge](https://conda-forge.org) on OS X and Linux.
Also you can install the release from [pypi](https://pypi.org/project/pyrost/)
with the pip package installer:
The source distribution is available in [pypi](https://pypi.org/project/pyrost/) 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``.