Skip to content

Commit

Permalink
MAINT: update 3d vec geom example
Browse files Browse the repository at this point in the history
  • Loading branch information
kohr-h committed Mar 13, 2019
1 parent 309855a commit 4052454
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/tomo/ray_trafo_vec_geom_3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4052454

Please sign in to comment.