1) new undulator update does not work with urgent code. I got the following error message:
"At line 3035 of file shadow_pre_sync.F90 (unit=40,file='uphot.dat') Fortran runtime error: End of line"
2) The energy resolution of the undulator source always has big steps, it looks like poor binning of the energy range. I expect a much smoother curve as the undulator harmomics look like. Could this be caused by the small arrays used for the trajetory calculation (if I remeber right, there were only 20 points)?