tomosipo.Operator.Operator

class tomosipo.Operator.Operator(volume_geometry, projection_geometry, voxel_supersampling=1, detector_supersampling=1, additive=False)[source]

A linear tomographic projection operator

An operator describes and computes the projection from a volume onto a projection geometry.

__init__(volume_geometry, projection_geometry, voxel_supersampling=1, detector_supersampling=1, additive=False)[source]

Create a new tomographic operator

Parameters:
  • volume_geometry (VolumeGeometry) – The domain of the operator.

  • projection_geometry (ProjectionGeometry) – The range of the operator.

  • voxel_supersampling (int (optional)) – Specifies the amount of voxel supersampling, i.e., how many (one dimension) subvoxels are generated from a single parent voxel. The default is 1.

  • detector_supersampling (int (optional)) – Specifies the amount of detector supersampling, i.e., how many rays are cast per detector. The default is 1.

  • additive (bool (optional)) – Specifies whether the operator should overwrite its range (forward) and domain (transpose). When additive=True, the operator adds instead of overwrites. The default is additive=False.

Methods

__init__(volume_geometry, projection_geometry)

Create a new tomographic operator

transpose()

Return backprojection operator

Attributes

T

The transpose operator

domain

The domain (volume geometry) of the operator

domain_shape

The expected shape of the input (volume) data

range

The range (projection geometry) of the operator

range_shape

The expected shape of the output (projection) data