Skip to content
Snippets Groups Projects
README.md 2.07 KiB
Newer Older
Nikolay Ivanov's avatar
Nikolay Ivanov committed
## Current build status
[![PyPI](https://img.shields.io/pypi/v/pyrost?color=brightgreen)](https://pypi.org/project/pyrost/)
[![Documentation Status](https://readthedocs.org/projects/robust-speckle-tracking/badge/?version=latest)](https://robust-speckle-tracking.readthedocs.io/en/latest/?badge=latest)
Nikolay Ivanov's avatar
Nikolay Ivanov committed
[![conda-forge](https://img.shields.io/conda/vn/conda-forge/pyrost?color=brightgreen)](https://anaconda.org/conda-forge/pyrost)
Nikolay Ivanov's avatar
Nikolay Ivanov committed

Nikolay Ivanov's avatar
Nikolay Ivanov committed
# 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.
Nikolay Ivanov's avatar
Nikolay Ivanov committed

The documentation can be found on [Read the Docs](https://robust-speckle-tracking.readthedocs.io/en/latest/).
Nikolay Ivanov's avatar
Nikolay Ivanov committed

Nikolay Ivanov's avatar
Nikolay Ivanov committed

- [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.
Nikolay Ivanov's avatar
Nikolay Ivanov committed

Nikolay Ivanov's avatar
Nikolay Ivanov committed
We recommend **not** building from source, but install the release via the
[conda](https://anaconda.org/conda-forge/pyrost) manager:

Nikolay Ivanov's avatar
Nikolay Ivanov committed
    conda install -c conda-forge pyrost
Nikolay Ivanov's avatar
Nikolay Ivanov committed

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:
Nikolay Ivanov's avatar
Nikolay Ivanov committed

Nikolay Ivanov's avatar
Nikolay Ivanov committed
    pip install pyrost
Nikolay Ivanov's avatar
Nikolay Ivanov committed

Nikolay Ivanov's avatar
Nikolay Ivanov committed
The source distribution is available in [pypi](https://pypi.org/project/pyrost/) as for now.
Nikolay Ivanov's avatar
Nikolay Ivanov committed

## Installation from source
In order to build the package from source simply execute the following command:
Nikolay Ivanov's avatar
Nikolay Ivanov committed

Nikolay Ivanov's avatar
Nikolay Ivanov committed

simply-nicky's avatar
simply-nicky committed

    pip install -r requirements.txt -e . -v
simply-nicky's avatar
simply-nicky committed

Nikolay Ivanov's avatar
Nikolay Ivanov committed
That cythonizes the Cython extensions and builds them into ``/pyrost/bin``.