astra_cpu_projector

odl.applications.tomo.backends.astra_cpu.astra_cpu_projector(direction: str, input_data: DiscretizedSpaceElement, geometry: Geometry, range_space: DiscretizedSpace, out: DiscretizedSpaceElement = None, astra_proj_type: str | None = None) DiscretizedSpaceElement[source]

Run an ASTRA projection on the given data using the CPU.

Parameters

input_dataDiscretizedSpaceElement

Input data to which the projector is applied.

geometryGeometry

Geometry defining the tomographic setup.

range_spaceDiscretizedSpace

Space to which the calling operator maps.

outrange_space element, optional

Element of the range_space space to which the result is written. If None, an element in range is created.

astra_proj_typestr, range_space

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.