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
On the Calibrate cell I get the following warning, originating from line 145 of aquifer.py:
RuntimeWarning: overflow encountered in tanh
dzero = sqrtpSc[0] * np.tanh(sqrtpSc[0])
I end up with a (mathemetically) successful calibration.
Is the RuntimeWarning anything to worry about?
My installation:
TTim version : 0.7.0
Python version : 3.12.5
Numpy version : 1.26.4
Numba version : 0.60.0
Scipy version : 1.14.1
Pandas version : 2.2.2
Matplotlib version : 3.9.2
LmFit version : 1.3.2
The text was updated successfully, but these errors were encountered:
Thanks for reporting this.
You are not supposed to get an error message. I don't get it on my machine, with a slightly different combination of packages.
It probably means that with your specific combination of packages, the calibration routine takes a slightly different path towards the optimal solution, going through part of parameter space where the np.tanh cannot be computed.
We have encountered some inconsistencies in parameter estimations with different combinations of lmfit/scipy/numpy, as was also reported by others (not using ttim). We are aware of this and are looking for a more permanent solution, but that is not easy, so I am leaving this Issue open for now.
I am running the Watex example exactly as provided.
On the Calibrate cell I get the following warning, originating from line 145 of aquifer.py:
I end up with a (mathemetically) successful calibration.
Is the RuntimeWarning anything to worry about?
My installation:
The text was updated successfully, but these errors were encountered: