A robust, easy-to-deploy non-uniform Fast Fourier Transform in TensorFlow.
Project description
TF KB-NUFFT
GitHub |
Simple installation from pypi:
pip install tfkbnufft
About
This package is a verly early-stage and modest adaptation to TensorFlow of the torchkbnufft package written by Matthew Muckley for PyTorch. Please cite his work appropriately if you use this package.
Computation speed
The computation speeds are given in seconds, for a 256x256 image with a spokelength of 512 and 405 spokes. These numbers are not to be directly compared to those of torchkbnufft, since the computation is not the same. They are just to give a sense of the time required for computation.
Operation | CPU | GPU |
---|---|---|
Forward NUFFT | 0.1676 | 0.0626 |
Adjoint NUFFT | 0.7005 | 0.0635 |
To obtain these numbers for your machine, run the following commands, after installing this package:
pip install scikit-image Pillow
python profile_tfkbnufft.py
These numbers were obtained with a Quadro P5000.
References
-
Fessler, J. A., & Sutton, B. P. (2003). Nonuniform fast Fourier transforms using min-max interpolation. IEEE transactions on signal processing, 51(2), 560-574.
-
Beatty, P. J., Nishimura, D. G., & Pauly, J. M. (2005). Rapid gridding reconstruction with a minimal oversampling ratio. IEEE transactions on medical imaging, 24(6), 799-808.
-
Feichtinger, H. G., Gr, K., & Strohmer, T. (1995). Efficient numerical methods in non-uniform sampling theory. Numerische Mathematik, 69(4), 423-440.
Citation
If you want to cite the package, you can use any of the following:
@conference{muckley:20:tah,
author = {M. J. Muckley and R. Stern and T. Murrell and F. Knoll},
title = {{TorchKbNufft}: A High-Level, Hardware-Agnostic Non-Uniform Fast Fourier Transform},
booktitle = {ISMRM Workshop on Data Sampling \& Image Reconstruction},
year = 2020
}
@misc{Muckley2019,
author = {Muckley, M.J. et al.},
title = {Torch KB-NUFFT},
year = {2019},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/mmuckley/torchkbnufft}}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tfkbnufft-0.1.1.tar.gz
.
File metadata
- Download URL: tfkbnufft-0.1.1.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ec4bbe5727dfdd7a21665aff8d1f92d9d9bc1a6aa7a3474a22bf44aac2d5591 |
|
MD5 | a0a88e3a1ab4c5e15dcda4af0e30d015 |
|
BLAKE2b-256 | cb0ace4da3ab7011c328be6c2c506d2290a42511732dc976bb3e0f60ebd859b2 |
File details
Details for the file tfkbnufft-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: tfkbnufft-0.1.1-py3-none-any.whl
- Upload date:
- Size: 20.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7858bb9624ca701e9c621740dd68f6cb82f966ed0ef4255ba93f83d5ec5902bb |
|
MD5 | 1d2c4fe1c53c502af34e27206665ff3e |
|
BLAKE2b-256 | 7bb04ae58d08acdfa6ff43c0b28cb67ad531b17831daa8909e77b3d4d5ee3a5a |