From 92f3b0d15cf7413da773b1d22ae4fde0d597e064 Mon Sep 17 00:00:00 2001
From: Olivier Sauter <olivier.sauter@epfl.ch>
Date: Tue, 29 Mar 2016 09:19:13 +0000
Subject: [PATCH] fix pgyro, will need to chage powers to include full pgyro
 and not just ec tot

git-svn-id: https://spcsvn.epfl.ch/repos/TCV/gdat/trunk@5593 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 eb206fb0..573ed0f1 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
-  powers=gdat(shot,'powers');
-
+  pgyro=gdat(shot,'pgyro');
+  % pgyro = powers.ec;
   hhDCR = sfread('DCR', shot);
   dousedcr = '';
   if hhDCR.handle~=0;
-- 
GitLab