diff --git a/__pycache__/Model.cpython-311.pyc b/__pycache__/Model.cpython-311.pyc index 39086a8..ef00b29 100644 Binary files a/__pycache__/Model.cpython-311.pyc and b/__pycache__/Model.cpython-311.pyc differ diff --git a/fitter.py b/fitter.py index 1ebb17a..5e1cdcc 100644 --- a/fitter.py +++ b/fitter.py @@ -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