From afd38a92c0792e9593fee2be2be156b071e9b416 Mon Sep 17 00:00:00 2001
From: Simon Mazenoux <simon.mazenoux@cern.ch>
Date: Mon, 14 Oct 2024 11:41:46 +0200
Subject: [PATCH] fix pipeline

---
 lhcsmapi/api/analysis/qh/_common.py           |  19 +-
 test/integration/test_qh_ccc.py               | 348 ++++----
 test/integration/test_qh_voltage_analysis.py  |  96 +--
 .../test_qh_voltage_current_analysis.py       | 800 +++++++++---------
 4 files changed, 636 insertions(+), 627 deletions(-)

diff --git a/lhcsmapi/api/analysis/qh/_common.py b/lhcsmapi/api/analysis/qh/_common.py
index 48950f8..1f55906 100644
--- a/lhcsmapi/api/analysis/qh/_common.py
+++ b/lhcsmapi/api/analysis/qh/_common.py
@@ -345,15 +345,13 @@ def analyze_single_qh_voltage_current_with_ref(
     # Calculate features
     first_last_u_df = signal_analysis.calculate_features(
         u_hds_decay_sync_dfs, [utility_features.first, utility_features.last20mean], timestamp_qh
-    ).round()
+    )
     first_last_u_comp_df = comparison.compare_features_to_reference(
         first_last_u_df, circuit_type, "QH", wildcard={"CELL": source_qh}, nominal_voltage=discharge_level
     )
 
