From 3cd0ad1c8e3b9047fd8f0c4f45254c9f0d4a9566 Mon Sep 17 00:00:00 2001 From: Olivier Sauter <olivier.sauter@epfl.ch> Date: Tue, 29 Mar 2016 14:24:43 +0000 Subject: [PATCH] use ec from sub-powers source in run_torbeam now git-svn-id: https://spcsvn.epfl.ch/repos/TCV/gdat/trunk@5596 d63d8f72-b253-0410-a779-e742ad2e26cf --- crpptbx/AUG/run_torbeam_fullshot.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crpptbx/AUG/run_torbeam_fullshot.m b/crpptbx/AUG/run_torbeam_fullshot.m index 573ed0f1..f39b3e46 100644 --- a/crpptbx/AUG/run_torbeam_fullshot.m +++ b/crpptbx/AUG/run_torbeam_fullshot.m @@ -45,8 +45,8 @@ if nargin>=3 && mod(length(varargin),2)==0 end if shot>0 - pgyro=gdat(shot,'pgyro'); - % pgyro = powers.ec; + pgyro=gdat(shot,'powers','source','ec'); % load just ec (in addition to ohmic) + pgyro = pgyro.ec; hhDCR = sfread('DCR', shot); dousedcr = ''; if hhDCR.handle~=0; -- GitLab