From c58dd603dd7f35a0c2ce48c6bf052d3461b88aec Mon Sep 17 00:00:00 2001
From: Jack Christopher Hutchinson Rolph <jack.rolph@desy.de>
Date: Tue, 17 May 2022 17:28:11 +0200
Subject: [PATCH] Update PeakOTron.py

---
 PeakOTron.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/PeakOTron.py b/PeakOTron.py
index 2d520c0..081b885 100644
--- a/PeakOTron.py
+++ b/PeakOTron.py
@@ -242,8 +242,8 @@ class PeakOTron:
                 temp_values = deepcopy(self._fit_values)
                 temp_errors = deepcopy(self._fit_errors)
                 
-                temp_values["alpha"] = Alpha(self._fit_values["tau_R"], self._fit_values["tau_Ap"], self._fit_values["t_gate"], self._fit_values["pAp"])
-                temp_errors["alpha"] = dAlpha(self._fit_values["tau_R"], self._fit_values["tau_Ap"], self._fit_values["t_gate"], self._fit_values["pAp"], self._fit_errors["tau_Ap"], self._fit_errors["p_Ap"])
+                temp_values["alpha"] = Alpha(self._fit_values["tau_R"], self._fit_values["tau_Ap"], self._fit_values["t_gate"], self._fit_values["p_Ap"])
+                temp_errors["alpha"] = dAlpha(self._fit_values["tau_R"], self._fit_values["tau_Ap"], self._fit_values["t_gate"], self._fit_values["p_Ap"], self._fit_errors["tau_Ap"], self._fit_errors["p_Ap"])
                 
                 return temp_values, temp_errors
                 
-- 
GitLab