astra_cpu_forward_projector¶
- odl.tomo.backends.astra_cpu.astra_cpu_forward_projector(vol_data, geometry, proj_space, out=None, astra_proj_type=None)[source]¶
Run an ASTRA forward projection on the given data using the CPU.
- Parameters:
- vol_data
DiscretizedSpaceElement Volume data to which the forward projector is applied.
- geometry
Geometry Geometry defining the tomographic setup.
- proj_space
DiscretizedSpace Space to which the calling operator maps.
- out
proj_spaceelement, optional Element of the projection space to which the result is written. If
None, an element inproj_spaceis created.- astra_proj_typestr, optional
Type of projector that should be used. See the ASTRA documentation for details. By default, a suitable projector type for the given geometry is selected, see
default_astra_proj_type.
- vol_data
- Returns:
- out
proj_spaceelement Projection data resulting from the application of the projector. If
outwas provided, the returned object is a reference to it.
- out