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

correct source to be string and fix list of tcv_get_ids_xxxx list

parent a072af75
No related branches found
No related tags found
1 merge request!72Fix core profiles
Pipeline #43563 passed
function list = tcv_available_ids() function list = tcv_available_ids
%
% functions to get ids structure xxx from tcv data are called: tcv_get_ids_xxx.m
% return all these functions assuming they are in the same folder
%
list = {'equilibrium', 'magnetics', 'tf', 'pf_active','wall','core_profiles','ec_launchers','nbi','pf_passive', ... [a1,a2]=fileparts(mfilename('fullpath'));
'thomson_scattering', 'summary'}; bb=dir([a1 '/tcv_get_ids_*.m']);
for i=1:numel(bb)
list{i} = bb(i).name(13:end-2);
end
end
\ No newline at end of file
...@@ -233,8 +233,8 @@ params_eff.data_request = 'vloop'; ...@@ -233,8 +233,8 @@ params_eff.data_request = 'vloop';
global_quantities.v_loop = gdat(params_summary.shot,params_eff); global_quantities.v_loop = gdat(params_summary.shot,params_eff);
tensvloop=-1e3; tensvloop=-1e3;
global_quantities.v_loop.data = interpos(global_quantities.v_loop.t,-global_quantities.v_loop.data,tensvloop); global_quantities.v_loop.data = interpos(global_quantities.v_loop.t,-global_quantities.v_loop.data,tensvloop);
global_quantities_desc.v_loop = [params_eff.data_request ' ; -1* interpos of ' global_quantities.v_loop.data_fullpath ... global_quantities_desc.v_loop = [params_eff.data_request ' ; -1* interpos of ' global_quantities.v_loop.data_fullpath{1} ...
' with tens=' num2str(tensvloop)]; ' ' global_quantities.v_loop.data_fullpath{end} ' with tens=' num2str(tensvloop)];
params_eff.data_request = 'volume'; params_eff.data_request = 'volume';
global_quantities.volume = gdat(params_summary.shot,params_eff); global_quantities.volume = gdat(params_summary.shot,params_eff);
global_quantities_desc.volume = [params_eff.data_request ' ; ' global_quantities.volume.data_fullpath]; global_quantities_desc.volume = [params_eff.data_request ' ; ' global_quantities.volume.data_fullpath];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment