Skip to content

Commit

Permalink
Ensure 0 fill value for np.interp
Browse files Browse the repository at this point in the history
  • Loading branch information
jadball committed Jan 26, 2024
1 parent f3f9aad commit 19c5f6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ImageD11/sinograms/roi_iradon.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def run_interp(i):
else:
xi = x

result = np.interp(t, xi, radon_filtered[:, i])
result = np.interp(t, xi, radon_filtered[:, i], left=0, right=0)
return result
else:
def run_interp(i):
Expand Down

0 comments on commit 19c5f6e

Please sign in to comment.