From 3c53e51e905e16baf75125a4abb8851297ec6b9c Mon Sep 17 00:00:00 2001
From: Olivier Sauter <olivier.sauter@epfl.ch>
Date: Tue, 11 Jun 2024 10:02:32 +0200
Subject: [PATCH] fix 1st shot with radcam

---
 matlab/TCV/gdat_tcv.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/matlab/TCV/gdat_tcv.m b/matlab/TCV/gdat_tcv.m
index 2caee895..a6118f64 100644
--- a/matlab/TCV/gdat_tcv.m
+++ b/matlab/TCV/gdat_tcv.m
@@ -3317,7 +3317,7 @@ elseif strcmp(mapping_for_tcv.method,'switchcase')
     end
     % sxr from dmpx by default or xtomo if 'camera','xtomo' is provided
     if ~isfield(gdat_data.gdat_params,'source') || isempty(gdat_data.gdat_params.source)
-      if shot < 70511
+      if shot < 70144
         gdat_data.gdat_params.source = 'mpx';
       else
         gdat_data.gdat_params.source = 'radcam';
-- 
GitLab