MASH, a Framework for the Automation of X-ray Optical Simulations
MASH stands for "Macros for the Automation of SHadow". It allows to run a set of ray-tracing simulations, for a range of photon energies for example, fully automatically. Undulator gaps, crystal angles etc. are tuned automatically. Important output parameters, such as photon flux, photon irradiance, focal spot size, bandwidth, etc. are then directly provided as function of photon energy. A photon
