fixed previous error related to getting initial values. New error emerged, as there is no object or function called calculated_current() in model - no idea how code was able to function previously

This commit is contained in:
ralf 2024-07-16 14:41:22 +03:00
parent 98e4587152
commit d76122ee7b
2 changed files with 3 additions and 1 deletions

Binary file not shown.

View File

@ -23,9 +23,11 @@ class Fitter:
self.fit_results = {}
self.tspan = [0, 1000]
self.initial_values = model.get_initial_values(self)
self.dt = 1 # 1.0
self.time_points = np.arange(*self.tspan, self.dt)
model=Model()
self.initial_values = model.get_initial_values()
self.iteration = 0 # least squares iteration counter