From 0bb3020f72a6c9e8f35a3f4bcf28fa210f710126 Mon Sep 17 00:00:00 2001
From: Olivier Sauter <olivier.sauter@epfl.ch>
Date: Fri, 8 Oct 2021 12:08:25 +0000
Subject: [PATCH] change name from nb to nbi1

---
 matlab/TCV/gdat_tcv.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/matlab/TCV/gdat_tcv.m b/matlab/TCV/gdat_tcv.m
index 2e8b2ad3..5da9427c 100644
--- a/matlab/TCV/gdat_tcv.m
+++ b/matlab/TCV/gdat_tcv.m
@@ -2356,7 +2356,7 @@ elseif strcmp(mapping_for_tcv.method,'switchcase')
    case {'powers'}
     % note: same time array for all main, ec, ohm, nbi, ...
     % At this stage fill just ech, later add nbi
-    sources_avail = {'ohm','ec','nbi','rad', 'nb2'}; % note should allow ech, nbh, ohmic in parameter sources
+    sources_avail = {'ohm','ec','nbi1','rad', 'nbi2'}; % note should allow ech, nbh, ohmic in parameter sources
     % create empty structures for all, so in return one always have same substructres
     for i=1:length(sources_avail)
       gdat_data.(sources_avail{i}).data = [];
-- 
GitLab