From b6c9ee43d0fd6ebaad1f8b498e4873c7e5ef335f Mon Sep 17 00:00:00 2001 From: matval91 <matteo.vallar@igi.cnr.it> Date: Tue, 24 Sep 2019 10:48:21 +0200 Subject: [PATCH] R and z position are (back) in meters --- matlab/TCV_IMAS/tcv_get_ids_nbi.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/matlab/TCV_IMAS/tcv_get_ids_nbi.m b/matlab/TCV_IMAS/tcv_get_ids_nbi.m index ffbbd5ed..ff80ce92 100644 --- a/matlab/TCV_IMAS/tcv_get_ids_nbi.m +++ b/matlab/TCV_IMAS/tcv_get_ids_nbi.m @@ -51,11 +51,11 @@ beamlets_group.divergence(2).horizontal = 0.53 *pi/180.; %dcd_NBH = psitbxdcd(4.5889, 0.0, 211.9535*pi/180, 0.0, -9.2308*pi/180); beamlets_group.position(1:nb_units) = struct('phi',[],'r',[],'z',[]); beamlets_group.position(1).phi = 211.9535*pi/180.; -beamlets_group.position(1).r = 4.5889*1e-2; % in [m]?? OS -beamlets_group.position(1).z = 0.; % in [m]?? OS +beamlets_group.position(1).r = 4.5889; +beamlets_group.position(1).z = 0.; beamlets_group.position(2).phi = 295.2416*pi/180.; -beamlets_group.position(2).r = 4.9274*1e-2; % in [m]?? OS -beamlets_group.position(2).z = 0.; % in [m]?? OS +beamlets_group.position(2).r = 4.9274; +beamlets_group.position(2).z = 0.; for iunit=1:nb_units ids_nbi.unit{iunit}.identifier = unit_identifier{iunit}; -- GitLab