Closed Lee4396 closed 4 years ago
I can reproduce this with version 0.5, but seems like this issue was fixed in version 0.6. This is an error associated with non-integer division in calculating the number of data points. It got taken care of in a rehaul of the bruker.read
function (offending line 397 in bruker.py
in v0.5). Previous versions of numpy allowed this, but not anymore. If you are using a version older than 0.6, the best way to fix this is to update to the latest version of nmrglue.
pip install nmrglue
should update you to version 0.7, and pip install git+https://github.com/jjhelmus/nmrglue.git
should update you to the current development version.
True, I updated to 0.7 and fixed the problem. Pre-assigning a value to shape also fixes the problem.
When I tried to read raw fid file I got this weird type error
TypeError Traceback (most recent call last)