From 5b6628c66bbb7d2076abaff01ae38668366109e9 Mon Sep 17 00:00:00 2001 From: Olivier Sauter <olivier.sauter@epfl.ch> Date: Tue, 6 Jun 2017 12:56:46 +0000 Subject: [PATCH] add xte and halphas git-svn-id: https://spcsvn.epfl.ch/repos/TCV/gdat/trunk@7468 d63d8f72-b253-0410-a779-e742ad2e26cf --- crpptbx/TCV/tcv_requests_mapping.m | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/crpptbx/TCV/tcv_requests_mapping.m b/crpptbx/TCV/tcv_requests_mapping.m index d982ccd7..71f355d7 100644 --- a/crpptbx/TCV/tcv_requests_mapping.m +++ b/crpptbx/TCV/tcv_requests_mapping.m @@ -95,6 +95,11 @@ switch lower(data_request) mapping.label = 'Halpha'; mapping.method = 'tdi'; mapping.expression = '\base::pd:pd_001'; + case 'halphas' + mapping.timedim = 1; + mapping.label = 'Halpha'; + mapping.method = 'switchcase'; + mapping.expression = ''; case 'ioh' mapping.timedim = 1; mapping.label = 'I ohmic transformer'; @@ -293,6 +298,16 @@ switch lower(data_request) mapping.label = data_request; mapping.method = 'switchcase'; mapping.expression = ''; + case 'xte' + mapping.timedim = 1; + mapping.gdat_timedim = 1; + mapping.method = 'tdiliuqe'; + mapping.expression = '\results::te_x_a[*,12]'; + mapping.method = 'expression'; + mapping.expression = ['params_eff = gdat_data.gdat_params;params_eff.data_request=''\results::te_x_a[*,12]''; ' ... + 'gdat_tmp=gdat_tcv([],params_eff); ' ... + 'params_eff = gdat_data.gdat_params;params_eff.data_request=''\magnetics::iplasma:trapeze''; ' ... + 'aa=gdat_tcv([],params_eff);it=find(abs(aa.data)<10e3);it2=iround_os(gdat_tmp.t,aa.t(it));gdat_tmp.data(it2)=NaN;']; % $$$ case '' % $$$ mapping.timedim = 1; -- GitLab