From 302133e0fbe742cd19d130c181fa0ac133e6043c Mon Sep 17 00:00:00 2001 From: Matteo Vallar <matteo.vallar@epfl.ch> Date: Mon, 7 Jun 2021 08:50:21 +0200 Subject: [PATCH] Added possibility to define liuqe index when gathering the ids --- matlab/TCV_IMAS/tcv2ids.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/matlab/TCV_IMAS/tcv2ids.m b/matlab/TCV_IMAS/tcv2ids.m index da618f38..5e5f717d 100644 --- a/matlab/TCV_IMAS/tcv2ids.m +++ b/matlab/TCV_IMAS/tcv2ids.m @@ -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 -- GitLab