Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bwohlberg committed Sep 25, 2024
1 parent c043d01 commit 50589ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions examples/scripts/ct_modl_train_foam2.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,8 @@
angles = np.linspace(0, np.pi, n_projection) # evenly spaced projection angles
A = XRayTransform2D(
input_shape=(N, N),
det_spacing=1,
det_count=N,
angles=angles,
det_count=N,
) # CT projection operator
A = (1.0 / N) * A # normalized

Expand Down
3 changes: 1 addition & 2 deletions examples/scripts/ct_odp_train_foam2.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,8 @@
angles = np.linspace(0, np.pi, n_projection) # evenly spaced projection angles
A = XRayTransform2D(
input_shape=(N, N),
det_spacing=1,
det_count=N,
angles=angles,
det_count=N,
) # CT projection operator
A = (1.0 / N) * A # normalized

Expand Down

0 comments on commit 50589ff

Please sign in to comment.