astra_projection_geometry

odl.tomo.backends.astra_setup.astra_projection_geometry(geometry)[source]

Create an ASTRA projection geometry from an ODL geometry object.

As of ASTRA version 1.7, the length values are not required any more to be rescaled for 3D geometries and non-unit (but isotropic) voxel sizes.

Parameters
geometryGeometry

ODL projection geometry from which to create the ASTRA geometry.

Returns
proj_geomdict

Dictionary defining the ASTRA projection geometry.