tomosipo.parallel
- tomosipo.parallel(*, angles=1, shape=1, size=None)[source]
Create a circular parallel-beam geometry
- Parameters:
angles (
int|float|Collection[float] |ndarray) –If integral value: the number of angles in the parallel-beam geometry. This describes a half arc (pi radians) with uniform placement and without the start and end point overlapping.
If np.ndarray: the values of the array are taken as projection angle (units are radians).
shape (
int|Tuple[int,int] |Iterable[int]) – The detector shape in pixels. If tuple, the order is (height, width). Else the pixel has the same number of pixels in the u and v direction.size (
float|Tuple[float,float] |Iterable[float]) –The detector size. If a single float is provided, the detector is square with equal width and height.
The order is (height, width), i.e. (v, u).
- Returns:
A circular parallel-beam geometry
- Return type: