split_measurements#

deepinv.physics.split_measurements(y, physics, num_subsets)[source]#

Splits tomography measurements into angular subsets.

Note

The expected measurement layout depends on the tomography physics used:

  • deepinv.physics.Tomography: [B, C, N, A], where A is the angle axis and N is the detector axis.

  • deepinv.physics.TomographyWithAstra: [B, C, A, N] in 2D and [B, C, V, A, N] in 3D, where V and N are the detector axes.

  • deepinv.physics.PET: [B, C, N, A] in 2D and [B, C, N, A, P] in 3D for the default RVP sinogram order, where C = 1, N is the radial detector axis, A is the view axis, and P is the plane axis.

Parameters:
Returns:

measurements as a deepinv.utils.TensorList.

Return type:

TensorList

Examples using split_measurements:#

Positron emission tomography (PET) in 2D

Positron emission tomography (PET) in 2D

Positron emission tomography (PET) in 3D

Positron emission tomography (PET) in 3D