astra_setup

Helper functions to prepare ASTRA algorithms.

This module contains utility functions to convert data structures from the ODL geometry representation to ASTRA’s data structures, including:

  • volume geometries

  • projection geometries

  • create vectors from geometries

  • data arrays

  • projectors

  • algorithm configuration dictionaries

ASTRA documentation.

ASTRA on GitHub.

Functions

astra_algorithm(direction, ndim, vol_id, …)

Create an ASTRA algorithm object to run the projector.

astra_conebeam_2d_geom_to_vec(geometry)

Create vectors for ASTRA projection geometries from ODL geometry.

astra_conebeam_3d_geom_to_vec(geometry)

Create vectors for ASTRA projection geometries from ODL geometry.

astra_data(astra_geom, datatype[, data, …])

Create an ASTRA data object.

astra_parallel_3d_geom_to_vec(geometry)

Create vectors for ASTRA projection geometries from ODL geometry.

astra_projection_geometry(geometry)

Create an ASTRA projection geometry from an ODL geometry object.

astra_projector(astra_proj_type, …)

Create an ASTRA projector configuration dictionary.

astra_supports(feature)

Return bool indicating whether current ASTRA supports feature.

astra_versions_supporting(feature)

Return version spec for support of the given feature.

astra_volume_geometry(vol_space)

Create an ASTRA volume geometry from the discretized domain.