-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug when using the function "iterative_prewhitening" #21
Comments
Hi Stefano, Thanks for bringing this up. I double-checked, and I had commented out that line because the function rec_append_fields() is depreciated and has been removed in matplotlib 3.1. https://matplotlib.org/3.0.0/api/mlab_api.html#matplotlib.mlab.rec_append_fields I will try to look for an alternative :) Cheers, |
Hi Karan, I have had trouble with this functionality as well: the problem is that recarrays have been moved from mpl to numpy, but it's only in numpy 1.15 and up (which is a higher version than the repository environment has). The functionality can now be found under: np.lib.recfunctions.rec_append_fields() As a side note, depending on the functionality you need, structured arrays might be a good alternative. Cheers, |
Hi Luc, Awesome! have you tested this function on your local repository? If it works in the way that it's intended to, then I'll update the version of numpy and implement it :) Cheers, |
Yeah it works, I use that in my local version of the repository, along with al the updated packages. :) |
Hi everyone, I have updated the repository to reflect the changes. Could you please check if it works now @stefano-rgc? Cheers, |
After I made a fresh installation of the IvSPythonRepository and the corresponding Conda environment, I get a Python
TypeError
when running the following code:Timothy identified the problem in the function
recarr_join
within the fileivs/aux/numpy_ext.py
.In the version I am using, such function reads (note the commented line):
While in the working version of Timothy, the same function reads:
I have now changed my local version of the IvS repository but I think the change should be done in the official version too.
The text was updated successfully, but these errors were encountered: