Skip to main content

An open source phase retrieval code

Project description

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

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

PyPhase currently requires Elastix 4.9 installed for registration. To manually install elastix 4.9 go to https://elastix.lumc.nl/download.php

  • Unzip the archive.

  • Add the path for elastix/bin to your .bashrc: add YOUR_PATH_TO_elastix/bin to your environment variable PATH.

  • Add the path for elastix/lib to your .bashrc: add YOUR_PATH_TO_elastix/lib to your environment variable LD_LIBRARY_PATH.

Test your installation:

python3 import pyphase

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyphase-1.0.1.tar.gz (66.5 kB view details)

Uploaded Source

Built Distribution

pyphase-1.0.1-py3-none-any.whl (82.1 kB view details)

Uploaded Python 3

File details

Details for the file pyphase-1.0.1.tar.gz.

File metadata

  • Download URL: pyphase-1.0.1.tar.gz
  • Upload date:
  • Size: 66.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.3

File hashes

Hashes for pyphase-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8a529a6fd72f1ecee12fdb18fe2e18b1ccc17abbf9b881c7792e52464981005e
MD5 de67aa0aeddc6ca283dc7773cb4eeafa
BLAKE2b-256 0d3396114f2579a5e7f0e33f863508616b955fb8bfb9670ea166129ac8e36d37

See more details on using hashes here.

File details

Details for the file pyphase-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyphase-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 82.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.3

File hashes

Hashes for pyphase-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 943d7f639cdab663935ee59339c636c877705ad3f5c71e01ce80217af4c3917f
MD5 c215db1dd3d0b79f47d5e9fb197e2c3e
BLAKE2b-256 b2ab4861b92538f5101bcd98bf0642a2e5b641237a2ae2ff606cd9c7912561b2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page