shepp_logan_3d ignores numpy arrays
amaarquadri opened this issue · 2 comments
amaarquadri commented
Expected Behavior
sl3d.shepp_logan_3d(np.array([10, 10, 10])).shape == (10, 10, 10)
Actual Behavior
sl3d.shepp_logan_3d(np.array([10, 10, 10])).shape == (128, 128, 128)
Specifications
- MATLAB/python version: 3.9.15
- OS: Ubuntu 22.04.1 LTS
Fix
Change np.array
to np.ndarray
in this line of code
AnderBiguri commented
Thanks for pointing this out @amaarquadri .
I can try to find some time soon to fix it, but do please feel free to make a PR to fix it yourself, if you want :)
amaarquadri commented
Here's the PR: #433