astra_algorithm
- odl.applications.tomo.backends.astra_setup.astra_algorithm(direction: str, ndim: int, vol_id: int, sino_id: int, proj_id: int, astra_impl: str)[source]
Create an ASTRA algorithm object to run the projector.
Parameters
- direction{‘forward’, ‘backward’}
For
'forward', apply the forward projection, for'backward'the backprojection.- ndim{2, 3}
Number of dimensions of the projector.
- vol_idint
Handle for the ASTRA volume data object.
- sino_idint
Handle for the ASTRA projection data object.
- proj_idint
Handle for the ASTRA projector object.
- impl{‘cpu’, ‘cuda’}
Implementation of the projector.
Returns
- idint
Handle for the created ASTRA internal algorithm object.