astra_volume_geometry¶
- odl.tomo.backends.astra_setup.astra_volume_geometry(vol_space)[source]¶
Create an ASTRA volume geometry from the discretized domain.
From the ASTRA documentation:
In all 3D geometries, the coordinate system is defined around the reconstruction volume. The center of the reconstruction volume is the origin, and the sides of the voxels in the volume have length 1.
All dimensions in the projection geometries are relative to this unit length.
- Parameters:
- vol_space
DiscretizedSpace
Discretized space where the reconstruction (volume) lives. It must be 2- or 3-dimensional and uniformly discretized.
- vol_space
- Returns:
- astra_geomdict
- Raises:
- NotImplementedError
If the cell sizes are not the same in each dimension.