fitting is initialized, ftol met, issues to be resolved with current
This commit is contained in:
parent
d374a34c65
commit
d23ba8416c
2
Model.py
2
Model.py
@ -431,7 +431,6 @@ class Model:
|
|||||||
ax4.set_xlabel("time [ms]")
|
ax4.set_xlabel("time [ms]")
|
||||||
ax4.set_ylabel(r"$\mu mol/3l$")
|
ax4.set_ylabel(r"$\mu mol/3l$")
|
||||||
|
|
||||||
plt.show()
|
|
||||||
return states, V
|
return states, V
|
||||||
|
|
||||||
|
|
||||||
@ -466,3 +465,4 @@ if __name__ == "__main__":
|
|||||||
FCa_0, # FCa
|
FCa_0, # FCa
|
||||||
]
|
]
|
||||||
model.solve(initial_values=initial_values, tspan=[0, 1000], dt=1.0, times=None)
|
model.solve(initial_values=initial_values, tspan=[0, 1000], dt=1.0, times=None)
|
||||||
|
plt.show()
|
||||||
|
Binary file not shown.
@ -22,7 +22,7 @@ class Fitter:
|
|||||||
self.current_fit_range = current_fit_range
|
self.current_fit_range = current_fit_range
|
||||||
self.fit_results = {}
|
self.fit_results = {}
|
||||||
|
|
||||||
self.tspan = [0,1000]
|
self.tspan = [0, 1000]
|
||||||
self.dt: float = 1 # 1.0
|
self.dt: float = 1 # 1.0
|
||||||
self.time_points = np.arange(*self.tspan, self.dt)
|
self.time_points = np.arange(*self.tspan, self.dt)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user