From d23ba8416c21c145e5a590464de143c50cc31e14 Mon Sep 17 00:00:00 2001 From: ralf Date: Mon, 12 Aug 2024 13:40:13 +0300 Subject: [PATCH] fitting is initialized, ftol met, issues to be resolved with current --- Model.py | 2 +- __pycache__/Model.cpython-311.pyc | Bin 15798 -> 15790 bytes fitter.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Model.py b/Model.py index dbc93af..aba81de 100644 --- a/Model.py +++ b/Model.py @@ -431,7 +431,6 @@ class Model: ax4.set_xlabel("time [ms]") ax4.set_ylabel(r"$\mu mol/3l$") - plt.show() return states, V @@ -466,3 +465,4 @@ if __name__ == "__main__": FCa_0, # FCa ] model.solve(initial_values=initial_values, tspan=[0, 1000], dt=1.0, times=None) + plt.show() diff --git a/__pycache__/Model.cpython-311.pyc b/__pycache__/Model.cpython-311.pyc index e300a65ac10db15197cdbd04f1c4eab823e013bb..84930626ab73f40e11355f18ac45852ebf62db19 100644 GIT binary patch delta 275 zcmdm1y{?*fIWI340}!x1+nLrnkyny2Z=!k^W8uV22iTYxQdzRZCoeFP*j&UYrp3y~ z&cM(<`J$TS=4IM%*f#GlI?l)_HMzm$;^c7C7RHsE@0c!PW_&QY%QB1c+2pU5A60Ew zB^S7?5MAQ^fdREE_V(cCp+I7M=#@7LP`+7Ow^{{9w<( NB6WdTvd9-`1ps4KR;T~~ delta 295 zcmZ2iy{(#eIWI340}up1*qPQjkyny2V4`{#W75P;2R2V&6w_igVP{}ypZs1;a`O@G zH*7K`vLM9}kR=6UEdw%EGi+XFbdix!dUA!yMYdZk#TohKlRZsa7`JRbXS#@)=P3tw z4@W0g4_61*jmd?US&Yvo-?99tYRf9Qz-5K#67LTTKqd}i@+YfefxAFUitd4k`#?fd zd~&I^2jiQ``>Zt?Urc^st;zBnC_Gu(Mwu~Yvb{~6K?WNm&^+wqN3i%8WZAIEZ*3L} WUtkFaq7SwVEK(PkC5wE4Mgjna<5-aZ diff --git a/fitter.py b/fitter.py index 865f972..17b3832 100644 --- a/fitter.py +++ b/fitter.py @@ -22,7 +22,7 @@ class Fitter: self.current_fit_range = current_fit_range self.fit_results = {} - self.tspan = [0,1000] + self.tspan = [0, 1000] self.dt: float = 1 # 1.0 self.time_points = np.arange(*self.tspan, self.dt)