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
Pipeline #43563 passed with stage
in 3 minutes and 49 seconds
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', ...
'thomson_scattering', 'summary'};
[a1,a2]=fileparts(mfilename('fullpath'));
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';
global_quantities.v_loop = gdat(params_summary.shot,params_eff);
tensvloop=-1e3;
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 ...
' with tens=' num2str(tensvloop)];
global_quantities_desc.v_loop = [params_eff.data_request ' ; -1* interpos of ' global_quantities.v_loop.data_fullpath{1} ...
' ' global_quantities.v_loop.data_fullpath{end} ' with tens=' num2str(tensvloop)];
params_eff.data_request = 'volume';
global_quantities.volume = gdat(params_summary.shot,params_eff);
global_quantities_desc.volume = [params_eff.data_request ' ; ' global_quantities.volume.data_fullpath];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment