You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, when the input array has dtype=np.float64 (64-bit float arrays aren't supported by Larix's CPU 3D median filter), there is no error and it instead silently fails:
When testing for tomopy/tomopy#594, it was discovered that passing a python numpy array of values whose data type is not supported by the CPU median filter module https://github.com/dkazanc/larix/blob/master/src/Core/CPU_modules/MedianFilt_core.c causes the python wrapper function to simply return
None
.For example, when the input array has
dtype=np.float64
(64-bit float arrays aren't supported by Larix's CPU 3D median filter), there is no error and it instead silently fails:but when the input array has
dtype=np.uint16
(16-bit unsigned integer arrays are supported by Larix's CPU 3D median filter), it works as expected:This is possibly something in the python wrapper that needs to be amended, rather than the median filter C code itself?
The text was updated successfully, but these errors were encountered: