astra_projector

odl.tomo.backends.astra_setup.astra_projector(astra_proj_type, astra_vol_geom, astra_proj_geom, ndim)[source]

Create an ASTRA projector configuration dictionary.

Parameters
astra_proj_typestr

ASTRA projector type. Available selections depend on the type of geometry. See the ASTRA documentation for details.

astra_vol_geomdict

ASTRA volume geometry.

astra_proj_geomdict

ASTRA projection geometry.

ndim{2, 3}

Number of dimensions of the projector.

Returns
proj_idint

Handle for the created ASTRA internal projector object.