InstallationΒΆ
Dependencies
- Tested using Python 3.4 on Linux-64.
- Numpy-1.13.3 and Scipy-0.19.1.
- Matplotlib is required for image display.
- Continuum's Anaconda environment should provide all the above packages.
Quick Installation
Install pynufft by using pip command:
$ pip install pynufft
Installation from Git Repository
git is a version control program, which allows you to clone the latest code base from pynufft repository:
$ git clone https://github.com/jyhmiinlin/pynufft
$ cd pynufft
$ python setup.py install --user
Test if the installation is successful
In Python environment, import pynufft:
>>> import pynufft.tests as tests
>>> tests.test_installation()
If the required data and functions are available, you will see all the required files exist:
Does pynufft.py exist? True
Does om1D.npz exist? True
Does om2D.npz exist? True
Does om3D.npz exist? True
Does phantom_3D_128_128_128.npz exist? True
Does phantom_256_256.npz exist? True
Does example_1D.py exist? True
Does example_2D.py exist? True
reikna has been installed.
pyopencl has been installed.
pycuda has been installed.
Uninstall pynufft
Simply use "pip uninstall" to remove pynufft:
$ pip uninstall pynufft