Closed gtiwari30 closed 1 year ago
I find that using (1/a_w)(d*a_w/dx) /k_u in input gives \alpha in SI units in output. So this means input gradx/grady should be scaled to k_u. Does this sound correct? Thanks
Yes, the code scales internally the input gradx with ku. It allows for some faster execution. However the relative change of the undulator field with transverse position as the input is more intuitive. I will update the manual to indicate the difference.
Hi Sven, The output values of gradx/grady in Lattice group do not match with input values used for .lat file. Is this because the output gradx/grady is still in scaled units? Thank you