Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Nicola VIGANÒ <nicola.vigano@cea.fr>
  • Loading branch information
Obi-Wan committed May 27, 2024
1 parent 3c95ce2 commit b645486
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions corrct/projectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def fp_angle(self, vol: NDArray, angle_ind: int) -> NDArray:
vol : NDArray
The volume to forward-project.
angle_ind : int
The angle index to foward project.
The angle index to forward project.
Returns
-------
Expand Down Expand Up @@ -452,7 +452,7 @@ def __init__(
elif num_det_weights > 1 and not num_det_weights == num_det_angles:
raise ValueError(
"Number of detector weights differs from number of"
+ " detector angles: %d vs %d" % (num_det_weights, num_det_angles)
f" detector angles: {num_det_weights} vs {num_det_angles}"
)

if weights_angles is None:
Expand Down

0 comments on commit b645486

Please sign in to comment.