From 949a03d7f9f6df100ea645b9f14bcadea89e3e65 Mon Sep 17 00:00:00 2001
From: BLANCO-GARCIA <oscar-roberto.blanco-garcia@synchrotron-soleil.fr>
Date: Mon, 30 May 2022 10:08:05 +0200
Subject: [PATCH] changes offset in function TunesShiftWithAmplitude

---
 tracy/tracy/src/soleillib.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tracy/tracy/src/soleillib.cc b/tracy/tracy/src/soleillib.cc
index 726f4f6..14eaf31 100644
--- a/tracy/tracy/src/soleillib.cc
+++ b/tracy/tracy/src/soleillib.cc
@@ -729,7 +729,7 @@ void TunesShiftWithAmplitude(const char *NudxFile, const char *NudzFile, long Nb
 
     xstep = xmax/Nbx*2.0;
     x0 = 1e-6 - xmax;
-    z0 = 1e-3;
+    z0 = 1e-5;
 
     for (i = 0; i <= Nbx; i++) {
       x  = x0 + i*xstep ;
@@ -770,7 +770,7 @@ void TunesShiftWithAmplitude(const char *NudxFile, const char *NudzFile, long Nb
     fprintf(outf,"#    x[mm]         z[mm]          fx            fy \n");
 
     zstep = ymax/Nby*2.0;
-    x0 = 1e-3;
+    x0 = 1e-5;
     z0 = 1e-6 - ymax;
     for (i = 0; i <= Nby; i++) {
       x  = x0 ;
-- 
GitLab