ywx649999311 / EzTao

A Python Toolkit for AGN Time Series Analysis using CARMA models
MIT License
17 stars 9 forks source link

gpSimRand fails with scipy>1.9 #70

Closed nevencaplar closed 1 year ago

nevencaplar commented 1 year ago

Running the default example fails when trying from eztao.ts import gpSimRand. The error is ImportError: cannot import name 'median_absolute_deviation' from 'scipy.stats'.

I see the issue is discussed here: https://github.com/fraunhoferportugal/tsfel/issues/123. It seems to me that scipy removed function scipy.stats.median_absolute_deviation to scipy.stats.median_abs_deviation in version 1.9.

Seems like same issue in https://github.com/ywx649999311/EzTao/pull/62

nevencaplar commented 1 year ago

I see that this has been solved in the meantime. I installed 0.4.0 main instead of dev version.