KModulation scripts update M Hofer KModulation Scripts adapted

  • Slides: 8
Download presentation
K-Modulation scripts update M. Hofer

K-Modulation scripts update M. Hofer

K-Modulation ▪ Scripts adapted to allow analysis of K-Modulation in IR 4 ▪ Additional

K-Modulation ▪ Scripts adapted to allow analysis of K-Modulation in IR 4 ▪ Additional changes: error from Quadrupole misalignment, δK, δQ (was already in there before, but hardcoded, now input), Coupling , etc. Example Commands: /afs/cern. ch/work/o/omc/anaconda/bin/python /afs/cern. ch/user/m/mihofer/public/KMOD/Py. Files/gui 2 kmod. py -i ip 1 -e b 2 -M 0. 0 -c 0. 0 -K 0. -b 0. 4, 0 -I MONITOR -l -n -w /afs/cern. ch/user/m/mihofer/public/KMODCommissioning /afs/cern. ch/work/o/omc/anaconda/bin/python /afs/cern. ch/user/m/mihofer/public/KMOD/Py. Files/gui 2 kmod. py -m RQ 5. L 4 B 1, RQ 5. R 4 B 1 -e b 1 -M 0. 005 -c 0. 004 -K 1 e-5 -b 200, -100 -I MONITOR, RBEND, INSTRUMENT, TKICKER -l -w /afs/cern. ch/user/m/mihofer/public/KMOD/Commissioning. IR 4 Kmod/kmod_flattop June 29, 2017 2

K-Modulation Example Commands: /afs/cern. ch/work/o/omc/anaconda/bin/python /afs/cern. ch/user/m/mihofer/public/KMOD/Py. Files/gui 2 kmod. py -i ip 1

K-Modulation Example Commands: /afs/cern. ch/work/o/omc/anaconda/bin/python /afs/cern. ch/user/m/mihofer/public/KMOD/Py. Files/gui 2 kmod. py -i ip 1 -e b 2 -M 0. 0 -c 0. 0 -K 0. -b 0. 4, 0 -I MONITOR -l -n -w /afs/cern. ch/user/m/mihofer/public/KMODCommissioning /afs/cern. ch/work/o/omc/anaconda/bin/python /afs/cern. ch/user/m/mihofer/public/KMOD/Py. Files/gui 2 kmod. py -m RQ 5. L 4 B 1, RQ 5. R 4 B 1 -e b 1 -M 0. 005 -c 0. 004 -K 1 e-5 -b 200, -100 -I MONITOR, RBEND, INSTRUMENT, TKICKER -l -w /afs/cern. ch/user/m/mihofer/public/KMOD/Commissioning. IR 4 Kmod/kmod_flattop ▪ -e flag for selecting beam ▪ -b flag for betawaist and waist guess, important for Modulation in IR 4 June 29, 2017 3

K-Modulation Example Commands: /afs/cern. ch/work/o/omc/anaconda/bin/python /afs/cern. ch/user/m/mihofer/public/KMOD/Py. Files/gui 2 kmod. py -i ip 1

K-Modulation Example Commands: /afs/cern. ch/work/o/omc/anaconda/bin/python /afs/cern. ch/user/m/mihofer/public/KMOD/Py. Files/gui 2 kmod. py -i ip 1 -e b 2 -M 0. 0 -c 0. 0 -K 0. -b 0. 4, 0 -I MONITOR -n -w /afs/cern. ch/user/m/mihofer/public/KMODCommissioning /afs/cern. ch/work/o/omc/anaconda/bin/python /afs/cern. ch/user/m/mihofer/public/KMOD/Py. Files/gui 2 kmod. py -m RQ 5. L 4 B 1, RQ 5. R 4 B 1 -e b 1 -M 0. 005 -c 0. 004 -K 1 e-5 -b 200, -100 -I MONITOR, RBEND, INSTRUMENT, TKICKER -w /afs/cern. ch/user/m/mihofer/public/KMOD/Commissioning. IR 4 Kmod/kmod_flattop ▪ New for Modulation in IR 4 ▪ -i for selecting IP 1, IP 5 or IP 8 ▪ or –m + consecutive circuit names for IR 4 K-Mod or Ballistic optics June 29, 2017 4

