diff --git a/crpptbx/AUG/run_torbeam_fullshot.m b/crpptbx/AUG/run_torbeam_fullshot.m index 573ed0f13c1420b7eda13184f81b7083ee48255c..f39b3e46a3d792b28ac660ed583ed8d291ea5cd6 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;