tomosipo.cone

tomosipo.cone(*, angles=1, shape=(1, 1), size=None, cone_angle=None, src_orig_dist=None, src_det_dist=None)[source]

Create a circular cone-beam geometry

Parameters:
  • angles (int | float | Collection[float] | ndarray) –

    If integral value: the number of angles in the cone-beam geometry. This describes a full arc (2 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).

  • cone_angle (float) – The fraction det_height / src_det_dist. If provided, src_orig_dist and src_det_dist need not be provided. The detector is placed on the origin.

  • src_orig_dist (float) – The source to origin distance.

  • src_det_dist (float) – The source to detector distance.

Returns:

A circular cone-beam geometry

Return type:

ConeGeometry