From c209864f7e1b9a86b0df7f306c72d60403687eaa Mon Sep 17 00:00:00 2001
From: Antonia Frank <antonia.frank@epfl.ch>
Date: Fri, 23 Feb 2024 18:15:58 +0100
Subject: [PATCH] Add tau_energy to ids summary

---
 matlab/TCV_IMAS/tcv_get_ids_summary.m | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/matlab/TCV_IMAS/tcv_get_ids_summary.m b/matlab/TCV_IMAS/tcv_get_ids_summary.m
index 36e2ea17..06fb3c6a 100644
--- a/matlab/TCV_IMAS/tcv_get_ids_summary.m
+++ b/matlab/TCV_IMAS/tcv_get_ids_summary.m
@@ -183,6 +183,9 @@ global_quantities_desc.current_non_inductive = [params_eff.data_request ' ; ' gl
 params_eff.data_request = 'w_mhd';
 global_quantities.energy_diamagnetic = gdat(params_summary.shot,params_eff);
 global_quantities_desc.energy_diamagnetic = [params_eff.data_request ' ; ' global_quantities.energy_diamagnetic.data_fullpath];
+params_eff.data_request = 'tau_tot';
+global_quantities.tau_energy = gdat(params_summary.shot,params_eff);
+global_quantities_desc.tau_energy = [params_eff.data_request ' ; ' global_quantities.tau_energy.data_fullpath];
 params_eff.data_request = '\tcv_shot::top.results.conf:we';
 global_quantities.energy_electrons_thermal = gdat(params_summary.shot,params_eff);
 global_quantities_desc.energy_electrons_thermal = [params_eff.data_request ' ; ' global_quantities.energy_electrons_thermal.data_fullpath];
-- 
GitLab