Skip to main content

Modulation-based x-ray phase contrast imaging.

Project description

mbipy

Ruff

Modulation based x-ray phase contrast imaging.

Installation

Clone the repository and cd to the directory, then:

pip install .

Usage

See the example notebooks.

Algorithms

Normal Integration

Functional Interface
function CuPy JAX Numba NumPy PyTorch
arnison ๐ŸŸข ๐ŸŸข ๐ŸŸข ๐ŸŸข ๐ŸŸข
dct_poisson ๐ŸŸข ๐ŸŸข ๐ŸŸข ๐ŸŸข ๐ŸŸข
dst_poisson ๐ŸŸข ๐ŸŸข ๐ŸŸข ๐ŸŸข ๐ŸŸข
frankot ๐ŸŸข ๐ŸŸข ๐ŸŸข ๐ŸŸข ๐ŸŸข
kottler ๐ŸŸข ๐ŸŸข ๐ŸŸข ๐ŸŸข ๐ŸŸข
li ๐ŸŸข ๐Ÿ”ด ๐Ÿ”ด ๐ŸŸข ๐Ÿ”ด
southwell โ“ ๐Ÿ”ด ๐Ÿ”ด ๐ŸŸข ๐Ÿ”ด
OOP Interface
class CuPy JAX Numba NumPy PyTorch
Li ๐ŸŸข ๐Ÿ”ด ๐Ÿ”ด ๐ŸŸข ๐Ÿ”ด
Southwell โ“ ๐Ÿ”ด ๐Ÿ”ด ๐ŸŸข ๐Ÿ”ด

Phase Retrieval

Implicit

Functional Interface
function CuPy JAX Numba NumPy PyTorch
lcs โ“ ๐ŸŸข โ“ ๐ŸŸข ๐ŸŸข
lcs_df โ“ ๐ŸŸข โ“ ๐ŸŸข ๐ŸŸข
lcs_ddf โ“ ๐ŸŸข โ“ ๐ŸŸข ๐ŸŸข
OOP Interface
class CuPy JAX Numba NumPy PyTorch
Lcs โ“ โ“ โ“ ๐ŸŸข ๐ŸŸข
LcsDf โ“ โ“ โ“ ๐ŸŸข ๐ŸŸข
LcsDDf โ“ โ“ โ“ ๐ŸŸข ๐ŸŸข

Explicit

Functional Interface
function CuPy JAX Numba NumPy PyTorch
umpa โ“ โ“ ยน โ“ ๐ŸŸข โ“
xst โ“ โ“ ยน โ“ ๐ŸŸข โ“
xsvt โ“ โ“ ยน โ“ ๐ŸŸข โ“
xst_xsvt โ“ โ“ ยน โ“ ๐ŸŸข โ“
OOP Interface
function CuPy JAX Numba NumPy PyTorch
Umpa โ“ โ“ ยน โ“ ๐ŸŸข โ“
Xst โ“ โ“ ยน โ“ ๐ŸŸข โ“
Xsvt โ“ โ“ ยน โ“ ๐ŸŸข โ“
XstXsvt โ“ โ“ ยน โ“ ๐ŸŸข โ“

ยน Has significant memory usage during compilation due to lack of strides in JAX.

ยฒ No wavelet transform available in numba - contributions welcome!

Data

To download the data for the examples, you need to use git-lfs.

Dependencies

Optional:

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

mbipy-0.1.0.tar.gz (38.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mbipy-0.1.0-py2.py3-none-any.whl (55.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file mbipy-0.1.0.tar.gz.

File metadata

  • Download URL: mbipy-0.1.0.tar.gz
  • Upload date:
  • Size: 38.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.8

File hashes

Hashes for mbipy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bd4b049ab5b0460e08aff03db4e8d2bdb8837ec88d3e73263618aef04980e093
MD5 57b88c96af6c744d609836fe0f038a24
BLAKE2b-256 fc574af116b46e9ed62f5ff102272f8c29f605af95cf025f0c0d2f4b8fdd93cc

See more details on using hashes here.

File details

Details for the file mbipy-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: mbipy-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 55.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.8

File hashes

Hashes for mbipy-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3f591b40aa18c570502ab3f6393a3dd95f4b3c12aed8e5a89ad659e0a0d12d0e
MD5 e5cefbbf8a1adbe5aa0a8524ea1ddfbd
BLAKE2b-256 fabf94f89762107a8c76bce5baabf2212d07e89477713d65b67a74fac77df8f5

See more details on using hashes here.

Supported by

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