aewallin / allantools

Allan deviation and related time & frequency statistics library in Python
GNU Lesser General Public License v3.0
226 stars 77 forks source link

Pypi published version 2024.04 tries to import "simps" from scipy.integrate (instead of "simpson") #161

Closed johann-petrak closed 5 months ago

johann-petrak commented 5 months ago

In line 114 of allantools.py

from scipy.integrate import simps  # used in psd2allan()
fmeynadier commented 5 months ago

This looks like a regression from #159...

aidanmontare-fed commented 5 months ago

I think the change is already in, and this will be fixed in the next release?

johann-petrak commented 5 months ago

Good, would there be a release soon, as the current release seems to be unusable for me as it fails when trying to just importing the package already?

aewallin commented 5 months ago

I bumped the version to 2024.06, and updated the PyPi package. Conda will take a bit longer.. Could you test and see if this works better?

johann-petrak commented 5 months ago

Thank you, that import error is now fixed with the latest version!