ParallelBeamGeometry

class odl.applications.tomo.geometry.parallel.ParallelBeamGeometry(ndim, apart, detector, det_pos_init, **kwargs)[source]

Bases: Geometry

Abstract parallel beam geometry in 2 or 3 dimensions.

Parallel geometries are characterized by a virtual source at infinity, such that a unit vector from a detector point towards the source (det_to_src) is independent of the location on the detector.

For details, check the online docs.

__init__(ndim, apart, detector, det_pos_init, **kwargs)[source]

Initialize a new instance.

Parameters

ndim{2, 3}

Number of dimensions of this geometry, i.e. dimensionality of the physical space in which this geometry is embedded.

apartRectPartition

Partition of the angle set.

detectorDetector

The detector to use in this geometry.

det_pos_initarray-like

Initial position of the detector reference point.

kwargs :

Further parameters passed on to Geometry.