Skip to content

Commit f6bf263

Browse files
committed
MAINT: update 3d vec geom example
1 parent 118fa28 commit f6bf263

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/tomo/ray_trafo_vec_geom_3d.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
angle_partition = odl.uniform_partition(0, 2 * np.pi, 180)
2121
# Detector: uniformly sampled, n = (512, 512), min = (-30, -30), max = (30, 30)
2222
detector_partition = odl.uniform_partition([-30, -30], [30, 30], [512, 512])
23-
circle_geometry = odl.tomo.CircularConeFlatGeometry(
23+
circle_geometry = odl.tomo.ConeFlatGeometry(
2424
angle_partition, detector_partition, src_radius=1000, det_radius=100,
2525
axis=[1, 0, 0])
2626

27-
circle_vecs = odl.tomo.astra_conebeam_3d_geom_to_vec(circle_geometry)
27+
circle_vecs = odl.tomo.cone_3d_geom_to_astra_vecs(circle_geometry)
2828

2929
# Cover the whole volume vertically, somewhat undersampled though
3030
vert_shift_min = -22

0 commit comments

Comments
 (0)