From a39c66b1e744fa426e0c4dbb0b8e33e9c8137e2f Mon Sep 17 00:00:00 2001 From: Luke Simons <luke.simons@epfl.ch> Date: Wed, 23 Apr 2025 13:13:03 +0000 Subject: [PATCH] Small suggested changes to comments --- matlab/TCV_IMAS/tcv2ids.m | 4 ++-- matlab/TCV_IMAS/tcv_get_ids_nbi.m | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/matlab/TCV_IMAS/tcv2ids.m b/matlab/TCV_IMAS/tcv2ids.m index 7c0a293..8366220 100644 --- a/matlab/TCV_IMAS/tcv2ids.m +++ b/matlab/TCV_IMAS/tcv2ids.m @@ -16,7 +16,7 @@ function [ids_from_tcv,varargout] = tcv2ids(shot,varargin); % empty or 'delta' (default): meaning difference in upper is set (standard error_bar % 'added': errorbar is added: upper=data+delta and lower=data-delta % 'delta_with_lower': as 'delta' but lower also set -% 'cocos_out': (DD3 default 11, DD4 default 17) cocos to transform ids from TCV cocos_in=17 to cocos_out +% 'cocos_out': (DD3 and before default 11, DD4 default 17) cocos to transform ids from TCV cocos_in=17 to cocos_out % 'ipsign_out': if a specific sign fo Ip is desired in output within the cocos_out system (default 0=no specific sign) % 'b0sign_out': if a specific sign fo B0 is desired in output within the cocos_out system (default 0=no specific sign) % 'nverbose': (default 1), set it to 3 to have more messages, for example about not fully valid nodes when doing transformation (empty or Nans) @@ -36,7 +36,7 @@ try cocos_out_default=11; end catch - disp('IMAS_VERSION undefined, assuming cocos_out=17'); + disp('IMAS_VERSION undefined, assuming cocos_out_default=17'); end % initialize input parser diff --git a/matlab/TCV_IMAS/tcv_get_ids_nbi.m b/matlab/TCV_IMAS/tcv_get_ids_nbi.m index 6eae107..a9baab2 100644 --- a/matlab/TCV_IMAS/tcv_get_ids_nbi.m +++ b/matlab/TCV_IMAS/tcv_get_ids_nbi.m @@ -5,7 +5,6 @@ function [ids_nbi,ids_nbi_description,varargout] = tcv_get_ids_nbi(shot,ids_nbi_ % % gdat_params: gdat_data.gdat_params to get all params passed from original call, in particular error_bar options % -% % Most information taken from NBI and NB_Model wiki pages: % https://spcwiki.epfl.ch/wiki/NBI % https://spcwiki.epfl.ch/wiki/NB_Model -- GitLab