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_dataDiscretizedSpaceElement

Volume data to which the forward projector is applied.

geometryGeometry

Geometry defining the tomographic setup.

proj_spaceDiscretizedSpace

Space to which the calling operator maps.

outproj_space element, optional

Element of the projection space to which the result is written. If None, an element in proj_space is 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.

Returns:
outproj_space element

Projection data resulting from the application of the projector. If out was provided, the returned object is a reference to it.