From 716f8ba6edf8810b30fb55626654dcdf16d64774 Mon Sep 17 00:00:00 2001 From: andrea-pasquale Date: Fri, 20 Oct 2023 17:55:10 +0400 Subject: [PATCH] Fix T1 msr fit --- src/qibocal/protocols/characterization/coherence/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qibocal/protocols/characterization/coherence/utils.py b/src/qibocal/protocols/characterization/coherence/utils.py index a32bf41f4..836a76a9e 100644 --- a/src/qibocal/protocols/characterization/coherence/utils.py +++ b/src/qibocal/protocols/characterization/coherence/utils.py @@ -50,7 +50,7 @@ def exponential_fit(data, zeno=None): popt = [ (y_max - y_min) * popt[0] + y_min, (y_max - y_min) * popt[1] * np.exp(x_min * popt[2] / (x_max - x_min)), - popt[2] / (x_max - x_min), + popt[2] * (x_max - x_min), ] t2 = popt[2]