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:
parent
98e4587152
commit
d76122ee7b
Binary file not shown.
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user