From 40524545c5b54731ffded6c5deef83437e8a1091 Mon Sep 17 00:00:00 2001 From: Holger Kohr Date: Wed, 13 Feb 2019 14:10:05 +0100 Subject: [PATCH] MAINT: update 3d vec geom example --- examples/tomo/ray_trafo_vec_geom_3d.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/tomo/ray_trafo_vec_geom_3d.py b/examples/tomo/ray_trafo_vec_geom_3d.py index a6d4f076b36..d30316a6753 100644 --- a/examples/tomo/ray_trafo_vec_geom_3d.py +++ b/examples/tomo/ray_trafo_vec_geom_3d.py @@ -20,11 +20,11 @@ angle_partition = odl.uniform_partition(0, 2 * np.pi, 180) # Detector: uniformly sampled, n = (512, 512), min = (-30, -30), max = (30, 30) detector_partition = odl.uniform_partition([-30, -30], [30, 30], [512, 512]) -circle_geometry = odl.tomo.CircularConeFlatGeometry( +circle_geometry = odl.tomo.ConeFlatGeometry( angle_partition, detector_partition, src_radius=1000, det_radius=100, axis=[1, 0, 0]) -circle_vecs = odl.tomo.astra_conebeam_3d_geom_to_vec(circle_geometry) +circle_vecs = odl.tomo.cone_3d_geom_to_astra_vecs(circle_geometry) # Cover the whole volume vertically, somewhat undersampled though vert_shift_min = -22