From f659967fbb34391b4096e8db5dbdc4d9b34a3c6d Mon Sep 17 00:00:00 2001
From: Olivier Sauter <Olivier.Sauter@epfl.ch>
Date: Tue, 28 Sep 2021 09:02:59 +0200
Subject: [PATCH] add fir corrected for pellet shot for neint, hence ngf

---
 matlab/AUG/aug_requests_mapping.m | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/matlab/AUG/aug_requests_mapping.m b/matlab/AUG/aug_requests_mapping.m
index c8960583..9b4e16ae 100644
--- a/matlab/AUG/aug_requests_mapping.m
+++ b/matlab/AUG/aug_requests_mapping.m
@@ -204,8 +204,12 @@ switch lower(data_request)
  case 'neint'
   mapping.timedim = 1;
   mapping.label = 'line integrated el. density';
-  mapping.method = 'signal';
+  % mapping.method = 'signal';
+  mapping.method = 'expression';
   mapping.expression = [{'DCN'},{'H-1'},{'AUGD'}];
+  mapping.expression = ['params_eff = gdat_data.gdat_params;params_eff.data_request={''DCN'',''H-1'',''AUGD''};' ...
+                    'if any(shot==[39311, 39599]);params_eff.data_request={''TTH'',''dcn_reco'',''PUETTI''};end;' ...
+                    'gdat_tmp=gdat_aug(shot,params_eff);'];
  case 'nel'
   mapping.timedim = 1;
   mapping.label = 'line-averaged el. density';
-- 
GitLab