undulator
There are 2 repositories under undulator topic.
kklmn/xrt
Package xrt (XRayTracer) is a python software library for ray tracing and wave propagation in x-ray regime. It is primarily meant for modeling synchrotron sources, beamlines and beamline elements.
hidecode221b/U4Opt
Optimization of the undulator period in the K vs period with flux vs energy spaces.