View on GitHub

PyASTRAToolbox

Python interface to the ASTRA-toolbox

Download this project as a .zip file Download this project as a tar.gz file

PyASTRAToolbox

Information

The PyASTRAToolbox is a Python interface to the ASTRA Toolbox, a tomography toolbox based on high-performance GPU primitives for 2D and 3D tomography.

The Python interface aims to expose all features of the ASTRA toolbox to Python, providing a high-performance tomography toolbox for Python users. PyASTRAToolbox is released under the open-source GPLv3 license.

The current version is 1.1, released on 2013-11-25.

[Download latest version]

Useful links

Installation

To install PyASTRAToolbox on UNIX systems, use the included install.sh file:

Usage: ./install.sh [-i astra_include_path] [-l astra_library_path] [-p python_executable_path] [-c cuda_path]

    -i astra_include_path:          specify path to astra header files (without trailing astra/) (Optional)
    -l astra_library_path:          specify parent path of astra library file (Optional)
    -p python_executable_path:      specify path to python executable (Optional)
    -c cuda_path:                   path to CUDA (Optional)
    -h:                             print this help (Optional)

On Windows systems, you should be able to run python builder.py install, if all needed libraries and headers are in the correct PATH variables. A precompiled Windows version of PyASTRAToolbox for 64-bit Python 2.7 is available here. To install the precompiled version, extract the supplied zip file to your Python site-packages path.