K-Modulation Example Commands: /afs/cern. ch/work/o/omc/anaconda/bin/python /afs/cern. ch/user/m/mihofer/public/KMOD/Py. Files/gui 2 kmod. py -i ip 1

K-Modulation Example Commands: /afs/cern. ch/work/o/omc/anaconda/bin/python /afs/cern. ch/user/m/mihofer/public/KMOD/Py. Files/gui 2 kmod. py -i ip 1 -e b 2 -M 0. 0 -c 0. 0 -K 0. -b 0. 4, 0 -I MONITOR -n -w /afs/cern. ch/user/m/mihofer/public/KMODCommissioning /afs/cern. ch/work/o/omc/anaconda/bin/python /afs/cern. ch/user/m/mihofer/public/KMOD/Py. Files/gui 2 kmod. py -m RQ 5. L 4 B 1, RQ 5. R 4 B 1 -e b 1 -M 0. 005 -c 0. 004 -K 1 e-5 -b 200, -100 -I MONITOR, RBEND, INSTRUMENT, TKICKER -w /afs/cern. ch/user/m/mihofer/public/KMOD/Commissioning. IR 4 Kmod/kmod_flattop ▪ -I finds position of elements between the modulated quadrupoles in twiss files and calculates β-function at these elements (-MONITOR = BPM) ▪ Outputfiles e. g. BETA_INSTRUMENT_X. out June 29, 2017 5

K-Modulation Example Commands: /afs/cern. ch/work/o/omc/anaconda/bin/python /afs/cern. ch/user/m/mihofer/public/KMOD/Py. Files/gui 2 kmod. py -i ip 1

K-Modulation Example Commands: /afs/cern. ch/work/o/omc/anaconda/bin/python /afs/cern. ch/user/m/mihofer/public/KMOD/Py. Files/gui 2 kmod. py -i ip 1 -e b 2 -M 0. 0 -c 0. 0 -K 0. -b 0. 4, 0 -I MONITOR -n -w /afs/cern. ch/user/m/mihofer/public/KMODCommissioning /afs/cern. ch/work/o/omc/anaconda/bin/python /afs/cern. ch/user/m/mihofer/public/KMOD/Py. Files/gui 2 kmod. py -m RQ 5. L 4 B 1, RQ 5. R 4 B 1 -e b 1 -M 0. 005 -c 0. 004 -K 1 e-5 -b 200, -100 -I MONITOR, RBEND, INSTRUMENT, TKICKER -w /afs/cern. ch/user/m/mihofer/public/KMOD/Commissioning. IR 4 Kmod/kmod_flattop ▪ -n : Autocleaning enabled by default, can be disabled June 29, 2017 6

K-Modulation Example Commands: /afs/cern. ch/work/o/omc/anaconda/bin/python /afs/cern. ch/user/m/mihofer/public/KMOD/Py. Files/gui 2 kmod. py -i ip 1

K-Modulation Example Commands: /afs/cern. ch/work/o/omc/anaconda/bin/python /afs/cern. ch/user/m/mihofer/public/KMOD/Py. Files/gui 2 kmod. py -i ip 1 -e b 2 -M 0. 0 -c 0. 0 -K 0. -b 0. 4, 0 -I MONITOR -n -w /afs/cern. ch/user/m/mihofer/public/KMODCommissioning /afs/cern. ch/work/o/omc/anaconda/bin/python /afs/cern. ch/user/m/mihofer/public/KMOD/Py. Files/gui 2 kmod. py -m RQ 5. L 4 B 1, RQ 5. R 4 B 1 -e b 1 -M 0. 005 -c 0. 004 -K 1 e-5 -b 200, -100 -I MONITOR, RBEND, INSTRUMENT, TKICKER -w /afs/cern. ch/user/m/mihofer/public/KMOD/Commissioning. IR 4 Kmod/kmod_flattop ▪ June 29, 2017 7

Coupling ▪ In new scripts, error from coupling is considered but very simple error

Coupling ▪ In new scripts, error from coupling is considered but very simple error calculation, agree with previous mad. X simulations but needs (a lot) more refinement d. Q Additional Error on Inputtune June 29, 2017 8