Skip to content
Snippets Groups Projects
Commit 302133e0 authored by Matteo Vallar's avatar Matteo Vallar
Browse files

Added possibility to define liuqe index when gathering the ids

parent 5600ed4a
No related branches found
No related tags found
1 merge request!104Added possibility to define liuqe index when gathering the ids
Pipeline #75333 passed
......@@ -23,6 +23,7 @@ function [ids_from_tcv,varargout] = tcv2ids(shot,varargin);
% 'time_out': if 2 values provided: get all time data within that time interval
% otherwise get values at these times provided in time_out (with linear interpolation and cst extrapolation)
% 'trialindx': trial_indx for relevant nodes, in particular CONF kinetic profiles nodes
% 'liuqe': liuqe indx for equilibrium, only 1,2,3 are available
%
% Outputs
% varargout{1}: return also the ids in array of structure with the names, to allow easy use of plotallids
......@@ -42,6 +43,7 @@ p.addOptional('b0sign_out', 0, @(x) isempty(x) || (isscalar(x) && (x==0 || x==-1
p.addOptional('nverbose', 1, @(x) isempty(x) || isnumeric(x) );
p.addOptional('time_out', [], @(x) isempty(x) || isnumeric(x) );
p.addOptional('trialindx', [], @(x) isempty(x) || isnumeric(x) );
p.addOptional('liuqe', [], @(x) isempty(x) || isnumeric(x) );
params_not_for_gdat_params = {'shot','ids_names'};
......@@ -129,4 +131,4 @@ if nargout>=2
varargout{1} = [];
disp('problems to fill in varargout')
end
end
end
\ No newline at end of file
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