The forward and adjoint operators are incorrect by using the following commands:
ray_trafo = odl.tomo.RayTransform(reco_space, geometry)
proj_data = ray_trafo(phantom)
backproj = ray_trafo.adjoint(proj_data)
check:
y = torch.randn_like(proj_data)
torch.sum(y* proj_data) \neq torch.sum( ray_trafo.adjoint(y)* phantom)
for different number of views.
The forward and adjoint operators are incorrect by using the following commands:
ray_trafo = odl.tomo.RayTransform(reco_space, geometry)
proj_data = ray_trafo(phantom)
backproj = ray_trafo.adjoint(proj_data)
check:
y = torch.randn_like(proj_data)
torch.sum(y* proj_data) \neq torch.sum( ray_trafo.adjoint(y)* phantom)
for different number of views.