-    first_r_df = signal_analysis.calculate_features(r_hds_dfs, utility_features.first20mean, timestamp_qh).round(2)
-    first_r_ref_df = signal_analysis.calculate_features(
-        r_hds_ref_dfs, utility_features.first20mean, timestamp_ref
-    ).round(2)
+    first_r_df = signal_analysis.calculate_features(r_hds_dfs, utility_features.first20mean, timestamp_qh)
+    first_r_ref_df = signal_analysis.calculate_features(r_hds_ref_dfs, utility_features.first20mean, timestamp_ref)
     first_r_comp_df = comparison.compare_difference_of_features_to_reference(
         first_r_df,
         first_r_ref_df,
@@ -366,10 +364,10 @@ def analyze_single_qh_voltage_current_with_ref(
 
     tau_df = signal_analysis.calculate_features(
         u_hds_decay_sync_dfs + i_hds_decay_sync_dfs, signal_analysis_functions.tau_charge, timestamp_qh
-    ).round(3)
+    )
     tau_ref_df = signal_analysis.calculate_features(
         u_hds_decay_ref_sync_dfs + i_hds_decay_ref_sync_dfs, signal_analysis_functions.tau_charge, timestamp_qh
-    ).round(3)
+    )
     tau_comp_df = comparison.compare_difference_of_features_to_reference(
         tau_df,
         tau_ref_df,
@@ -520,8 +518,7 @@ def analyze_single_qh_voltage_with_ref(
 
     first_last_u_df = signal_analysis.calculate_features(
         u_hds_decay_dfs, [utility_features.first, utility_features.last20mean], timestamp_event
-    ).round()
-
+    )
     first_last_u_comp_df = comparison.compare_features_to_reference(
         first_last_u_df, meta_circuit_type, "QH", wildcard={"CIRCUIT": circuit_name}, nominal_voltage=discharge_level
     )
@@ -531,10 +528,10 @@ def analyze_single_qh_voltage_with_ref(
     u_hds_decay_dfs_ref = [df.loc[0:, :] for df in u_hds_decay_dfs_ref]
     tau_u_df = signal_analysis.calculate_features(
         u_hds_decay_dfs, signal_analysis_functions.tau_charge, timestamp_event
-    ).round(3)
+    )
     tau_u_df_ref = signal_analysis.calculate_features(
         u_hds_decay_dfs_ref, signal_analysis_functions.tau_charge, timestamp_ref
-    ).round(3)
+    )
     tau_u_comp_df = comparison.compare_difference_of_features_to_reference(
         tau_u_df,
         tau_u_df_ref,
diff --git a/test/integration/test_qh_ccc.py b/test/integration/test_qh_ccc.py
index 4d17016..bfb4189 100644
--- a/test/integration/test_qh_ccc.py
+++ b/test/integration/test_qh_ccc.py
@@ -24,10 +24,10 @@ voltage_results = [
                     "heat.RQ10.L8:U_HDS_1_B2:last20mean": 20.0,
                 },
                 "act": {
-                    "heat.RQ10.L8:U_HDS_1_B1:first": 852.0,
-                    "heat.RQ10.L8:U_HDS_1_B1:last20mean": 4.0,
-                    "heat.RQ10.L8:U_HDS_1_B2:first": 878.0,
-                    "heat.RQ10.L8:U_HDS_1_B2:last20mean": 6.0,
+                    "heat.RQ10.L8:U_HDS_1_B1:first": 851.67816,
+                    "heat.RQ10.L8:U_HDS_1_B1:last20mean": 3.938545421052632,
+                    "heat.RQ10.L8:U_HDS_1_B2:first": 877.7468,
+                    "heat.RQ10.L8:U_HDS_1_B2:last20mean": 5.584986473684209,
                 },
                 "result": {
                     "heat.RQ10.L8:U_HDS_1_B1:first": True,
@@ -39,8 +39,14 @@ voltage_results = [
         ),
         tau_u_comp=pd.DataFrame(
             {
-                "ref": {"heat.RQ10.L8:U_HDS_1_B1:tau_charge": 0.115, "heat.RQ10.L8:U_HDS_1_B2:tau_charge": 0.119},
-                "act": {"heat.RQ10.L8:U_HDS_1_B1:tau_charge": 0.115, "heat.RQ10.L8:U_HDS_1_B2:tau_charge": 0.12},
+                "ref": {
+                    "heat.RQ10.L8:U_HDS_1_B1:tau_charge": 0.11530324330163416,
+                    "heat.RQ10.L8:U_HDS_1_B2:tau_charge": 0.11909642951168845,
+                },
+                "act": {
+                    "heat.RQ10.L8:U_HDS_1_B1:tau_charge": 0.11534810010559181,
+                    "heat.RQ10.L8:U_HDS_1_B2:tau_charge": 0.11957557103666304,
+                },
                 "diff": {"heat.RQ10.L8:U_HDS_1_B1:tau_charge": 0.005, "heat.RQ10.L8:U_HDS_1_B2:tau_charge": 0.005},
                 "result": {"heat.RQ10.L8:U_HDS_1_B1:tau_charge": True, "heat.RQ10.L8:U_HDS_1_B2:tau_charge": True},
             }
@@ -65,10 +71,10 @@ voltage_results = [
                     "heat.RQ10.L8:U_HDS_1_B2:last20mean": 20.0,
                 },
                 "act": {
-                    "heat.RQ10.L8:U_HDS_1_B1:first": 852.0,
-                    "heat.RQ10.L8:U_HDS_1_B1:last20mean": 4.0,
-                    "heat.RQ10.L8:U_HDS_1_B2:first": 878.0,
-                    "heat.RQ10.L8:U_HDS_1_B2:last20mean": 6.0,
+                    "heat.RQ10.L8:U_HDS_1_B1:first": 851.67816,
+                    "heat.RQ10.L8:U_HDS_1_B1:last20mean": 3.938545421052632,
+                    "heat.RQ10.L8:U_HDS_1_B2:first": 877.7468,
+                    "heat.RQ10.L8:U_HDS_1_B2:last20mean": 5.584986473684209,
                 },
                 "result": {
                     "heat.RQ10.L8:U_HDS_1_B1:first": True,
@@ -80,8 +86,14 @@ voltage_results = [
         ),
         tau_u_comp=pd.DataFrame(
             {
-                "ref": {"heat.RQ10.L8:U_HDS_1_B1:tau_charge": 0.115, "heat.RQ10.L8:U_HDS_1_B2:tau_charge": 0.119},
-                "act": {"heat.RQ10.L8:U_HDS_1_B1:tau_charge": 0.115, "heat.RQ10.L8:U_HDS_1_B2:tau_charge": 0.12},
+                "ref": {
+                    "heat.RQ10.L8:U_HDS_1_B1:tau_charge": 0.11530324330163416,
+                    "heat.RQ10.L8:U_HDS_1_B2:tau_charge": 0.11909642951168845,
+                },
+                "act": {
+                    "heat.RQ10.L8:U_HDS_1_B1:tau_charge": 0.11534810010559181,
+                    "heat.RQ10.L8:U_HDS_1_B2:tau_charge": 0.11957557103666304,
+                },
                 "diff": {"heat.RQ10.L8:U_HDS_1_B1:tau_charge": 0.005, "heat.RQ10.L8:U_HDS_1_B2:tau_charge": 0.005},
                 "result": {"heat.RQ10.L8:U_HDS_1_B1:tau_charge": True, "heat.RQ10.L8:U_HDS_1_B2:tau_charge": True},
             }
@@ -118,14 +130,14 @@ voltage_current_results = [
                     "C30R7:U_HDS_4:last20mean": 85.0,
                 },
                 "act": {
-                    "C30R7:U_HDS_1:first": 888.0,
-                    "C30R7:U_HDS_1:last20mean": 25.0,
-                    "C30R7:U_HDS_2:first": 908.0,
-                    "C30R7:U_HDS_2:last20mean": 26.0,
-                    "C30R7:U_HDS_3:first": 892.0,
-                    "C30R7:U_HDS_3:last20mean": 25.0,
-                    "C30R7:U_HDS_4:first": 914.0,
-                    "C30R7:U_HDS_4:last20mean": 26.0,
+                    "C30R7:U_HDS_1:first": 888.40393,
+                    "C30R7:U_HDS_1:last20mean": 24.70604784210526,
+                    "C30R7:U_HDS_2:first": 908.25995,
+                    "C30R7:U_HDS_2:last20mean": 26.152579894736842,
+                    "C30R7:U_HDS_3:first": 891.8538,
+                    "C30R7:U_HDS_3:last20mean": 25.207391157894737,
+                    "C30R7:U_HDS_4:first": 913.7031,
+                    "C30R7:U_HDS_4:last20mean": 26.215122,
                 },
                 "result": {
                     "C30R7:U_HDS_1:first": True,
@@ -142,24 +154,24 @@ voltage_current_results = [
         tau_u_comp=pd.DataFrame(
             {
                 "ref": {
-                    "C30R7:U_HDS_1:tau_charge": 0.08,
-                    "C30R7:U_HDS_2:tau_charge": 0.081,
-                    "C30R7:U_HDS_3:tau_charge": 0.081,
-                    "C30R7:U_HDS_4:tau_charge": 0.081,
-                    "C30R7:I_HDS_1:tau_charge": 0.071,
-                    "C30R7:I_HDS_2:tau_charge": 0.072,
-                    "C30R7:I_HDS_3:tau_charge": 0.072,
-                    "C30R7:I_HDS_4:tau_charge": 0.072,
+                    "C30R7:U_HDS_1:tau_charge": 0.0803384002218762,
+                    "C30R7:U_HDS_2:tau_charge": 0.08105435366896177,
+                    "C30R7:U_HDS_3:tau_charge": 0.0807878051730467,
+                    "C30R7:U_HDS_4:tau_charge": 0.08103697874980001,
+                    "C30R7:I_HDS_1:tau_charge": 0.0714828468520844,
+                    "C30R7:I_HDS_2:tau_charge": 0.07212241626012397,
+                    "C30R7:I_HDS_3:tau_charge": 0.07196327116251992,
+                    "C30R7:I_HDS_4:tau_charge": 0.07197860043624053,
                 },
                 "act": {
-                    "C30R7:U_HDS_1:tau_charge": 0.081,
-                    "C30R7:U_HDS_2:tau_charge": 0.081,
-                    "C30R7:U_HDS_3:tau_charge": 0.081,
-                    "C30R7:U_HDS_4:tau_charge": 0.081,
-                    "C30R7:I_HDS_1:tau_charge": 0.072,
-                    "C30R7:I_HDS_2:tau_charge": 0.072,
-                    "C30R7:I_HDS_3:tau_charge": 0.072,
-                    "C30R7:I_HDS_4:tau_charge": 0.072,
+                    "C30R7:U_HDS_1:tau_charge": 0.08050012805606813,
+                    "C30R7:U_HDS_2:tau_charge": 0.08111069243351804,
+                    "C30R7:U_HDS_3:tau_charge": 0.08089768611371288,
+                    "C30R7:U_HDS_4:tau_charge": 0.08123708148415804,
+                    "C30R7:I_HDS_1:tau_charge": 0.07157324367202234,
+                    "C30R7:I_HDS_2:tau_charge": 0.07209964661088765,
+                    "C30R7:I_HDS_3:tau_charge": 0.0720264023499229,
+                    "C30R7:I_HDS_4:tau_charge": 0.07208010616574748,
                 },
                 "diff": {
                     "C30R7:U_HDS_1:tau_charge": 0.003,
@@ -187,16 +199,16 @@ voltage_current_results = [
         first_r_comp=pd.DataFrame(
             {
                 "ref": {
-                    "C30R7:R_HDS_1:first20mean": 10.42,
-                    "C30R7:R_HDS_2:first20mean": 10.47,
-                    "C30R7:R_HDS_3:first20mean": 10.43,
-                    "C30R7:R_HDS_4:first20mean": 10.44,
+                    "C30R7:R_HDS_1:first20mean": 10.42337647901183,
+                    "C30R7:R_HDS_2:first20mean": 10.471266085058605,
+                    "C30R7:R_HDS_3:first20mean": 10.431611690145044,
+                    "C30R7:R_HDS_4:first20mean": 10.443780192323377,
                 },
                 "act": {
-                    "C30R7:R_HDS_1:first20mean": 10.42,
-                    "C30R7:R_HDS_2:first20mean": 10.47,
-                    "C30R7:R_HDS_3:first20mean": 10.43,
-                    "C30R7:R_HDS_4:first20mean": 10.44,
+                    "C30R7:R_HDS_1:first20mean": 10.424187831781214,
+                    "C30R7:R_HDS_2:first20mean": 10.47475044816252,
+                    "C30R7:R_HDS_3:first20mean": 10.430886634418657,
+                    "C30R7:R_HDS_4:first20mean": 10.444593882174425,
                 },
                 "diff": {
                     "C30R7:R_HDS_1:first20mean": 0.5,
@@ -215,16 +227,16 @@ voltage_current_results = [
         capacitance_comp=pd.DataFrame(
             {
                 "ref": {
-                    "C30R7_C_HDS_1:capacitance": 0.007677543186180423,
-                    "C30R7_C_HDS_2:capacitance": 0.007736389684813753,
-                    "C30R7_C_HDS_3:capacitance": 0.007766059443911793,
-                    "C30R7_C_HDS_4:capacitance": 0.007758620689655173,
+                    "C30R7_C_HDS_1:capacitance": 0.0077075216829827625,
+                    "C30R7_C_HDS_2:capacitance": 0.00774064501948029,
+                    "C30R7_C_HDS_3:capacitance": 0.007744518064199859,
+                    "C30R7_C_HDS_4:capacitance": 0.007759353151588315,
                 },
                 "act": {
-                    "C30R7_C_HDS_1:capacitance": 0.0077735124760076775,
-                    "C30R7_C_HDS_2:capacitance": 0.007736389684813753,
-                    "C30R7_C_HDS_3:capacitance": 0.007766059443911793,
-                    "C30R7_C_HDS_4:capacitance": 0.007758620689655173,
+                    "C30R7_C_HDS_1:capacitance": 0.007722436448299571,
+                    "C30R7_C_HDS_2:capacitance": 0.007743448670678972,
+                    "C30R7_C_HDS_3:capacitance": 0.007755590579114902,
+                    "C30R7_C_HDS_4:capacitance": 0.007777907154705527,
                 },
                 "diff": {
                     "C30R7_C_HDS_1:capacitance": nan,
@@ -267,14 +279,14 @@ voltage_current_results = [
                     "A30R7:U_HDS_4:last20mean": 85.0,
                 },
                 "act": {
-                    "A30R7:U_HDS_1:first": 928.0,
-                    "A30R7:U_HDS_1:last20mean": 26.0,
-                    "A30R7:U_HDS_2:first": 931.0,
-                    "A30R7:U_HDS_2:last20mean": 28.0,
-                    "A30R7:U_HDS_3:first": 928.0,
-                    "A30R7:U_HDS_3:last20mean": 28.0,
-                    "A30R7:U_HDS_4:first": 932.0,
-                    "A30R7:U_HDS_4:last20mean": 30.0,
+                    "A30R7:U_HDS_1:first": 927.6177,
+                    "A30R7:U_HDS_1:last20mean": 26.307926157894737,
+                    "A30R7:U_HDS_2:first": 930.9526,
+                    "A30R7:U_HDS_2:last20mean": 28.127692105263158,
+                    "A30R7:U_HDS_3:first": 928.231,
+                    "A30R7:U_HDS_3:last20mean": 27.976381210526316,
+                    "A30R7:U_HDS_4:first": 932.3517,
+                    "A30R7:U_HDS_4:last20mean": 29.86877647368421,
                 },
                 "result": {
                     "A30R7:U_HDS_1:first": True,
@@ -291,24 +303,24 @@ voltage_current_results = [
         tau_u_comp=pd.DataFrame(
             {
                 "ref": {
-                    "A30R7:U_HDS_1:tau_charge": 0.081,
-                    "A30R7:U_HDS_2:tau_charge": 0.083,
-                    "A30R7:U_HDS_3:tau_charge": 0.083,
-                    "A30R7:U_HDS_4:tau_charge": 0.085,
-                    "A30R7:I_HDS_1:tau_charge": 0.073,
-                    "A30R7:I_HDS_2:tau_charge": 0.074,
-                    "A30R7:I_HDS_3:tau_charge": 0.074,
-                    "A30R7:I_HDS_4:tau_charge": 0.076,
+                    "A30R7:U_HDS_1:tau_charge": 0.08102250574951839,
+                    "A30R7:U_HDS_2:tau_charge": 0.08275334470660613,
+                    "A30R7:U_HDS_3:tau_charge": 0.08264649859903805,
+                    "A30R7:U_HDS_4:tau_charge": 0.08470486008086571,
+                    "A30R7:I_HDS_1:tau_charge": 0.07253970222141419,
+                    "A30R7:I_HDS_2:tau_charge": 0.0740951958169736,
+                    "A30R7:I_HDS_3:tau_charge": 0.07390495043786748,
+                    "A30R7:I_HDS_4:tau_charge": 0.07595118495362739,
                 },
                 "act": {
-                    "A30R7:U_HDS_1:tau_charge": 0.081,
-                    "A30R7:U_HDS_2:tau_charge": 0.083,
-                    "A30R7:U_HDS_3:tau_charge": 0.083,
-                    "A30R7:U_HDS_4:tau_charge": 0.085,
-                    "A30R7:I_HDS_1:tau_charge": 0.073,
-                    "A30R7:I_HDS_2:tau_charge": 0.074,
-                    "A30R7:I_HDS_3:tau_charge": 0.074,
-                    "A30R7:I_HDS_4:tau_charge": 0.076,
+                    "A30R7:U_HDS_1:tau_charge": 0.08131488764349393,
+                    "A30R7:U_HDS_2:tau_charge": 0.08300644333204622,
+                    "A30R7:U_HDS_3:tau_charge": 0.08281633461982348,
+                    "A30R7:U_HDS_4:tau_charge": 0.08490747263568349,
+                    "A30R7:I_HDS_1:tau_charge": 0.0725933544423289,
+                    "A30R7:I_HDS_2:tau_charge": 0.07406495624069481,
+                    "A30R7:I_HDS_3:tau_charge": 0.07405518598149843,
+                    "A30R7:I_HDS_4:tau_charge": 0.07597673821209489,
                 },
                 "diff": {
                     "A30R7:U_HDS_1:tau_charge": 0.003,
@@ -336,16 +348,16 @@ voltage_current_results = [
         first_r_comp=pd.DataFrame(
             {
                 "ref": {
-                    "A30R7:R_HDS_1:first20mean": 11.07,
-                    "A30R7:R_HDS_2:first20mean": 11.11,
-                    "A30R7:R_HDS_3:first20mean": 11.19,
-                    "A30R7:R_HDS_4:first20mean": 11.21,
+                    "A30R7:R_HDS_1:first20mean": 11.070608799674966,
+                    "A30R7:R_HDS_2:first20mean": 11.112810318492485,
+                    "A30R7:R_HDS_3:first20mean": 11.189910462117012,
+                    "A30R7:R_HDS_4:first20mean": 11.213335704996982,
                 },
                 "act": {
-                    "A30R7:R_HDS_1:first20mean": 11.07,
-                    "A30R7:R_HDS_2:first20mean": 11.11,
-                    "A30R7:R_HDS_3:first20mean": 11.19,
-                    "A30R7:R_HDS_4:first20mean": 11.21,
+                    "A30R7:R_HDS_1:first20mean": 11.068470250022356,
+                    "A30R7:R_HDS_2:first20mean": 11.109566125480564,
+                    "A30R7:R_HDS_3:first20mean": 11.190346409949633,
+                    "A30R7:R_HDS_4:first20mean": 11.20972472600589,
                 },
                 "diff": {
                     "A30R7:R_HDS_1:first20mean": 0.5,
@@ -364,16 +376,16 @@ voltage_current_results = [
         capacitance_comp=pd.DataFrame(
             {
                 "ref": {
-                    "A30R7_C_HDS_1:capacitance": 0.007317073170731708,
-                    "A30R7_C_HDS_2:capacitance": 0.007470747074707472,
-                    "A30R7_C_HDS_3:capacitance": 0.007417336907953531,
-                    "A30R7_C_HDS_4:capacitance": 0.007582515611061552,
+                    "A30R7_C_HDS_1:capacitance": 0.007318703715002305,
+                    "A30R7_C_HDS_2:capacitance": 0.007446662215488268,
+                    "A30R7_C_HDS_3:capacitance": 0.0073858051750131885,
+                    "A30R7_C_HDS_4:capacitance": 0.0075539395510221645,
                 },
                 "act": {
-                    "A30R7_C_HDS_1:capacitance": 0.007317073170731708,
-                    "A30R7_C_HDS_2:capacitance": 0.007470747074707472,
-                    "A30R7_C_HDS_3:capacitance": 0.007417336907953531,
-                    "A30R7_C_HDS_4:capacitance": 0.007582515611061552,
+                    "A30R7_C_HDS_1:capacitance": 0.007346533514270383,
+                    "A30R7_C_HDS_2:capacitance": 0.00747161881881824,
+                    "A30R7_C_HDS_3:capacitance": 0.007400694454479915,
+                    "A30R7_C_HDS_4:capacitance": 0.007574447607861703,
                 },
                 "diff": {
                     "A30R7_C_HDS_1:capacitance": nan,
@@ -416,14 +428,14 @@ voltage_current_results = [
                     "B31R7:U_HDS_4:last20mean": 85.0,
                 },
                 "act": {
-                    "B31R7:U_HDS_1:first": 892.0,
-                    "B31R7:U_HDS_1:last20mean": 29.0,
-                    "B31R7:U_HDS_2:first": 893.0,
-                    "B31R7:U_HDS_2:last20mean": 27.0,
-                    "B31R7:U_HDS_3:first": 895.0,
-                    "B31R7:U_HDS_3:last20mean": 27.0,
-                    "B31R7:U_HDS_4:first": 886.0,
-                    "B31R7:U_HDS_4:last20mean": 29.0,
+                    "B31R7:U_HDS_1:first": 891.7963,
+                    "B31R7:U_HDS_1:last20mean": 28.65627194736842,
+                    "B31R7:U_HDS_2:first": 893.2146,
+                    "B31R7:U_HDS_2:last20mean": 27.136101210526316,
+                    "B31R7:U_HDS_3:first": 895.2462,
+                    "B31R7:U_HDS_3:last20mean": 27.227896894736844,
+                    "B31R7:U_HDS_4:first": 885.7782,
+                    "B31R7:U_HDS_4:last20mean": 28.527153157894734,
                 },
                 "result": {
                     "B31R7:U_HDS_1:first": True,
@@ -440,24 +452,24 @@ voltage_current_results = [
         tau_u_comp=pd.DataFrame(
             {
                 "ref": {
-                    "B31R7:U_HDS_1:tau_charge": 0.084,
-                    "B31R7:U_HDS_2:tau_charge": 0.083,
-                    "B31R7:U_HDS_3:tau_charge": 0.082,
-                    "B31R7:U_HDS_4:tau_charge": 0.084,
-                    "B31R7:I_HDS_1:tau_charge": 0.074,
-                    "B31R7:I_HDS_2:tau_charge": 0.074,
-                    "B31R7:I_HDS_3:tau_charge": 0.073,
-                    "B31R7:I_HDS_4:tau_charge": 0.075,
+                    "B31R7:U_HDS_1:tau_charge": 0.08357204522206933,
+                    "B31R7:U_HDS_2:tau_charge": 0.08253101024332496,
+                    "B31R7:U_HDS_3:tau_charge": 0.08234172186089629,
+                    "B31R7:U_HDS_4:tau_charge": 0.0837485513228505,
+                    "B31R7:I_HDS_1:tau_charge": 0.07439653890695783,
+                    "B31R7:I_HDS_2:tau_charge": 0.07371927666324456,
+                    "B31R7:I_HDS_3:tau_charge": 0.07334682275126868,
+                    "B31R7:I_HDS_4:tau_charge": 0.07451417505545971,
                 },
                 "act": {
-                    "B31R7:U_HDS_1:tau_charge": 0.083,
-                    "B31R7:U_HDS_2:tau_charge": 0.082,
-                    "B31R7:U_HDS_3:tau_charge": 0.082,
-                    "B31R7:U_HDS_4:tau_charge": 0.083,
-                    "B31R7:I_HDS_1:tau_charge": 0.074,
-                    "B31R7:I_HDS_2:tau_charge": 0.073,
-                    "B31R7:I_HDS_3:tau_charge": 0.073,
-                    "B31R7:I_HDS_4:tau_charge": 0.074,
+                    "B31R7:U_HDS_1:tau_charge": 0.08276108496534074,
+                    "B31R7:U_HDS_2:tau_charge": 0.08208498324238353,
+                    "B31R7:U_HDS_3:tau_charge": 0.08211453283992369,
+                    "B31R7:U_HDS_4:tau_charge": 0.08321942764826676,
+                    "B31R7:I_HDS_1:tau_charge": 0.07363895966538866,
+                    "B31R7:I_HDS_2:tau_charge": 0.07327427524562014,
+                    "B31R7:I_HDS_3:tau_charge": 0.0731073888004975,
+                    "B31R7:I_HDS_4:tau_charge": 0.0740059771463983,
                 },
                 "diff": {
                     "B31R7:U_HDS_1:tau_charge": 0.003,
@@ -485,16 +497,16 @@ voltage_current_results = [
         first_r_comp=pd.DataFrame(
             {
                 "ref": {
-                    "B31R7:R_HDS_1:first20mean": 10.49,
-                    "B31R7:R_HDS_2:first20mean": 10.57,
-                    "B31R7:R_HDS_3:first20mean": 10.57,
-                    "B31R7:R_HDS_4:first20mean": 10.47,
+                    "B31R7:R_HDS_1:first20mean": 10.486675564672144,
+                    "B31R7:R_HDS_2:first20mean": 10.573151127956802,
+                    "B31R7:R_HDS_3:first20mean": 10.574578669926979,
+                    "B31R7:R_HDS_4:first20mean": 10.470002875365768,
                 },
                 "act": {
-                    "B31R7:R_HDS_1:first20mean": 10.48,
-                    "B31R7:R_HDS_2:first20mean": 10.57,
-                    "B31R7:R_HDS_3:first20mean": 10.57,
-                    "B31R7:R_HDS_4:first20mean": 10.46,
+                    "B31R7:R_HDS_1:first20mean": 10.478264950093267,
+                    "B31R7:R_HDS_2:first20mean": 10.568922546475717,
+                    "B31R7:R_HDS_3:first20mean": 10.56600600837526,
+                    "B31R7:R_HDS_4:first20mean": 10.463035265407186,
                 },
                 "diff": {
                     "B31R7:R_HDS_1:first20mean": 0.5,
@@ -513,16 +525,16 @@ voltage_current_results = [
         capacitance_comp=pd.DataFrame(
             {
                 "ref": {
-                    "B31R7_C_HDS_1:capacitance": 0.008007626310772164,
-                    "B31R7_C_HDS_2:capacitance": 0.007852412488174077,
-                    "B31R7_C_HDS_3:capacitance": 0.007757805108798486,
-                    "B31R7_C_HDS_4:capacitance": 0.008022922636103151,
+                    "B31R7_C_HDS_1:capacitance": 0.007969355465101788,
+                    "B31R7_C_HDS_2:capacitance": 0.007805715556746571,
+                    "B31R7_C_HDS_3:capacitance": 0.007786761480631634,
+                    "B31R7_C_HDS_4:capacitance": 0.007998904328851463,
                 },
                 "act": {
-                    "B31R7_C_HDS_1:capacitance": 0.007919847328244274,
-                    "B31R7_C_HDS_2:capacitance": 0.007757805108798486,
-                    "B31R7_C_HDS_3:capacitance": 0.007757805108798486,
-                    "B31R7_C_HDS_4:capacitance": 0.007934990439770554,
+                    "B31R7_C_HDS_1:capacitance": 0.007898357729979339,
+                    "B31R7_C_HDS_2:capacitance": 0.007766636843199817,
+                    "B31R7_C_HDS_3:capacitance": 0.007771577337248788,
+                    "B31R7_C_HDS_4:capacitance": 0.007953660246506695,
                 },
                 "diff": {
                     "B31R7_C_HDS_1:capacitance": nan,
@@ -557,10 +569,10 @@ voltage_current_results = [
                     "18R2:U_HDS_2:last20mean": 45.0,
                 },
                 "act": {
-                    "18R2:U_HDS_1:first": 915.0,
-                    "18R2:U_HDS_1:last20mean": 27.0,
-                    "18R2:U_HDS_2:first": 916.0,
-                    "18R2:U_HDS_2:last20mean": 27.0,
+                    "18R2:U_HDS_1:first": 914.82446,
+                    "18R2:U_HDS_1:last20mean": 27.266335368421053,
+                    "18R2:U_HDS_2:first": 915.56726,
+                    "18R2:U_HDS_2:last20mean": 27.479645684210524,
                 },
                 "result": {
                     "18R2:U_HDS_1:first": True,
@@ -573,16 +585,16 @@ voltage_current_results = [
         tau_u_comp=pd.DataFrame(
             {
                 "ref": {
-                    "18R2:U_HDS_1:tau_charge": 0.082,
-                    "18R2:U_HDS_2:tau_charge": 0.083,
-                    "18R2:I_HDS_1:tau_charge": 0.073,
-                    "18R2:I_HDS_2:tau_charge": 0.073,
+                    "18R2:U_HDS_1:tau_charge": 0.08228129379948082,
+                    "18R2:U_HDS_2:tau_charge": 0.08260873643120471,
+                    "18R2:I_HDS_1:tau_charge": 0.07297708077127855,
+                    "18R2:I_HDS_2:tau_charge": 0.07318586569514528,
                 },
                 "act": {
-                    "18R2:U_HDS_1:tau_charge": 0.083,
-                    "18R2:U_HDS_2:tau_charge": 0.083,
-                    "18R2:I_HDS_1:tau_charge": 0.074,
-                    "18R2:I_HDS_2:tau_charge": 0.074,
+                    "18R2:U_HDS_1:tau_charge": 0.08328160074983856,
+                    "18R2:U_HDS_2:tau_charge": 0.083464569352813,
+                    "18R2:I_HDS_1:tau_charge": 0.0737712434857393,
+                    "18R2:I_HDS_2:tau_charge": 0.07395414775476841,
                 },
                 "diff": {
                     "18R2:U_HDS_1:tau_charge": 0.003,
@@ -601,8 +613,8 @@ voltage_current_results = [
         is_qh_ok=True,
         first_r_comp=pd.DataFrame(
             {
-                "ref": {"18R2:R_HDS_1:first20mean": 10.97, "18R2:R_HDS_2:first20mean": 11.01},
-                "act": {"18R2:R_HDS_1:first20mean": 10.99, "18R2:R_HDS_2:first20mean": 11.01},
+                "ref": {"18R2:R_HDS_1:first20mean": 10.970921018587077, "18R2:R_HDS_2:first20mean": 11.014593851410535},
+                "act": {"18R2:R_HDS_1:first20mean": 10.988526972404937, "18R2:R_HDS_2:first20mean": 11.012254867114663},
                 "diff": {"18R2:R_HDS_1:first20mean": 0.5, "18R2:R_HDS_2:first20mean": 0.5},
                 "result": {"18R2:R_HDS_1:first20mean": True, "18R2:R_HDS_2:first20mean": True},
             }
@@ -610,12 +622,12 @@ voltage_current_results = [
         capacitance_comp=pd.DataFrame(
             {
                 "ref": {
-                    "18R2_C_HDS_1:capacitance": 0.00747493163172288,
-                    "18R2_C_HDS_2:capacitance": 0.007538601271571299,
+                    "18R2_C_HDS_1:capacitance": 0.0074999440484603596,
+                    "18R2_C_HDS_2:capacitance": 0.00749993486329283,
                 },
                 "act": {
-                    "18R2_C_HDS_1:capacitance": 0.007552320291173795,
-                    "18R2_C_HDS_2:capacitance": 0.007538601271571299,
+                    "18R2_C_HDS_1:capacitance": 0.007578959487379922,
+                    "18R2_C_HDS_2:capacitance": 0.0075792442474301065,
                 },
                 "diff": {"18R2_C_HDS_1:capacitance": nan, "18R2_C_HDS_2:capacitance": nan},
                 "result": {"18R2_C_HDS_1:capacitance": nan, "18R2_C_HDS_2:capacitance": nan},
@@ -640,10 +652,10 @@ voltage_current_results = [
                     "29R7:U_HDS_2:last20mean": 45.0,
                 },
                 "act": {
-                    "29R7:U_HDS_1:first": 912.0,
-                    "29R7:U_HDS_1:last20mean": 27.0,
-                    "29R7:U_HDS_2:first": 909.0,
-                    "29R7:U_HDS_2:last20mean": 26.0,
+                    "29R7:U_HDS_1:first": 912.30554,
+                    "29R7:U_HDS_1:last20mean": 26.51422505263158,
+                    "29R7:U_HDS_2:first": 908.5433,
+                    "29R7:U_HDS_2:last20mean": 26.00261984210526,
                 },
                 "result": {
                     "29R7:U_HDS_1:first": True,
@@ -656,16 +668,16 @@ voltage_current_results = [
         tau_u_comp=pd.DataFrame(
             {
                 "ref": {
-                    "29R7:U_HDS_1:tau_charge": 0.081,
-                    "29R7:U_HDS_2:tau_charge": 0.081,
-                    "29R7:I_HDS_1:tau_charge": 0.072,
-                    "29R7:I_HDS_2:tau_charge": 0.072,
+                    "29R7:U_HDS_1:tau_charge": 0.0810654593155952,
+                    "29R7:U_HDS_2:tau_charge": 0.08115745755466233,
+                    "29R7:I_HDS_1:tau_charge": 0.07184079996529523,
+                    "29R7:I_HDS_2:tau_charge": 0.07225868679788079,
                 },
                 "act": {
-                    "29R7:U_HDS_1:tau_charge": 0.082,
-                    "29R7:U_HDS_2:tau_charge": 0.082,
-                    "29R7:I_HDS_1:tau_charge": 0.073,
-                    "29R7:I_HDS_2:tau_charge": 0.073,
+                    "29R7:U_HDS_1:tau_charge": 0.08223054220288487,
+                    "29R7:U_HDS_2:tau_charge": 0.08215291321952317,
+                    "29R7:I_HDS_1:tau_charge": 0.0727587355253246,
+                    "29R7:I_HDS_2:tau_charge": 0.0728522663977371,
                 },
                 "diff": {
                     "29R7:U_HDS_1:tau_charge": 0.003,
@@ -684,8 +696,8 @@ voltage_current_results = [
         is_qh_ok=True,
         first_r_comp=pd.DataFrame(
             {
-                "ref": {"29R7:R_HDS_1:first20mean": 10.82, "29R7:R_HDS_2:first20mean": 10.96},
-                "act": {"29R7:R_HDS_1:first20mean": 10.82, "29R7:R_HDS_2:first20mean": 10.92},
+                "ref": {"29R7:R_HDS_1:first20mean": 10.81556434898576, "29R7:R_HDS_2:first20mean": 10.962061384576465},
+                "act": {"29R7:R_HDS_1:first20mean": 10.818035463648254, "29R7:R_HDS_2:first20mean": 10.92488589559435},
                 "diff": {"29R7:R_HDS_1:first20mean": 0.5, "29R7:R_HDS_2:first20mean": 0.5},
                 "result": {"29R7:R_HDS_1:first20mean": True, "29R7:R_HDS_2:first20mean": True},
             }
@@ -693,12 +705,12 @@ voltage_current_results = [
         capacitance_comp=pd.DataFrame(
             {
                 "ref": {
-                    "29R7_C_HDS_1:capacitance": 0.007486136783733826,
-                    "29R7_C_HDS_2:capacitance": 0.007390510948905109,
+                    "29R7_C_HDS_1:capacitance": 0.007495259304078496,
+                    "29R7_C_HDS_2:capacitance": 0.007403485047880706,
                 },
                 "act": {
-                    "29R7_C_HDS_1:capacitance": 0.007578558225508318,
-                    "29R7_C_HDS_2:capacitance": 0.007509157509157509,
+                    "29R7_C_HDS_1:capacitance": 0.007601245390552047,
+                    "29R7_C_HDS_2:capacitance": 0.007519795996464618,
                 },
                 "diff": {"29R7_C_HDS_1:capacitance": nan, "29R7_C_HDS_2:capacitance": nan},
                 "result": {"29R7_C_HDS_1:capacitance": nan, "29R7_C_HDS_2:capacitance": nan},
diff --git a/test/integration/test_qh_voltage_analysis.py b/test/integration/test_qh_voltage_analysis.py
index 064cb57..328a1a8 100644
--- a/test/integration/test_qh_voltage_analysis.py
+++ b/test/integration/test_qh_voltage_analysis.py
@@ -56,22 +56,22 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageAnalysis, VoltageResult
                                 "heat.RQX.L1:U_HDS_4_Q2:last20mean": 20.0,
                             },
                             "act": {
-                                "heat.RQX.L1:U_HDS_1_Q1:first": 886.0,
-                                "heat.RQX.L1:U_HDS_1_Q1:last20mean": 4.0,
-                                "heat.RQX.L1:U_HDS_1_Q2:first": 862.0,
-                                "heat.RQX.L1:U_HDS_1_Q2:last20mean": 3.0,
-                                "heat.RQX.L1:U_HDS_1_Q3:first": 851.0,
-                                "heat.RQX.L1:U_HDS_1_Q3:last20mean": 5.0,
-                                "heat.RQX.L1:U_HDS_2_Q1:first": 869.0,
-                                "heat.RQX.L1:U_HDS_2_Q1:last20mean": 4.0,
-                                "heat.RQX.L1:U_HDS_2_Q2:first": 851.0,
-                                "heat.RQX.L1:U_HDS_2_Q2:last20mean": 3.0,
-                                "heat.RQX.L1:U_HDS_2_Q3:first": 887.0,
-                                "heat.RQX.L1:U_HDS_2_Q3:last20mean": 4.0,
-                                "heat.RQX.L1:U_HDS_3_Q2:first": 829.0,
-                                "heat.RQX.L1:U_HDS_3_Q2:last20mean": 3.0,
-                                "heat.RQX.L1:U_HDS_4_Q2:first": 864.0,
-                                "heat.RQX.L1:U_HDS_4_Q2:last20mean": 3.0,
+                                "heat.RQX.L1:U_HDS_1_Q1:first": 885.72076,
+                                "heat.RQX.L1:U_HDS_1_Q1:last20mean": 4.212952189473685,
+                                "heat.RQX.L1:U_HDS_1_Q2:first": 862.4123,
+                                "heat.RQX.L1:U_HDS_1_Q2:last20mean": 3.2121742210526314,
+                                "heat.RQX.L1:U_HDS_1_Q3:first": 851.06476,
+                                "heat.RQX.L1:U_HDS_1_Q3:last20mean": 4.600350000000001,
+                                "heat.RQX.L1:U_HDS_2_Q1:first": 868.8528,
+                                "heat.RQX.L1:U_HDS_2_Q1:last20mean": 4.212952189473685,
+                                "heat.RQX.L1:U_HDS_2_Q2:first": 850.75806,
+                                "heat.RQX.L1:U_HDS_2_Q2:last20mean": 2.711785263157894,
+                                "heat.RQX.L1:U_HDS_2_Q3:first": 887.2542,
+                                "heat.RQX.L1:U_HDS_2_Q3:last20mean": 4.180669031578947,
+                                "heat.RQX.L1:U_HDS_3_Q2:first": 828.9831,
+                                "heat.RQX.L1:U_HDS_3_Q2:last20mean": 3.3090237157894733,
+                                "heat.RQX.L1:U_HDS_4_Q2:first": 863.94574,
+                                "heat.RQX.L1:U_HDS_4_Q2:last20mean": 3.2121742105263156,
                             },
                             "result": {
                                 "heat.RQX.L1:U_HDS_1_Q1:first": True,
@@ -96,24 +96,24 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageAnalysis, VoltageResult
                     tau_u_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "heat.RQX.L1:U_HDS_1_Q1:tau_charge": 0.096,
-                                "heat.RQX.L1:U_HDS_2_Q1:tau_charge": 0.091,
-                                "heat.RQX.L1:U_HDS_1_Q2:tau_charge": 0.151,
-                                "heat.RQX.L1:U_HDS_2_Q2:tau_charge": 0.151,
-                                "heat.RQX.L1:U_HDS_3_Q2:tau_charge": 0.09,
-                                "heat.RQX.L1:U_HDS_4_Q2:tau_charge": 0.092,
-                                "heat.RQX.L1:U_HDS_1_Q3:tau_charge": 0.145,
-                                "heat.RQX.L1:U_HDS_2_Q3:tau_charge": 0.139,
+                                "heat.RQX.L1:U_HDS_1_Q1:tau_charge": 0.09554789908868778,
+                                "heat.RQX.L1:U_HDS_2_Q1:tau_charge": 0.09117852473845597,
+                                "heat.RQX.L1:U_HDS_1_Q2:tau_charge": 0.15147123031618348,
+                                "heat.RQX.L1:U_HDS_2_Q2:tau_charge": 0.15063191076201596,
+                                "heat.RQX.L1:U_HDS_3_Q2:tau_charge": 0.08969346960764893,
+                                "heat.RQX.L1:U_HDS_4_Q2:tau_charge": 0.09175190244463913,
+                                "heat.RQX.L1:U_HDS_1_Q3:tau_charge": 0.14454873627496315,
+                                "heat.RQX.L1:U_HDS_2_Q3:tau_charge": 0.13946394408097884,
                             },
                             "act": {
-                                "heat.RQX.L1:U_HDS_1_Q1:tau_charge": 0.15,
-                                "heat.RQX.L1:U_HDS_2_Q1:tau_charge": 0.142,
-                                "heat.RQX.L1:U_HDS_1_Q2:tau_charge": 0.097,
-                                "heat.RQX.L1:U_HDS_2_Q2:tau_charge": 0.097,
-                                "heat.RQX.L1:U_HDS_3_Q2:tau_charge": 0.089,
-                                "heat.RQX.L1:U_HDS_4_Q2:tau_charge": 0.092,
-                                "heat.RQX.L1:U_HDS_1_Q3:tau_charge": 0.144,
-                                "heat.RQX.L1:U_HDS_2_Q3:tau_charge": 0.14,
+                                "heat.RQX.L1:U_HDS_1_Q1:tau_charge": 0.14998677986152412,
+                                "heat.RQX.L1:U_HDS_2_Q1:tau_charge": 0.14212340240060667,
+                                "heat.RQX.L1:U_HDS_1_Q2:tau_charge": 0.09714846563582001,
+                                "heat.RQX.L1:U_HDS_2_Q2:tau_charge": 0.09741359617856106,
+                                "heat.RQX.L1:U_HDS_3_Q2:tau_charge": 0.08906683833347742,
+                                "heat.RQX.L1:U_HDS_4_Q2:tau_charge": 0.09248307882303158,
+                                "heat.RQX.L1:U_HDS_1_Q3:tau_charge": 0.1437388647860089,
+                                "heat.RQX.L1:U_HDS_2_Q3:tau_charge": 0.1395364573449728,
                             },
                             "diff": {
                                 "heat.RQX.L1:U_HDS_1_Q1:tau_charge": 0.005,
@@ -166,10 +166,10 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageAnalysis, VoltageResult
                                 "heat.RQ10.L1:U_HDS_1_B2:last20mean": 20.0,
                             },
                             "act": {
-                                "heat.RQ10.L1:U_HDS_1_B1:first": 884.0,
-                                "heat.RQ10.L1:U_HDS_1_B1:last20mean": 3.0,
-                                "heat.RQ10.L1:U_HDS_1_B2:first": 923.0,
-                                "heat.RQ10.L1:U_HDS_1_B2:last20mean": 3.0,
+                                "heat.RQ10.L1:U_HDS_1_B1:first": 883.5739,
+                                "heat.RQ10.L1:U_HDS_1_B1:last20mean": 3.4865811473684207,
+                                "heat.RQ10.L1:U_HDS_1_B2:first": 922.83026,
+                                "heat.RQ10.L1:U_HDS_1_B2:last20mean": 2.9216257894736843,
                             },
                             "result": {
                                 "heat.RQ10.L1:U_HDS_1_B1:first": True,
@@ -182,12 +182,12 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageAnalysis, VoltageResult
                     tau_u_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "heat.RQ10.L1:U_HDS_1_B1:tau_charge": 0.104,
-                                "heat.RQ10.L1:U_HDS_1_B2:tau_charge": 0.103,
+                                "heat.RQ10.L1:U_HDS_1_B1:tau_charge": 0.10359600967160373,
+                                "heat.RQ10.L1:U_HDS_1_B2:tau_charge": 0.1031478718670971,
                             },
                             "act": {
-                                "heat.RQ10.L1:U_HDS_1_B1:tau_charge": 0.102,
-                                "heat.RQ10.L1:U_HDS_1_B2:tau_charge": 0.103,
+                                "heat.RQ10.L1:U_HDS_1_B1:tau_charge": 0.10230494718497411,
+                                "heat.RQ10.L1:U_HDS_1_B2:tau_charge": 0.10270333089638121,
                             },
                             "diff": {
                                 "heat.RQ10.L1:U_HDS_1_B1:tau_charge": 0.005,
@@ -219,10 +219,10 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageAnalysis, VoltageResult
                                 "heat.RQ10.L1:U_HDS_1_B2:last20mean": 20.0,
                             },
                             "act": {
-                                "heat.RQ10.L1:U_HDS_1_B1:first": 884.0,
-                                "heat.RQ10.L1:U_HDS_1_B1:last20mean": 3.0,
-                                "heat.RQ10.L1:U_HDS_1_B2:first": 923.0,
-                                "heat.RQ10.L1:U_HDS_1_B2:last20mean": 3.0,
+                                "heat.RQ10.L1:U_HDS_1_B1:first": 883.5739,
+                                "heat.RQ10.L1:U_HDS_1_B1:last20mean": 3.4865811473684207,
+                                "heat.RQ10.L1:U_HDS_1_B2:first": 922.83026,
+                                "heat.RQ10.L1:U_HDS_1_B2:last20mean": 2.9216257894736843,
                             },
                             "result": {
                                 "heat.RQ10.L1:U_HDS_1_B1:first": True,
@@ -235,12 +235,12 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageAnalysis, VoltageResult
                     tau_u_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "heat.RQ10.L1:U_HDS_1_B1:tau_charge": 0.104,
-                                "heat.RQ10.L1:U_HDS_1_B2:tau_charge": 0.103,
+                                "heat.RQ10.L1:U_HDS_1_B1:tau_charge": 0.10359600967160373,
+                                "heat.RQ10.L1:U_HDS_1_B2:tau_charge": 0.1031478718670971,
                             },
                             "act": {
-                                "heat.RQ10.L1:U_HDS_1_B1:tau_charge": 0.102,
-                                "heat.RQ10.L1:U_HDS_1_B2:tau_charge": 0.103,
+                                "heat.RQ10.L1:U_HDS_1_B1:tau_charge": 0.10230494718497411,
+                                "heat.RQ10.L1:U_HDS_1_B2:tau_charge": 0.10270333089638121,
                             },
                             "diff": {
                                 "heat.RQ10.L1:U_HDS_1_B1:tau_charge": 0.005,
diff --git a/test/integration/test_qh_voltage_current_analysis.py b/test/integration/test_qh_voltage_current_analysis.py
index 6eda9ce..39ac36e 100644
--- a/test/integration/test_qh_voltage_current_analysis.py
+++ b/test/integration/test_qh_voltage_current_analysis.py
@@ -41,14 +41,14 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                                 "B30R1:U_HDS_4:last20mean": 85.0,
                             },
                             "act": {
-                                "B30R1:U_HDS_1:first": 903.0,
-                                "B30R1:U_HDS_1:last20mean": 28.0,
-                                "B30R1:U_HDS_2:first": 912.0,
-                                "B30R1:U_HDS_2:last20mean": 29.0,
-                                "B30R1:U_HDS_3:first": 907.0,
-                                "B30R1:U_HDS_3:last20mean": 30.0,
-                                "B30R1:U_HDS_4:first": 906.0,
-                                "B30R1:U_HDS_4:last20mean": 28.0,
+                                "B30R1:U_HDS_1:first": 902.85516,
+                                "B30R1:U_HDS_1:last20mean": 28.183172894736842,
+                                "B30R1:U_HDS_2:first": 911.53735,
+                                "B30R1:U_HDS_2:last20mean": 28.58666894736842,
+                                "B30R1:U_HDS_3:first": 906.8225,
+                                "B30R1:U_HDS_3:last20mean": 30.194599421052633,
+                                "B30R1:U_HDS_4:first": 905.5959,
+                                "B30R1:U_HDS_4:last20mean": 27.922917947368422,
                             },
                             "result": {
                                 "B30R1:U_HDS_1:first": True,
@@ -65,24 +65,24 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     tau_u_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "B30R1:U_HDS_1:tau_charge": 0.081,
-                                "B30R1:U_HDS_2:tau_charge": 0.081,
-                                "B30R1:U_HDS_3:tau_charge": 0.083,
-                                "B30R1:U_HDS_4:tau_charge": 0.081,
-                                "B30R1:I_HDS_1:tau_charge": 0.072,
-                                "B30R1:I_HDS_2:tau_charge": 0.072,
-                                "B30R1:I_HDS_3:tau_charge": 0.074,
-                                "B30R1:I_HDS_4:tau_charge": 0.072,
+                                "B30R1:U_HDS_1:tau_charge": 0.08127265805820821,
+                                "B30R1:U_HDS_2:tau_charge": 0.08096847543520991,
+                                "B30R1:U_HDS_3:tau_charge": 0.08334965650487064,
+                                "B30R1:U_HDS_4:tau_charge": 0.08070534444962309,
+                                "B30R1:I_HDS_1:tau_charge": 0.07249529926259694,
+                                "B30R1:I_HDS_2:tau_charge": 0.07224425062658714,
+                                "B30R1:I_HDS_3:tau_charge": 0.07424427384477601,
+                                "B30R1:I_HDS_4:tau_charge": 0.07249095069829457,
                             },
                             "act": {
-                                "B30R1:U_HDS_1:tau_charge": 0.081,
-                                "B30R1:U_HDS_2:tau_charge": 0.081,
-                                "B30R1:U_HDS_3:tau_charge": 0.084,
-                                "B30R1:U_HDS_4:tau_charge": 0.081,
-                                "B30R1:I_HDS_1:tau_charge": 0.073,
-                                "B30R1:I_HDS_2:tau_charge": 0.072,
-                                "B30R1:I_HDS_3:tau_charge": 0.074,
-                                "B30R1:I_HDS_4:tau_charge": 0.073,
+                                "B30R1:U_HDS_1:tau_charge": 0.08141172857486281,
+                                "B30R1:U_HDS_2:tau_charge": 0.08145027018487408,
+                                "B30R1:U_HDS_3:tau_charge": 0.08351264758292958,
+                                "B30R1:U_HDS_4:tau_charge": 0.08102490809942749,
+                                "B30R1:I_HDS_1:tau_charge": 0.07255559997804015,
+                                "B30R1:I_HDS_2:tau_charge": 0.0724516444891556,
+                                "B30R1:I_HDS_3:tau_charge": 0.07438075005214104,
+                                "B30R1:I_HDS_4:tau_charge": 0.0725097418151594,
                             },
                             "diff": {
                                 "B30R1:U_HDS_1:tau_charge": 0.003,
@@ -110,16 +110,16 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     first_r_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "B30R1:R_HDS_1:first20mean": 10.91,
-                                "B30R1:R_HDS_2:first20mean": 10.84,
-                                "B30R1:R_HDS_3:first20mean": 10.93,
-                                "B30R1:R_HDS_4:first20mean": 11.05,
+                                "B30R1:R_HDS_1:first20mean": 10.9060651443099,
+                                "B30R1:R_HDS_2:first20mean": 10.83723578626863,
+                                "B30R1:R_HDS_3:first20mean": 10.930038920226862,
+                                "B30R1:R_HDS_4:first20mean": 11.045098218936065,
                             },
                             "act": {
-                                "B30R1:R_HDS_1:first20mean": 10.97,
-                                "B30R1:R_HDS_2:first20mean": 10.91,
-                                "B30R1:R_HDS_3:first20mean": 10.98,
-                                "B30R1:R_HDS_4:first20mean": 11.1,
+                                "B30R1:R_HDS_1:first20mean": 10.965732672000172,
+                                "B30R1:R_HDS_2:first20mean": 10.905434722266879,
+                                "B30R1:R_HDS_3:first20mean": 10.984272815727616,
+                                "B30R1:R_HDS_4:first20mean": 11.100794941960109,
                             },
                             "diff": {
                                 "B30R1:R_HDS_1:first20mean": 0.5,
@@ -138,16 +138,16 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     capacitance_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "B30R1_C_HDS_1:capacitance": 0.007424381301558204,
-                                "B30R1_C_HDS_2:capacitance": 0.007472324723247233,
-                                "B30R1_C_HDS_3:capacitance": 0.007593778591033853,
-                                "B30R1_C_HDS_4:capacitance": 0.007330316742081447,
+                                "B30R1_C_HDS_1:capacitance": 0.007452060572058033,
+                                "B30R1_C_HDS_2:capacitance": 0.007471321749573945,
+                                "B30R1_C_HDS_3:capacitance": 0.007625741967910637,
+                                "B30R1_C_HDS_4:capacitance": 0.007306892419594721,
                             },
                             "act": {
-                                "B30R1_C_HDS_1:capacitance": 0.007383773928896991,
-                                "B30R1_C_HDS_2:capacitance": 0.007424381301558204,
-                                "B30R1_C_HDS_3:capacitance": 0.007650273224043716,
-                                "B30R1_C_HDS_4:capacitance": 0.007297297297297297,
+                                "B30R1_C_HDS_1:capacitance": 0.0074241941701477885,
+                                "B30R1_C_HDS_2:capacitance": 0.007468777931297659,
+                                "B30R1_C_HDS_3:capacitance": 0.007602929113646342,
+                                "B30R1_C_HDS_4:capacitance": 0.007299018540839798,
                             },
                             "diff": {
                                 "B30R1_C_HDS_1:capacitance": nan,
@@ -190,14 +190,14 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                                 "C30R1:U_HDS_4:last20mean": 85.0,
                             },
                             "act": {
-                                "C30R1:U_HDS_1:first": 906.0,
-                                "C30R1:U_HDS_1:last20mean": 45.0,
-                                "C30R1:U_HDS_2:first": 924.0,
-                                "C30R1:U_HDS_2:last20mean": 42.0,
-                                "C30R1:U_HDS_3:first": 903.0,
-                                "C30R1:U_HDS_3:last20mean": 45.0,
-                                "C30R1:U_HDS_4:first": 924.0,
-                                "C30R1:U_HDS_4:last20mean": 45.0,
+                                "C30R1:U_HDS_1:first": 906.4584,
+                                "C30R1:U_HDS_1:last20mean": 44.99079052631579,
+                                "C30R1:U_HDS_2:first": 924.2636,
+                                "C30R1:U_HDS_2:last20mean": 41.88387289473684,
+                                "C30R1:U_HDS_3:first": 902.81683,
+                                "C30R1:U_HDS_3:last20mean": 44.74062315789474,
+                                "C30R1:U_HDS_4:first": 924.1678,
+                                "C30R1:U_HDS_4:last20mean": 44.700273894736846,
                             },
                             "result": {
                                 "C30R1:U_HDS_1:first": True,
@@ -214,24 +214,24 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     tau_u_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "C30R1:U_HDS_1:tau_charge": 0.097,
-                                "C30R1:U_HDS_2:tau_charge": 0.094,
-                                "C30R1:U_HDS_3:tau_charge": 0.098,
-                                "C30R1:U_HDS_4:tau_charge": 0.096,
-                                "C30R1:I_HDS_1:tau_charge": 0.086,
-                                "C30R1:I_HDS_2:tau_charge": 0.083,
-                                "C30R1:I_HDS_3:tau_charge": 0.087,
-                                "C30R1:I_HDS_4:tau_charge": 0.085,
+                                "C30R1:U_HDS_1:tau_charge": 0.09737034361696614,
+                                "C30R1:U_HDS_2:tau_charge": 0.09385962842905504,
+                                "C30R1:U_HDS_3:tau_charge": 0.09792605701204238,
+                                "C30R1:U_HDS_4:tau_charge": 0.09636102034854202,
+                                "C30R1:I_HDS_1:tau_charge": 0.0862895048690526,
+                                "C30R1:I_HDS_2:tau_charge": 0.08345088601638612,
+                                "C30R1:I_HDS_3:tau_charge": 0.08689560859481917,
+                                "C30R1:I_HDS_4:tau_charge": 0.08537628630544906,
                             },
                             "act": {
-                                "C30R1:U_HDS_1:tau_charge": 0.096,
-                                "C30R1:U_HDS_2:tau_charge": 0.093,
-                                "C30R1:U_HDS_3:tau_charge": 0.097,
-                                "C30R1:U_HDS_4:tau_charge": 0.096,
-                                "C30R1:I_HDS_1:tau_charge": 0.086,
-                                "C30R1:I_HDS_2:tau_charge": 0.083,
-                                "C30R1:I_HDS_3:tau_charge": 0.086,
-                                "C30R1:I_HDS_4:tau_charge": 0.085,
+                                "C30R1:U_HDS_1:tau_charge": 0.09616364839429127,
+                                "C30R1:U_HDS_2:tau_charge": 0.09289306552376962,
+                                "C30R1:U_HDS_3:tau_charge": 0.09664439917681177,
+                                "C30R1:U_HDS_4:tau_charge": 0.09550393860298936,
+                                "C30R1:I_HDS_1:tau_charge": 0.08562937911925425,
+                                "C30R1:I_HDS_2:tau_charge": 0.08270503134648673,
+                                "C30R1:I_HDS_3:tau_charge": 0.08615642988679825,
+                                "C30R1:I_HDS_4:tau_charge": 0.08481294589165057,
                             },
                             "diff": {
                                 "C30R1:U_HDS_1:tau_charge": 0.003,
@@ -259,16 +259,16 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     first_r_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "C30R1:R_HDS_1:first20mean": 11.37,
-                                "C30R1:R_HDS_2:first20mean": 10.95,
-                                "C30R1:R_HDS_3:first20mean": 11.39,
-                                "C30R1:R_HDS_4:first20mean": 10.94,
+                                "C30R1:R_HDS_1:first20mean": 11.36602536416508,
+                                "C30R1:R_HDS_2:first20mean": 10.947699136071957,
+                                "C30R1:R_HDS_3:first20mean": 11.390347579879514,
+                                "C30R1:R_HDS_4:first20mean": 10.94255622092463,
                             },
                             "act": {
-                                "C30R1:R_HDS_1:first20mean": 11.36,
-                                "C30R1:R_HDS_2:first20mean": 10.93,
-                                "C30R1:R_HDS_3:first20mean": 11.38,
-                                "C30R1:R_HDS_4:first20mean": 10.93,
+                                "C30R1:R_HDS_1:first20mean": 11.36083641738078,
+                                "C30R1:R_HDS_2:first20mean": 10.928934924857604,
+                                "C30R1:R_HDS_3:first20mean": 11.379955754497779,
+                                "C30R1:R_HDS_4:first20mean": 10.926656361268535,
                             },
                             "diff": {
                                 "C30R1:R_HDS_1:first20mean": 0.5,
@@ -287,16 +287,16 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     capacitance_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "C30R1_C_HDS_1:capacitance": 0.008531222515391382,
-                                "C30R1_C_HDS_2:capacitance": 0.00858447488584475,
-                                "C30R1_C_HDS_3:capacitance": 0.008604038630377524,
-                                "C30R1_C_HDS_4:capacitance": 0.008775137111517369,
+                                "C30R1_C_HDS_1:capacitance": 0.008566789224662153,
+                                "C30R1_C_HDS_2:capacitance": 0.008573457058186197,
+                                "C30R1_C_HDS_3:capacitance": 0.00859728435197394,
+                                "C30R1_C_HDS_4:capacitance": 0.008806079530510253,
                             },
                             "act": {
-                                "C30R1_C_HDS_1:capacitance": 0.008450704225352114,
-                                "C30R1_C_HDS_2:capacitance": 0.008508691674290943,
-                                "C30R1_C_HDS_3:capacitance": 0.00852372583479789,
-                                "C30R1_C_HDS_4:capacitance": 0.00878316559926807,
+                                "C30R1_C_HDS_1:capacitance": 0.008464486668179809,
+                                "C30R1_C_HDS_2:capacitance": 0.00849973635696984,
+                                "C30R1_C_HDS_3:capacitance": 0.008492510978227162,
+                                "C30R1_C_HDS_4:capacitance": 0.008740454119296729,
                             },
                             "diff": {
                                 "C30R1_C_HDS_1:capacitance": nan,
@@ -339,14 +339,14 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                                 "A30R1:U_HDS_4:last20mean": 85.0,
                             },
                             "act": {
-                                "A30R1:U_HDS_1:first": 903.0,
-                                "A30R1:U_HDS_1:last20mean": 31.0,
-                                "A30R1:U_HDS_2:first": 908.0,
-                                "A30R1:U_HDS_2:last20mean": 31.0,
-                                "A30R1:U_HDS_3:first": 902.0,
-                                "A30R1:U_HDS_3:last20mean": 28.0,
-                                "A30R1:U_HDS_4:first": 903.0,
-                                "A30R1:U_HDS_4:last20mean": 30.0,
+                                "A30R1:U_HDS_1:first": 903.3726,
+                                "A30R1:U_HDS_1:last20mean": 31.241671210526313,
+                                "A30R1:U_HDS_2:first": 907.7425,
+                                "A30R1:U_HDS_2:last20mean": 30.89869968421053,
+                                "A30R1:U_HDS_3:first": 902.45264,
+                                "A30R1:U_HDS_3:last20mean": 27.722178473684213,
+                                "A30R1:U_HDS_4:first": 903.20013,
+                                "A30R1:U_HDS_4:last20mean": 30.239992631578946,
                             },
                             "result": {
                                 "A30R1:U_HDS_1:first": True,
@@ -363,24 +363,24 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     tau_u_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "A30R1:U_HDS_1:tau_charge": 0.085,
-                                "A30R1:U_HDS_2:tau_charge": 0.085,
-                                "A30R1:U_HDS_3:tau_charge": 0.082,
-                                "A30R1:U_HDS_4:tau_charge": 0.084,
-                                "A30R1:I_HDS_1:tau_charge": 0.076,
-                                "A30R1:I_HDS_2:tau_charge": 0.076,
-                                "A30R1:I_HDS_3:tau_charge": 0.073,
-                                "A30R1:I_HDS_4:tau_charge": 0.075,
+                                "A30R1:U_HDS_1:tau_charge": 0.0852472882275096,
+                                "A30R1:U_HDS_2:tau_charge": 0.08462046917405441,
+                                "A30R1:U_HDS_3:tau_charge": 0.08182370821683485,
+                                "A30R1:U_HDS_4:tau_charge": 0.08426855256321997,
+                                "A30R1:I_HDS_1:tau_charge": 0.07594135113203274,
+                                "A30R1:I_HDS_2:tau_charge": 0.07555482967045676,
+                                "A30R1:I_HDS_3:tau_charge": 0.07261946633994182,
+                                "A30R1:I_HDS_4:tau_charge": 0.07529708954336106,
                             },
                             "act": {
-                                "A30R1:U_HDS_1:tau_charge": 0.085,
-                                "A30R1:U_HDS_2:tau_charge": 0.085,
-                                "A30R1:U_HDS_3:tau_charge": 0.082,
-                                "A30R1:U_HDS_4:tau_charge": 0.084,
-                                "A30R1:I_HDS_1:tau_charge": 0.076,
-                                "A30R1:I_HDS_2:tau_charge": 0.076,
-                                "A30R1:I_HDS_3:tau_charge": 0.073,
-                                "A30R1:I_HDS_4:tau_charge": 0.076,
+                                "A30R1:U_HDS_1:tau_charge": 0.08505859640466905,
+                                "A30R1:U_HDS_2:tau_charge": 0.0847382662827508,
+                                "A30R1:U_HDS_3:tau_charge": 0.08169807806275586,
+                                "A30R1:U_HDS_4:tau_charge": 0.08437240892739416,
+                                "A30R1:I_HDS_1:tau_charge": 0.07619939076419328,
+                                "A30R1:I_HDS_2:tau_charge": 0.07574689371783654,
+                                "A30R1:I_HDS_3:tau_charge": 0.07291909107991848,
+                                "A30R1:I_HDS_4:tau_charge": 0.07557763962268631,
                             },
                             "diff": {
                                 "A30R1:U_HDS_1:tau_charge": 0.003,
@@ -408,16 +408,16 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     first_r_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "A30R1:R_HDS_1:first20mean": 10.96,
-                                "A30R1:R_HDS_2:first20mean": 11.07,
-                                "A30R1:R_HDS_3:first20mean": 10.55,
-                                "A30R1:R_HDS_4:first20mean": 10.98,
+                                "A30R1:R_HDS_1:first20mean": 10.959936529080192,
+                                "A30R1:R_HDS_2:first20mean": 11.070784818614282,
+                                "A30R1:R_HDS_3:first20mean": 10.553141931653423,
+                                "A30R1:R_HDS_4:first20mean": 10.984638495290154,
                             },
                             "act": {
-                                "A30R1:R_HDS_1:first20mean": 11.02,
-                                "A30R1:R_HDS_2:first20mean": 11.13,
-                                "A30R1:R_HDS_3:first20mean": 10.62,
-                                "A30R1:R_HDS_4:first20mean": 11.05,
+                                "A30R1:R_HDS_1:first20mean": 11.021683066495847,
+                                "A30R1:R_HDS_2:first20mean": 11.134045454354176,
+                                "A30R1:R_HDS_3:first20mean": 10.622370519459402,
+                                "A30R1:R_HDS_4:first20mean": 11.053591694584672,
                             },
                             "diff": {
                                 "A30R1:R_HDS_1:first20mean": 0.5,
@@ -436,16 +436,16 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     capacitance_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "A30R1_C_HDS_1:capacitance": 0.007755474452554745,
-                                "A30R1_C_HDS_2:capacitance": 0.007678410117434508,
-                                "A30R1_C_HDS_3:capacitance": 0.007772511848341232,
-                                "A30R1_C_HDS_4:capacitance": 0.007650273224043716,
+                                "A30R1_C_HDS_1:capacitance": 0.007778082291017058,
+                                "A30R1_C_HDS_2:capacitance": 0.007643583590548576,
+                                "A30R1_C_HDS_3:capacitance": 0.007753492632503148,
+                                "A30R1_C_HDS_4:capacitance": 0.007671490745858546,
                             },
                             "act": {
-                                "A30R1_C_HDS_1:capacitance": 0.007713248638838477,
-                                "A30R1_C_HDS_2:capacitance": 0.0076370170709793355,
-                                "A30R1_C_HDS_3:capacitance": 0.007721280602636536,
-                                "A30R1_C_HDS_4:capacitance": 0.007601809954751132,
+                                "A30R1_C_HDS_1:capacitance": 0.007717387253062427,
+                                "A30R1_C_HDS_2:capacitance": 0.007610734717237239,
+                                "A30R1_C_HDS_3:capacitance": 0.007691134282417563,
+                                "A30R1_C_HDS_4:capacitance": 0.007633031077919183,
                             },
                             "diff": {
                                 "A30R1_C_HDS_1:capacitance": nan,
@@ -488,14 +488,14 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                                 "A31R1:U_HDS_4:last20mean": 85.0,
                             },
                             "act": {
-                                "A31R1:U_HDS_1:first": 911.0,
-                                "A31R1:U_HDS_1:last20mean": 25.0,
-                                "A31R1:U_HDS_2:first": 905.0,
-                                "A31R1:U_HDS_2:last20mean": 25.0,
-                                "A31R1:U_HDS_3:first": 910.0,
-                                "A31R1:U_HDS_3:last20mean": 25.0,
-                                "A31R1:U_HDS_4:first": 906.0,
-                                "A31R1:U_HDS_4:last20mean": 25.0,
+                                "A31R1:U_HDS_1:first": 910.9241,
+                                "A31R1:U_HDS_1:last20mean": 25.46562910526316,
+                                "A31R1:U_HDS_2:first": 905.3659,
+                                "A31R1:U_HDS_2:last20mean": 25.31431773684211,
+                                "A31R1:U_HDS_3:first": 910.19574,
+                                "A31R1:U_HDS_3:last20mean": 25.318352736842108,
+                                "A31R1:U_HDS_4:first": 905.82587,
+                                "A31R1:U_HDS_4:last20mean": 25.227566105263158,
                             },
                             "result": {
                                 "A31R1:U_HDS_1:first": True,
@@ -512,24 +512,24 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     tau_u_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "A31R1:U_HDS_1:tau_charge": 0.082,
-                                "A31R1:U_HDS_2:tau_charge": 0.082,
-                                "A31R1:U_HDS_3:tau_charge": 0.082,
-                                "A31R1:U_HDS_4:tau_charge": 0.082,
-                                "A31R1:I_HDS_1:tau_charge": 0.073,
-                                "A31R1:I_HDS_2:tau_charge": 0.073,
-                                "A31R1:I_HDS_3:tau_charge": 0.073,
-                                "A31R1:I_HDS_4:tau_charge": 0.073,
+                                "A31R1:U_HDS_1:tau_charge": 0.08205860177944559,
+                                "A31R1:U_HDS_2:tau_charge": 0.08159715351200703,
+                                "A31R1:U_HDS_3:tau_charge": 0.08176324104091667,
+                                "A31R1:U_HDS_4:tau_charge": 0.08167254539439248,
+                                "A31R1:I_HDS_1:tau_charge": 0.07328818428065022,
+                                "A31R1:I_HDS_2:tau_charge": 0.07291446470427711,
+                                "A31R1:I_HDS_3:tau_charge": 0.07277088757642759,
+                                "A31R1:I_HDS_4:tau_charge": 0.07296195002870062,
                             },
                             "act": {
-                                "A31R1:U_HDS_1:tau_charge": 0.081,
-                                "A31R1:U_HDS_2:tau_charge": 0.081,
-                                "A31R1:U_HDS_3:tau_charge": 0.081,
-                                "A31R1:U_HDS_4:tau_charge": 0.081,
-                                "A31R1:I_HDS_1:tau_charge": 0.073,
-                                "A31R1:I_HDS_2:tau_charge": 0.072,
-                                "A31R1:I_HDS_3:tau_charge": 0.072,
-                                "A31R1:I_HDS_4:tau_charge": 0.073,
+                                "A31R1:U_HDS_1:tau_charge": 0.08138369712391448,
+                                "A31R1:U_HDS_2:tau_charge": 0.08118950582010118,
+                                "A31R1:U_HDS_3:tau_charge": 0.08110051324449236,
+                                "A31R1:U_HDS_4:tau_charge": 0.08128623249610635,
+                                "A31R1:I_HDS_1:tau_charge": 0.07272203133106421,
+                                "A31R1:I_HDS_2:tau_charge": 0.07238887756799263,
+                                "A31R1:I_HDS_3:tau_charge": 0.07234755899529123,
+                                "A31R1:I_HDS_4:tau_charge": 0.0725625806361749,
                             },
                             "diff": {
                                 "A31R1:U_HDS_1:tau_charge": 0.003,
@@ -557,16 +557,16 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     first_r_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "A31R1:R_HDS_1:first20mean": 10.88,
-                                "A31R1:R_HDS_2:first20mean": 10.76,
-                                "A31R1:R_HDS_3:first20mean": 10.77,
-                                "A31R1:R_HDS_4:first20mean": 10.86,
+                                "A31R1:R_HDS_1:first20mean": 10.881830988944525,
+                                "A31R1:R_HDS_2:first20mean": 10.755261932667477,
+                                "A31R1:R_HDS_3:first20mean": 10.76671985097791,
+                                "A31R1:R_HDS_4:first20mean": 10.860381086228752,
                             },
                             "act": {
-                                "A31R1:R_HDS_1:first20mean": 10.8,
-                                "A31R1:R_HDS_2:first20mean": 10.68,
-                                "A31R1:R_HDS_3:first20mean": 10.69,
-                                "A31R1:R_HDS_4:first20mean": 10.79,
+                                "A31R1:R_HDS_1:first20mean": 10.80004328360667,
+                                "A31R1:R_HDS_2:first20mean": 10.679488374413825,
+                                "A31R1:R_HDS_3:first20mean": 10.688022772164802,
+                                "A31R1:R_HDS_4:first20mean": 10.786840609899146,
                             },
                             "diff": {
                                 "A31R1:R_HDS_1:first20mean": 0.5,
@@ -585,16 +585,16 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     capacitance_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "A31R1_C_HDS_1:capacitance": 0.007536764705882353,
-                                "A31R1_C_HDS_2:capacitance": 0.007620817843866172,
-                                "A31R1_C_HDS_3:capacitance": 0.007613741875580316,
-                                "A31R1_C_HDS_4:capacitance": 0.007550644567219153,
+                                "A31R1_C_HDS_1:capacitance": 0.007540881848175515,
+                                "A31R1_C_HDS_2:capacitance": 0.007586719321467016,
+                                "A31R1_C_HDS_3:capacitance": 0.007594071562425798,
+                                "A31R1_C_HDS_4:capacitance": 0.007520228318503059,
                             },
                             "act": {
-                                "A31R1_C_HDS_1:capacitance": 0.0075,
-                                "A31R1_C_HDS_2:capacitance": 0.007584269662921349,
-                                "A31R1_C_HDS_3:capacitance": 0.007577174929840973,
-                                "A31R1_C_HDS_4:capacitance": 0.007506950880444857,
+                                "A31R1_C_HDS_1:capacitance": 0.007535497311149334,
+                                "A31R1_C_HDS_2:capacitance": 0.007602377845610745,
+                                "A31R1_C_HDS_3:capacitance": 0.007587980955252576,
+                                "A31R1_C_HDS_4:capacitance": 0.007535684955009858,
                             },
                             "diff": {
                                 "A31R1_C_HDS_1:capacitance": nan,
@@ -637,14 +637,14 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                                 "B31R1:U_HDS_4:last20mean": 85.0,
                             },
                             "act": {
-                                "B31R1:U_HDS_1:first": 881.0,
-                                "B31R1:U_HDS_1:last20mean": 25.0,
-                                "B31R1:U_HDS_2:first": 878.0,
-                                "B31R1:U_HDS_2:last20mean": 24.0,
-                                "B31R1:U_HDS_3:first": 886.0,
-                                "B31R1:U_HDS_3:last20mean": 25.0,
-                                "B31R1:U_HDS_4:first": 880.0,
-                                "B31R1:U_HDS_4:last20mean": 26.0,
+                                "B31R1:U_HDS_1:first": 880.9675,
+                                "B31R1:U_HDS_1:last20mean": 25.422253157894737,
+                                "B31R1:U_HDS_2:first": 878.2076,
+                                "B31R1:U_HDS_2:last20mean": 24.40947852631579,
+                                "B31R1:U_HDS_3:first": 885.6057,
+                                "B31R1:U_HDS_3:last20mean": 25.161998157894736,
+                                "B31R1:U_HDS_4:first": 879.8559,
+                                "B31R1:U_HDS_4:last20mean": 25.983111736842105,
                             },
                             "result": {
                                 "B31R1:U_HDS_1:first": True,
@@ -661,24 +661,24 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     tau_u_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "B31R1:U_HDS_1:tau_charge": 0.082,
-                                "B31R1:U_HDS_2:tau_charge": 0.081,
-                                "B31R1:U_HDS_3:tau_charge": 0.082,
-                                "B31R1:U_HDS_4:tau_charge": 0.083,
-                                "B31R1:I_HDS_1:tau_charge": 0.073,
-                                "B31R1:I_HDS_2:tau_charge": 0.073,
-                                "B31R1:I_HDS_3:tau_charge": 0.073,
-                                "B31R1:I_HDS_4:tau_charge": 0.074,
+                                "B31R1:U_HDS_1:tau_charge": 0.08210870964057362,
+                                "B31R1:U_HDS_2:tau_charge": 0.08134467358300469,
+                                "B31R1:U_HDS_3:tau_charge": 0.08217759399404458,
+                                "B31R1:U_HDS_4:tau_charge": 0.08296061549424175,
+                                "B31R1:I_HDS_1:tau_charge": 0.07336632377782903,
+                                "B31R1:I_HDS_2:tau_charge": 0.0726907215587968,
+                                "B31R1:I_HDS_3:tau_charge": 0.07349283369957343,
+                                "B31R1:I_HDS_4:tau_charge": 0.07409855322155497,
                             },
                             "act": {
-                                "B31R1:U_HDS_1:tau_charge": 0.081,
-                                "B31R1:U_HDS_2:tau_charge": 0.081,
-                                "B31R1:U_HDS_3:tau_charge": 0.081,
-                                "B31R1:U_HDS_4:tau_charge": 0.082,
-                                "B31R1:I_HDS_1:tau_charge": 0.073,
-                                "B31R1:I_HDS_2:tau_charge": 0.072,
-                                "B31R1:I_HDS_3:tau_charge": 0.073,
-                                "B31R1:I_HDS_4:tau_charge": 0.073,
+                                "B31R1:U_HDS_1:tau_charge": 0.08125411497949954,
+                                "B31R1:U_HDS_2:tau_charge": 0.08074127100500006,
+                                "B31R1:U_HDS_3:tau_charge": 0.08138090379730144,
+                                "B31R1:U_HDS_4:tau_charge": 0.08224766364556878,
+                                "B31R1:I_HDS_1:tau_charge": 0.07260595545810009,
+                                "B31R1:I_HDS_2:tau_charge": 0.07210090443564736,
+                                "B31R1:I_HDS_3:tau_charge": 0.0727162302182461,
+                                "B31R1:I_HDS_4:tau_charge": 0.07337510917763433,
                             },
                             "diff": {
                                 "B31R1:U_HDS_1:tau_charge": 0.003,
@@ -706,16 +706,16 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     first_r_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "B31R1:R_HDS_1:first20mean": 10.63,
-                                "B31R1:R_HDS_2:first20mean": 10.53,
-                                "B31R1:R_HDS_3:first20mean": 10.62,
-                                "B31R1:R_HDS_4:first20mean": 10.62,
+                                "B31R1:R_HDS_1:first20mean": 10.625758528115945,
+                                "B31R1:R_HDS_2:first20mean": 10.529137083962471,
+                                "B31R1:R_HDS_3:first20mean": 10.621652327264101,
+                                "B31R1:R_HDS_4:first20mean": 10.622691076744236,
                             },
                             "act": {
-                                "B31R1:R_HDS_1:first20mean": 10.55,
-                                "B31R1:R_HDS_2:first20mean": 10.45,
-                                "B31R1:R_HDS_3:first20mean": 10.54,
-                                "B31R1:R_HDS_4:first20mean": 10.55,
+                                "B31R1:R_HDS_1:first20mean": 10.549113016652665,
+                                "B31R1:R_HDS_2:first20mean": 10.454707230806937,
+                                "B31R1:R_HDS_3:first20mean": 10.54459734449943,
+                                "B31R1:R_HDS_4:first20mean": 10.547695099672596,
                             },
                             "diff": {
                                 "B31R1:R_HDS_1:first20mean": 0.5,
@@ -734,16 +734,16 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     capacitance_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "B31R1_C_HDS_1:capacitance": 0.007714016933207902,
-                                "B31R1_C_HDS_2:capacitance": 0.007692307692307693,
-                                "B31R1_C_HDS_3:capacitance": 0.007721280602636536,
-                                "B31R1_C_HDS_4:capacitance": 0.007815442561205274,
+                                "B31R1_C_HDS_1:capacitance": 0.007727326893728342,
+                                "B31R1_C_HDS_2:capacitance": 0.007725673332423927,
+                                "B31R1_C_HDS_3:capacitance": 0.007736799460391647,
+                                "B31R1_C_HDS_4:capacitance": 0.007809755070055983,
                             },
                             "act": {
-                                "B31R1_C_HDS_1:capacitance": 0.007677725118483412,
-                                "B31R1_C_HDS_2:capacitance": 0.007751196172248805,
-                                "B31R1_C_HDS_3:capacitance": 0.007685009487666035,
-                                "B31R1_C_HDS_4:capacitance": 0.007772511848341232,
+                                "B31R1_C_HDS_1:capacitance": 0.007702459424904545,
+                                "B31R1_C_HDS_2:capacitance": 0.007722958589130011,
+                                "B31R1_C_HDS_3:capacitance": 0.007717782020358856,
+                                "B31R1_C_HDS_4:capacitance": 0.007797690667804928,
                             },
                             "diff": {
                                 "B31R1_C_HDS_1:capacitance": nan,
@@ -786,14 +786,14 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                                 "A12R1:U_HDS_4:last20mean": 85.0,
                             },
                             "act": {
-                                "A12R1:U_HDS_1:first": 909.0,
-                                "A12R1:U_HDS_1:last20mean": 30.0,
-                                "A12R1:U_HDS_2:first": 898.0,
-                                "A12R1:U_HDS_2:last20mean": 27.0,
-                                "A12R1:U_HDS_3:first": 912.0,
-                                "A12R1:U_HDS_3:last20mean": 28.0,
-                                "A12R1:U_HDS_4:first": 901.0,
-                                "A12R1:U_HDS_4:last20mean": 28.0,
+                                "A12R1:U_HDS_1:first": 908.7583,
+                                "A12R1:U_HDS_1:last20mean": 29.49957805263158,
+                                "A12R1:U_HDS_2:first": 897.66113,
+                                "A12R1:U_HDS_2:last20mean": 27.193599526315786,
+                                "A12R1:U_HDS_3:first": 912.39984,
+                                "A12R1:U_HDS_3:last20mean": 28.311282789473683,
+                                "A12R1:U_HDS_4:first": 900.7277,
+                                "A12R1:U_HDS_4:last20mean": 27.498238736842108,
                             },
                             "result": {
                                 "A12R1:U_HDS_1:first": True,
@@ -810,24 +810,24 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     tau_u_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "A12R1:U_HDS_1:tau_charge": 0.082,
-                                "A12R1:U_HDS_2:tau_charge": 0.08,
-                                "A12R1:U_HDS_3:tau_charge": 0.08,
-                                "A12R1:U_HDS_4:tau_charge": 0.08,
-                                "A12R1:I_HDS_1:tau_charge": 0.072,
-                                "A12R1:I_HDS_2:tau_charge": 0.071,
-                                "A12R1:I_HDS_3:tau_charge": 0.071,
-                                "A12R1:I_HDS_4:tau_charge": 0.071,
+                                "A12R1:U_HDS_1:tau_charge": 0.08174731260371886,
+                                "A12R1:U_HDS_2:tau_charge": 0.07951824950641183,
+                                "A12R1:U_HDS_3:tau_charge": 0.08041672339035658,
+                                "A12R1:U_HDS_4:tau_charge": 0.0796653041516371,
+                                "A12R1:I_HDS_1:tau_charge": 0.072246836667893,
+                                "A12R1:I_HDS_2:tau_charge": 0.07070390088363909,
+                                "A12R1:I_HDS_3:tau_charge": 0.07146199048424699,
+                                "A12R1:I_HDS_4:tau_charge": 0.07098524452851068,
                             },
                             "act": {
-                                "A12R1:U_HDS_1:tau_charge": 0.082,
-                                "A12R1:U_HDS_2:tau_charge": 0.08,
-                                "A12R1:U_HDS_3:tau_charge": 0.081,
-                                "A12R1:U_HDS_4:tau_charge": 0.08,
-                                "A12R1:I_HDS_1:tau_charge": 0.073,
-                                "A12R1:I_HDS_2:tau_charge": 0.071,
-                                "A12R1:I_HDS_3:tau_charge": 0.072,
-                                "A12R1:I_HDS_4:tau_charge": 0.071,
+                                "A12R1:U_HDS_1:tau_charge": 0.08227504792642375,
+                                "A12R1:U_HDS_2:tau_charge": 0.08017416214334491,
+                                "A12R1:U_HDS_3:tau_charge": 0.0809137966726484,
+                                "A12R1:U_HDS_4:tau_charge": 0.08034688897025091,
+                                "A12R1:I_HDS_1:tau_charge": 0.07262824106460072,
+                                "A12R1:I_HDS_2:tau_charge": 0.07106355206269149,
+                                "A12R1:I_HDS_3:tau_charge": 0.07171236070570604,
+                                "A12R1:I_HDS_4:tau_charge": 0.07130747255391347,
                             },
                             "diff": {
                                 "A12R1:U_HDS_1:tau_charge": 0.003,
@@ -855,16 +855,16 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     first_r_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "A12R1:R_HDS_1:first20mean": 10.58,
-                                "A12R1:R_HDS_2:first20mean": 10.53,
-                                "A12R1:R_HDS_3:first20mean": 10.58,
-                                "A12R1:R_HDS_4:first20mean": 10.58,
+                                "A12R1:R_HDS_1:first20mean": 10.580362132069691,
+                                "A12R1:R_HDS_2:first20mean": 10.532158067349936,
+                                "A12R1:R_HDS_3:first20mean": 10.578098363727033,
+                                "A12R1:R_HDS_4:first20mean": 10.584185778343034,
                             },
                             "act": {
-                                "A12R1:R_HDS_1:first20mean": 10.66,
-                                "A12R1:R_HDS_2:first20mean": 10.61,
-                                "A12R1:R_HDS_3:first20mean": 10.66,
-                                "A12R1:R_HDS_4:first20mean": 10.67,
+                                "A12R1:R_HDS_1:first20mean": 10.659398621491224,
+                                "A12R1:R_HDS_2:first20mean": 10.612162715299563,
+                                "A12R1:R_HDS_3:first20mean": 10.658547693003829,
+                                "A12R1:R_HDS_4:first20mean": 10.666158661313613,
                             },
                             "diff": {
                                 "A12R1:R_HDS_1:first20mean": 0.5,
@@ -883,16 +883,16 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     capacitance_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "A12R1_C_HDS_1:capacitance": 0.007750472589792061,
-                                "A12R1_C_HDS_2:capacitance": 0.007597340930674264,
-                                "A12R1_C_HDS_3:capacitance": 0.007561436672967864,
-                                "A12R1_C_HDS_4:capacitance": 0.007561436672967864,
+                                "A12R1_C_HDS_1:capacitance": 0.007726324636463814,
+                                "A12R1_C_HDS_2:capacitance": 0.007550043305267248,
+                                "A12R1_C_HDS_3:capacitance": 0.007602190925555258,
+                                "A12R1_C_HDS_4:capacitance": 0.007526824058081564,
                             },
                             "act": {
-                                "A12R1_C_HDS_1:capacitance": 0.007692307692307693,
-                                "A12R1_C_HDS_2:capacitance": 0.007540056550424129,
-                                "A12R1_C_HDS_3:capacitance": 0.007598499061913696,
-                                "A12R1_C_HDS_4:capacitance": 0.007497656982193065,
+                                "A12R1_C_HDS_1:capacitance": 0.007718544999390751,
+                                "A12R1_C_HDS_2:capacitance": 0.007554931477610851,
+                                "A12R1_C_HDS_3:capacitance": 0.007591446696416198,
+                                "A12R1_C_HDS_4:capacitance": 0.0075328795981322505,
                             },
                             "diff": {
                                 "A12R1_C_HDS_1:capacitance": nan,
@@ -935,14 +935,14 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                                 "B12R1:U_HDS_4:last20mean": 85.0,
                             },
                             "act": {
-                                "B12R1:U_HDS_1:first": 899.0,
-                                "B12R1:U_HDS_1:last20mean": 35.0,
-                                "B12R1:U_HDS_2:first": 904.0,
-                                "B12R1:U_HDS_2:last20mean": 34.0,
-                                "B12R1:U_HDS_3:first": 894.0,
-                                "B12R1:U_HDS_3:last20mean": 46.0,
-                                "B12R1:U_HDS_4:first": 906.0,
-                                "B12R1:U_HDS_4:last20mean": 49.0,
+                                "B12R1:U_HDS_1:first": 898.5428,
+                                "B12R1:U_HDS_1:last20mean": 35.28772536842104,
+                                "B12R1:U_HDS_2:first": 903.89014,
+                                "B12R1:U_HDS_2:last20mean": 34.261837052631584,
+                                "B12R1:U_HDS_3:first": 894.42206,
+                                "B12R1:U_HDS_3:last20mean": 46.325353210526316,
+                                "B12R1:U_HDS_4:first": 906.2092,
+                                "B12R1:U_HDS_4:last20mean": 49.3777987368421,
                             },
                             "result": {
                                 "B12R1:U_HDS_1:first": True,
@@ -959,24 +959,24 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     tau_u_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "B12R1:U_HDS_1:tau_charge": 0.089,
-                                "B12R1:U_HDS_2:tau_charge": 0.088,
-                                "B12R1:U_HDS_3:tau_charge": 0.099,
-                                "B12R1:U_HDS_4:tau_charge": 0.101,
-                                "B12R1:I_HDS_1:tau_charge": 0.08,
-                                "B12R1:I_HDS_2:tau_charge": 0.079,
-                                "B12R1:I_HDS_3:tau_charge": 0.091,
-                                "B12R1:I_HDS_4:tau_charge": 0.092,
+                                "B12R1:U_HDS_1:tau_charge": 0.08927361151257618,
+                                "B12R1:U_HDS_2:tau_charge": 0.08838059605032446,
+                                "B12R1:U_HDS_3:tau_charge": 0.09925483288065191,
+                                "B12R1:U_HDS_4:tau_charge": 0.10116917485490338,
+                                "B12R1:I_HDS_1:tau_charge": 0.07977990740444951,
+                                "B12R1:I_HDS_2:tau_charge": 0.07928944258224668,
+                                "B12R1:I_HDS_3:tau_charge": 0.09066670941758675,
+                                "B12R1:I_HDS_4:tau_charge": 0.09239737864554531,
                             },
                             "act": {
-                                "B12R1:U_HDS_1:tau_charge": 0.089,
-                                "B12R1:U_HDS_2:tau_charge": 0.088,
-                                "B12R1:U_HDS_3:tau_charge": 0.099,
-                                "B12R1:U_HDS_4:tau_charge": 0.101,
-                                "B12R1:I_HDS_1:tau_charge": 0.08,
-                                "B12R1:I_HDS_2:tau_charge": 0.079,
-                                "B12R1:I_HDS_3:tau_charge": 0.09,
-                                "B12R1:I_HDS_4:tau_charge": 0.092,
+                                "B12R1:U_HDS_1:tau_charge": 0.08880212190993789,
+                                "B12R1:U_HDS_2:tau_charge": 0.08807497570773584,
+                                "B12R1:U_HDS_3:tau_charge": 0.0987555258757666,
+                                "B12R1:U_HDS_4:tau_charge": 0.10065807183261237,
+                                "B12R1:I_HDS_1:tau_charge": 0.07961992016005837,
+                                "B12R1:I_HDS_2:tau_charge": 0.07916860274244243,
+                                "B12R1:I_HDS_3:tau_charge": 0.09039513180473628,
+                                "B12R1:I_HDS_4:tau_charge": 0.0920527938974328,
                             },
                             "diff": {
                                 "B12R1:U_HDS_1:tau_charge": 0.003,
@@ -1004,16 +1004,16 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     first_r_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "B12R1:R_HDS_1:first20mean": 11.47,
-                                "B12R1:R_HDS_2:first20mean": 11.49,
-                                "B12R1:R_HDS_3:first20mean": 12.93,
-                                "B12R1:R_HDS_4:first20mean": 13.11,
+                                "B12R1:R_HDS_1:first20mean": 11.468728214778679,
+                                "B12R1:R_HDS_2:first20mean": 11.493475979639058,
+                                "B12R1:R_HDS_3:first20mean": 12.926895066471738,
+                                "B12R1:R_HDS_4:first20mean": 13.107733074955974,
                             },
                             "act": {
-                                "B12R1:R_HDS_1:first20mean": 11.47,
-                                "B12R1:R_HDS_2:first20mean": 11.49,
-                                "B12R1:R_HDS_3:first20mean": 12.92,
-                                "B12R1:R_HDS_4:first20mean": 13.1,
+                                "B12R1:R_HDS_1:first20mean": 11.466402014022117,
+                                "B12R1:R_HDS_2:first20mean": 11.488582121976917,
+                                "B12R1:R_HDS_3:first20mean": 12.920033680234948,
+                                "B12R1:R_HDS_4:first20mean": 13.100122041150229,
                             },
                             "diff": {
                                 "B12R1:R_HDS_1:first20mean": 0.5,
@@ -1032,16 +1032,16 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     capacitance_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "B12R1_C_HDS_1:capacitance": 0.007759372275501307,
-                                "B12R1_C_HDS_2:capacitance": 0.007658833768494342,
-                                "B12R1_C_HDS_3:capacitance": 0.00765661252900232,
-                                "B12R1_C_HDS_4:capacitance": 0.007704042715484364,
+                                "B12R1_C_HDS_1:capacitance": 0.007784089904365997,
+                                "B12R1_C_HDS_2:capacitance": 0.007689631596820022,
+                                "B12R1_C_HDS_3:capacitance": 0.00767816497080474,
+                                "B12R1_C_HDS_4:capacitance": 0.007718281588156554,
                             },
                             "act": {
-                                "B12R1_C_HDS_1:capacitance": 0.007759372275501307,
-                                "B12R1_C_HDS_2:capacitance": 0.007658833768494342,
-                                "B12R1_C_HDS_3:capacitance": 0.007662538699690403,
-                                "B12R1_C_HDS_4:capacitance": 0.007709923664122138,
+                                "B12R1_C_HDS_1:capacitance": 0.007744549842343126,
+                                "B12R1_C_HDS_2:capacitance": 0.007666305099499972,
+                                "B12R1_C_HDS_3:capacitance": 0.007643596628300024,
+                                "B12R1_C_HDS_4:capacitance": 0.007683750694567904,
                             },
                             "diff": {
                                 "B12R1_C_HDS_1:capacitance": nan,
@@ -1084,14 +1084,14 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                                 "C12R1:U_HDS_4:last20mean": 85.0,
                             },
                             "act": {
-                                "C12R1:U_HDS_1:first": 901.0,
-                                "C12R1:U_HDS_1:last20mean": 28.0,
-                                "C12R1:U_HDS_2:first": 915.0,
-                                "C12R1:U_HDS_2:last20mean": 28.0,
-                                "C12R1:U_HDS_3:first": 898.0,
-                                "C12R1:U_HDS_3:last20mean": 26.0,
-                                "C12R1:U_HDS_4:first": 917.0,
-                                "C12R1:U_HDS_4:last20mean": 27.0,
+                                "C12R1:U_HDS_1:first": 901.20685,
+                                "C12R1:U_HDS_1:last20mean": 27.595077736842104,
+                                "C12R1:U_HDS_2:first": 914.6231,
+                                "C12R1:U_HDS_2:last20mean": 27.599112842105257,
+                                "C12R1:U_HDS_3:first": 897.5845,
+                                "C12R1:U_HDS_3:last20mean": 26.065828421052633,
+                                "C12R1:U_HDS_4:first": 917.1722,
+                                "C12R1:U_HDS_4:last20mean": 27.07759447368421,
                             },
                             "result": {
                                 "C12R1:U_HDS_1:first": True,
@@ -1108,24 +1108,24 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     tau_u_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "C12R1:U_HDS_1:tau_charge": 0.082,
-                                "C12R1:U_HDS_2:tau_charge": 0.082,
-                                "C12R1:U_HDS_3:tau_charge": 0.081,
-                                "C12R1:U_HDS_4:tau_charge": 0.081,
-                                "C12R1:I_HDS_1:tau_charge": 0.074,
-                                "C12R1:I_HDS_2:tau_charge": 0.073,
-                                "C12R1:I_HDS_3:tau_charge": 0.072,
-                                "C12R1:I_HDS_4:tau_charge": 0.072,
+                                "C12R1:U_HDS_1:tau_charge": 0.0824365535543879,
+                                "C12R1:U_HDS_2:tau_charge": 0.08194364412801787,
+                                "C12R1:U_HDS_3:tau_charge": 0.08110250341935558,
+                                "C12R1:U_HDS_4:tau_charge": 0.08116445745358697,
+                                "C12R1:I_HDS_1:tau_charge": 0.07367817998182084,
+                                "C12R1:I_HDS_2:tau_charge": 0.07332531397056578,
+                                "C12R1:I_HDS_3:tau_charge": 0.07240274489586242,
+                                "C12R1:I_HDS_4:tau_charge": 0.07235898096369711,
                             },
                             "act": {
-                                "C12R1:U_HDS_1:tau_charge": 0.082,
-                                "C12R1:U_HDS_2:tau_charge": 0.082,
-                                "C12R1:U_HDS_3:tau_charge": 0.081,
-                                "C12R1:U_HDS_4:tau_charge": 0.081,
-                                "C12R1:I_HDS_1:tau_charge": 0.073,
-                                "C12R1:I_HDS_2:tau_charge": 0.073,
-                                "C12R1:I_HDS_3:tau_charge": 0.072,
-                                "C12R1:I_HDS_4:tau_charge": 0.072,
+                                "C12R1:U_HDS_1:tau_charge": 0.08189102352834106,
+                                "C12R1:U_HDS_2:tau_charge": 0.08173046782866084,
+                                "C12R1:U_HDS_3:tau_charge": 0.08071500947532596,
+                                "C12R1:U_HDS_4:tau_charge": 0.08112091839998735,
+                                "C12R1:I_HDS_1:tau_charge": 0.07347720035011582,
+                                "C12R1:I_HDS_2:tau_charge": 0.07309503379067436,
+                                "C12R1:I_HDS_3:tau_charge": 0.07214218103968623,
+                                "C12R1:I_HDS_4:tau_charge": 0.0724600997002577,
                             },
                             "diff": {
                                 "C12R1:U_HDS_1:tau_charge": 0.003,
@@ -1153,16 +1153,16 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     first_r_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "C12R1:R_HDS_1:first20mean": 10.98,
-                                "C12R1:R_HDS_2:first20mean": 10.89,
-                                "C12R1:R_HDS_3:first20mean": 10.7,
-                                "C12R1:R_HDS_4:first20mean": 10.76,
+                                "C12R1:R_HDS_1:first20mean": 10.984632646135207,
+                                "C12R1:R_HDS_2:first20mean": 10.890075318720912,
+                                "C12R1:R_HDS_3:first20mean": 10.702911358369656,
+                                "C12R1:R_HDS_4:first20mean": 10.764137483337844,
                             },
                             "act": {
-                                "C12R1:R_HDS_1:first20mean": 10.96,
-                                "C12R1:R_HDS_2:first20mean": 10.87,
-                                "C12R1:R_HDS_3:first20mean": 10.68,
-                                "C12R1:R_HDS_4:first20mean": 10.75,
+                                "C12R1:R_HDS_1:first20mean": 10.960068166065833,
+                                "C12R1:R_HDS_2:first20mean": 10.867742274111508,
+                                "C12R1:R_HDS_3:first20mean": 10.680446564123944,
+                                "C12R1:R_HDS_4:first20mean": 10.754942039587203,
                             },
                             "diff": {
                                 "C12R1:R_HDS_1:first20mean": 0.5,
@@ -1181,16 +1181,16 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     capacitance_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "C12R1_C_HDS_1:capacitance": 0.007468123861566485,
-                                "C12R1_C_HDS_2:capacitance": 0.007529843893480257,
-                                "C12R1_C_HDS_3:capacitance": 0.007570093457943926,
-                                "C12R1_C_HDS_4:capacitance": 0.007527881040892193,
+                                "C12R1_C_HDS_1:capacitance": 0.007504716471642052,
+                                "C12R1_C_HDS_2:capacitance": 0.007524616839623706,
+                                "C12R1_C_HDS_3:capacitance": 0.007577611427747983,
+                                "C12R1_C_HDS_4:capacitance": 0.007540265774124871,
                             },
                             "act": {
-                                "C12R1_C_HDS_1:capacitance": 0.007481751824817518,
-                                "C12R1_C_HDS_2:capacitance": 0.0075436982520699185,
-                                "C12R1_C_HDS_3:capacitance": 0.007584269662921349,
-                                "C12R1_C_HDS_4:capacitance": 0.007534883720930233,
+                                "C12R1_C_HDS_1:capacitance": 0.007471762245228464,
+                                "C12R1_C_HDS_2:capacitance": 0.007520464303184141,
+                                "C12R1_C_HDS_3:capacitance": 0.0075572691638616475,
+                                "C12R1_C_HDS_4:capacitance": 0.007542664395716348,
                             },
                             "diff": {
                                 "C12R1_C_HDS_1:capacitance": nan,
@@ -1233,14 +1233,14 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                                 "A13R1:U_HDS_4:last20mean": 85.0,
                             },
                             "act": {
-                                "A13R1:U_HDS_1:first": 924.0,
-                                "A13R1:U_HDS_1:last20mean": 32.0,
-                                "A13R1:U_HDS_2:first": 936.0,
-                                "A13R1:U_HDS_2:last20mean": 32.0,
-                                "A13R1:U_HDS_3:first": 930.0,
-                                "A13R1:U_HDS_3:last20mean": 32.0,
-                                "A13R1:U_HDS_4:first": 939.0,
-                                "A13R1:U_HDS_4:last20mean": 33.0,
+                                "A13R1:U_HDS_1:first": 923.8803,
+                                "A13R1:U_HDS_1:last20mean": 32.00226057894737,
+                                "A13R1:U_HDS_2:first": 935.59076,
+                                "A13R1:U_HDS_2:last20mean": 31.95989347368421,
+                                "A13R1:U_HDS_3:first": 929.6301,
+                                "A13R1:U_HDS_3:last20mean": 32.228218157894744,
+                                "A13R1:U_HDS_4:first": 938.82983,
+                                "A13R1:U_HDS_4:last20mean": 32.98679052631579,
                             },
                             "result": {
                                 "A13R1:U_HDS_1:first": True,
@@ -1257,24 +1257,24 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     tau_u_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "A13R1:U_HDS_1:tau_charge": 0.086,
-                                "A13R1:U_HDS_2:tau_charge": 0.086,
-                                "A13R1:U_HDS_3:tau_charge": 0.087,
-                                "A13R1:U_HDS_4:tau_charge": 0.087,
-                                "A13R1:I_HDS_1:tau_charge": 0.078,
-                                "A13R1:I_HDS_2:tau_charge": 0.077,
-                                "A13R1:I_HDS_3:tau_charge": 0.078,
-                                "A13R1:I_HDS_4:tau_charge": 0.078,
+                                "A13R1:U_HDS_1:tau_charge": 0.08638234082924343,
+                                "A13R1:U_HDS_2:tau_charge": 0.08579576777728251,
+                                "A13R1:U_HDS_3:tau_charge": 0.08669932015248245,
+                                "A13R1:U_HDS_4:tau_charge": 0.08681837430321893,
+                                "A13R1:I_HDS_1:tau_charge": 0.07768809188576592,
+                                "A13R1:I_HDS_2:tau_charge": 0.07730370180610484,
+                                "A13R1:I_HDS_3:tau_charge": 0.07776091381301332,
+                                "A13R1:I_HDS_4:tau_charge": 0.07811956182650118,
                             },
                             "act": {
-                                "A13R1:U_HDS_1:tau_charge": 0.085,
-                                "A13R1:U_HDS_2:tau_charge": 0.085,
-                                "A13R1:U_HDS_3:tau_charge": 0.086,
-                                "A13R1:U_HDS_4:tau_charge": 0.086,
-                                "A13R1:I_HDS_1:tau_charge": 0.077,
-                                "A13R1:I_HDS_2:tau_charge": 0.077,
-                                "A13R1:I_HDS_3:tau_charge": 0.077,
-                                "A13R1:I_HDS_4:tau_charge": 0.078,
+                                "A13R1:U_HDS_1:tau_charge": 0.08545696263126829,
+                                "A13R1:U_HDS_2:tau_charge": 0.08507173381443298,
+                                "A13R1:U_HDS_3:tau_charge": 0.08591029533298725,
+                                "A13R1:U_HDS_4:tau_charge": 0.0862812864284815,
+                                "A13R1:I_HDS_1:tau_charge": 0.07703636436456383,
+                                "A13R1:I_HDS_2:tau_charge": 0.07669156122156749,
+                                "A13R1:I_HDS_3:tau_charge": 0.07726919393046816,
+                                "A13R1:I_HDS_4:tau_charge": 0.07771005281901067,
                             },
                             "diff": {
                                 "A13R1:U_HDS_1:tau_charge": 0.003,
@@ -1302,16 +1302,16 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     first_r_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "A13R1:R_HDS_1:first20mean": 11.71,
-                                "A13R1:R_HDS_2:first20mean": 11.71,
-                                "A13R1:R_HDS_3:first20mean": 11.7,
-                                "A13R1:R_HDS_4:first20mean": 11.77,
+                                "A13R1:R_HDS_1:first20mean": 11.713841750286312,
+                                "A13R1:R_HDS_2:first20mean": 11.713802370008764,
+                                "A13R1:R_HDS_3:first20mean": 11.699579761094201,
+                                "A13R1:R_HDS_4:first20mean": 11.765500162477819,
                             },
                             "act": {
-                                "A13R1:R_HDS_1:first20mean": 11.64,
-                                "A13R1:R_HDS_2:first20mean": 11.64,
-                                "A13R1:R_HDS_3:first20mean": 11.63,
-                                "A13R1:R_HDS_4:first20mean": 11.7,
+                                "A13R1:R_HDS_1:first20mean": 11.644040912310079,
+                                "A13R1:R_HDS_2:first20mean": 11.642404527280325,
+                                "A13R1:R_HDS_3:first20mean": 11.628283505428977,
+                                "A13R1:R_HDS_4:first20mean": 11.699265069675352,
                             },
                             "diff": {
                                 "A13R1:R_HDS_1:first20mean": 0.5,
@@ -1330,16 +1330,16 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     capacitance_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "A13R1_C_HDS_1:capacitance": 0.007344150298889836,
-                                "A13R1_C_HDS_2:capacitance": 0.007344150298889836,
-                                "A13R1_C_HDS_3:capacitance": 0.007435897435897436,
-                                "A13R1_C_HDS_4:capacitance": 0.007391673746813933,
+                                "A13R1_C_HDS_1:capacitance": 0.007374381750302548,
+                                "A13R1_C_HDS_2:capacitance": 0.007324331166534639,
+                                "A13R1_C_HDS_3:capacitance": 0.0074104644716208095,
+                                "A13R1_C_HDS_4:capacitance": 0.007379063627069377,
                             },
                             "act": {
-                                "A13R1_C_HDS_1:capacitance": 0.007302405498281787,
-                                "A13R1_C_HDS_2:capacitance": 0.007302405498281787,
-                                "A13R1_C_HDS_3:capacitance": 0.007394668959587273,
-                                "A13R1_C_HDS_4:capacitance": 0.00735042735042735,
+                                "A13R1_C_HDS_1:capacitance": 0.007339115627885092,
+                                "A13R1_C_HDS_2:capacitance": 0.007307058745046527,
+                                "A13R1_C_HDS_3:capacitance": 0.007388046162864684,
+                                "A13R1_C_HDS_4:capacitance": 0.0073749321786138276,
                             },
                             "diff": {
                                 "A13R1_C_HDS_1:capacitance": nan,
@@ -1382,14 +1382,14 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                                 "B13R1:U_HDS_4:last20mean": 85.0,
                             },
                             "act": {
-                                "B13R1:U_HDS_1:first": 894.0,
-                                "B13R1:U_HDS_1:last20mean": 26.0,
-                                "B13R1:U_HDS_2:first": 901.0,
-                                "B13R1:U_HDS_2:last20mean": 26.0,
-                                "B13R1:U_HDS_3:first": 895.0,
-                                "B13R1:U_HDS_3:last20mean": 24.0,
-                                "B13R1:U_HDS_4:first": 902.0,
-                                "B13R1:U_HDS_4:last20mean": 26.0,
+                                "B13R1:U_HDS_1:first": 894.21124,
+                                "B13R1:U_HDS_1:last20mean": 25.583651263157897,
+                                "B13R1:U_HDS_2:first": 901.32184,
+                                "B13R1:U_HDS_2:last20mean": 26.178807052631576,
+                                "B13R1:U_HDS_3:first": 894.53705,
+                                "B13R1:U_HDS_3:last20mean": 23.979754842105265,
+                                "B13R1:U_HDS_4:first": 901.9927,
+                                "B13R1:U_HDS_4:last20mean": 25.897368999999998,
                             },
                             "result": {
                                 "B13R1:U_HDS_1:first": True,
@@ -1406,24 +1406,24 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     tau_u_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "B13R1:U_HDS_1:tau_charge": 0.082,
-                                "B13R1:U_HDS_2:tau_charge": 0.082,
-                                "B13R1:U_HDS_3:tau_charge": 0.08,
-                                "B13R1:U_HDS_4:tau_charge": 0.082,
-                                "B13R1:I_HDS_1:tau_charge": 0.073,
-                                "B13R1:I_HDS_2:tau_charge": 0.073,
-                                "B13R1:I_HDS_3:tau_charge": 0.071,
-                                "B13R1:I_HDS_4:tau_charge": 0.073,
+                                "B13R1:U_HDS_1:tau_charge": 0.08207038855053132,
+                                "B13R1:U_HDS_2:tau_charge": 0.08231251340073338,
+                                "B13R1:U_HDS_3:tau_charge": 0.08015813144181586,
+                                "B13R1:U_HDS_4:tau_charge": 0.08199045382945644,
+                                "B13R1:I_HDS_1:tau_charge": 0.07310189144501764,
+                                "B13R1:I_HDS_2:tau_charge": 0.07329948625013691,
+                                "B13R1:I_HDS_3:tau_charge": 0.07143637886621004,
+                                "B13R1:I_HDS_4:tau_charge": 0.07307111907043368,
                             },
                             "act": {
-                                "B13R1:U_HDS_1:tau_charge": 0.081,
-                                "B13R1:U_HDS_2:tau_charge": 0.082,
-                                "B13R1:U_HDS_3:tau_charge": 0.079,
-                                "B13R1:U_HDS_4:tau_charge": 0.081,
-                                "B13R1:I_HDS_1:tau_charge": 0.072,
-                                "B13R1:I_HDS_2:tau_charge": 0.073,
-                                "B13R1:I_HDS_3:tau_charge": 0.071,
-                                "B13R1:I_HDS_4:tau_charge": 0.072,
+                                "B13R1:U_HDS_1:tau_charge": 0.08122917051237682,
+                                "B13R1:U_HDS_2:tau_charge": 0.08165418367464354,
+                                "B13R1:U_HDS_3:tau_charge": 0.0793154275553497,
+                                "B13R1:U_HDS_4:tau_charge": 0.08129210506644914,
+                                "B13R1:I_HDS_1:tau_charge": 0.07241997032036243,
+                                "B13R1:I_HDS_2:tau_charge": 0.07269622886391412,
+                                "B13R1:I_HDS_3:tau_charge": 0.0707351996939783,
+                                "B13R1:I_HDS_4:tau_charge": 0.07236613003299468,
                             },
                             "diff": {
                                 "B13R1:U_HDS_1:tau_charge": 0.003,
@@ -1451,16 +1451,16 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     first_r_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "B13R1:R_HDS_1:first20mean": 10.57,
-                                "B13R1:R_HDS_2:first20mean": 10.5,
-                                "B13R1:R_HDS_3:first20mean": 10.48,
-                                "B13R1:R_HDS_4:first20mean": 10.46,
+                                "B13R1:R_HDS_1:first20mean": 10.565547228961368,
+                                "B13R1:R_HDS_2:first20mean": 10.500555980506302,
+                                "B13R1:R_HDS_3:first20mean": 10.484521100879437,
+                                "B13R1:R_HDS_4:first20mean": 10.458122039654103,
                             },
                             "act": {
-                                "B13R1:R_HDS_1:first20mean": 10.5,
-                                "B13R1:R_HDS_2:first20mean": 10.44,
-                                "B13R1:R_HDS_3:first20mean": 10.42,
-                                "B13R1:R_HDS_4:first20mean": 10.39,
+                                "B13R1:R_HDS_1:first20mean": 10.49944035330616,
+                                "B13R1:R_HDS_2:first20mean": 10.436964964323424,
+                                "B13R1:R_HDS_3:first20mean": 10.41730832215263,
+                                "B13R1:R_HDS_4:first20mean": 10.393558953288121,
                             },
                             "diff": {
                                 "B13R1:R_HDS_1:first20mean": 0.5,
@@ -1479,16 +1479,16 @@ from lhcsmapi.api.analysis.qh import QuenchHeaterVoltageCurrentAnalysis, Voltage
                     capacitance_comp=pd.DataFrame(
                         {
                             "ref": {
-                                "B13R1_C_HDS_1:capacitance": 0.007757805108798486,
-                                "B13R1_C_HDS_2:capacitance": 0.00780952380952381,
-                                "B13R1_C_HDS_3:capacitance": 0.007633587786259542,
-                                "B13R1_C_HDS_4:capacitance": 0.007839388145315488,
+                                "B13R1_C_HDS_1:capacitance": 0.007767736660678308,
+                                "B13R1_C_HDS_2:capacitance": 0.007838871918167189,
+                                "B13R1_C_HDS_3:capacitance": 0.007645378426973858,
+                                "B13R1_C_HDS_4:capacitance": 0.007839883061086197,
                             },
                             "act": {
-                                "B13R1_C_HDS_1:capacitance": 0.007714285714285714,
-                                "B13R1_C_HDS_2:capacitance": 0.0078544061302682,
-                                "B13R1_C_HDS_3:capacitance": 0.007581573896353167,
-                                "B13R1_C_HDS_4:capacitance": 0.007795957651588066,
+                                "B13R1_C_HDS_1:capacitance": 0.007736523831653431,
+                                "B13R1_C_HDS_2:capacitance": 0.007823556364686596,
+                                "B13R1_C_HDS_3:capacitance": 0.00761381204266401,
+                                "B13R1_C_HDS_4:capacitance": 0.007821392598223677,
                             },
                             "diff": {
                                 "B13R1_C_HDS_1:capacitance": nan,
-- 
GitLab