pyPhase is an open-source Python package for phase retrieval from phase contrast images in the Fresnel regime. For an overview, check out the pyPhase manuscript: https://arxiv.org/abs/2012.07942
Features
Phase retrieval algorithms
Wave propagation.
Handling of different image sources and formats
Tools for pre-processing such as registration of phase contrast images and motion estimation
Version
The latest version of PyPhase is 2.0 (the one we recommend using)
- 2.0
works on Python 3.12
includes more algorithms : CTF8HOM, RAAR, HPR, NLCG, IRGN, NLPDHGM, GDTV, PDHGM_CTF et ADMM_CTF
no longer need to install Elastix; it is automatically integrated with a Python package (itk-elastix)
- 1.0
works on Python 3.7
requires manual installation of Elastix 4.9
Installation
Installation is currently through PyPI. Create a virtual environment using your favourite virtual environment manager, verify that pip is installed, then:
pip install pyphase
Test your installation:
python3 import pyphase