Skip to content
Snippets Groups Projects
Commit 5b6628c6 authored by Olivier Sauter's avatar Olivier Sauter
Browse files

add xte and halphas

git-svn-id: https://spcsvn.epfl.ch/repos/TCV/gdat/trunk@7468 d63d8f72-b253-0410-a779-e742ad2e26cf
parent a1edb91e
No related branches found
No related tags found
No related merge requests found
...@@ -95,6 +95,11 @@ switch lower(data_request) ...@@ -95,6 +95,11 @@ switch lower(data_request)
mapping.label = 'Halpha'; mapping.label = 'Halpha';
mapping.method = 'tdi'; mapping.method = 'tdi';
mapping.expression = '\base::pd:pd_001'; mapping.expression = '\base::pd:pd_001';
case 'halphas'
mapping.timedim = 1;
mapping.label = 'Halpha';
mapping.method = 'switchcase';
mapping.expression = '';
case 'ioh' case 'ioh'
mapping.timedim = 1; mapping.timedim = 1;
mapping.label = 'I ohmic transformer'; mapping.label = 'I ohmic transformer';
...@@ -293,6 +298,16 @@ switch lower(data_request) ...@@ -293,6 +298,16 @@ switch lower(data_request)
mapping.label = data_request; mapping.label = data_request;
mapping.method = 'switchcase'; mapping.method = 'switchcase';
mapping.expression = ''; 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 '' % $$$ case ''
% $$$ mapping.timedim = 1; % $$$ mapping.timedim = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment