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
I am using Python 3.6.9 and have installed gpuNUFFT using pip install gpuNUFFT. Yet when I run the unit test in the Python folder using python -m unittest as suggested in the README, I get an error on the second line:
operator = self.get_nufft_op(self.coil_maps)
x = operator.op(np.reshape(self.img.T, self.img.size))
The error message I am getting is:
======================================================================
ERROR: test_multicoil_with_sense (test_nufftOp.TestgpuNUFFT)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/mnt/c/Users/annik.olbrechts/Documents/Circle/FRF_Project/gpuNUFFT/python/test_nufftOp.py", line 93, in test_multicoil_with_sense
x = operator.op(np.reshape(self.img.T, self.img.size))
TypeError: op(): incompatible function arguments. The following argument types are supported:
1. (self: gpuNUFFT.NUFFTOp, arg0: numpy.ndarray[numpy.complex64], arg1: bool) -> numpy.ndarray[numpy.complex64]
Invoked with: <gpuNUFFT.NUFFTOp object at 0x7f86ce073c70>, array([0.+0.j, 0.+0.j, 0.+0.j, ..., 0.+0.j, 0.+0.j, 0.+0.j],
dtype=complex64)
Anyone has any experience running the Python module? I am trying to replace Matlab code by Python.
The text was updated successfully, but these errors were encountered:
I am using Python 3.6.9 and have installed
gpuNUFFT
usingpip install gpuNUFFT
. Yet when I run the unit test in the Python folder usingpython -m unittest
as suggested in the README, I get an error on the second line:The error message I am getting is:
Anyone has any experience running the Python module? I am trying to replace Matlab code by Python.
The text was updated successfully, but these errors were encountered: