These directories contain the ESRF undulator source parameters in syned format for the current lattice and the new (EBS) lattice. syned is: https://github.com/lucarebuffi/syned The files are created using: https://github.com/srio/shadow3-scripts/blob/master/ESRF-LIGHTSOURCES/read_csv.py The different versions of syned files are available in different directories: lightsources: a link to the latest directory, now lightsources3 lightsources1: the lattice parameters are taken from the Orange Book pag 74-75 lightsources2: the lattice parameters are updated according to parameters extracted from S28D.mat AT lattice file for EBS, and esrf.mat for high and low beta section of the current lattice. The values used are: #ULATTICEFILE S28D.mat #UEPSILONX 1.3166e-10 #UEPSILONY 5e-12 BETAX 6.89997 BETAY 2.6447 SIGMAX 30.1836 SIGMAY 3.63641 SIGMAXP 4.36821 SIGMAYP 1.37498 #ULATTICEFILE esrf.mat #UEPSILONX 4e-09 #UEPSILONY 4e-12 ----------- HIGH BETA -------------- BETAX 37.5946 BETAY 2.94728 SIGMAX 414.971 SIGMAY 3.43353 SIGMAXP 10.3149 SIGMAYP 1.16498 ----------- LOW BETA -------------- BETAX 0.348126 BETAY 2.96631 SIGMAX 50.3973 SIGMAY 3.44459 SIGMAXP 107.192 SIGMAYP 1.16124 lightsources3: Same as lightsources2 but some files have been renamed to two digits after ID, e.g., ESRF_ID01_EBS_PPU35_22.json instead of ESRF_ID1_EBS_PPU35_22.json