PGMweb: A Plane Grating Monochromator Simulation Tool

Ray-tracing with PGMs

Another major motivation for the development of the underlying codebase for PGMweb was the lack of tools to perform ray-tracing simulations for beamlines with PGMs. pyplanemono, the python package which handles the calculation of geometrical quantities also has an interface with SHADOW3, the ray-tracing engine. This allows the user to perform scans over a range of parameter without the need for them to intervene.

A publication detailing the ray-tracing procedures is forthcoming.

This tool is provided as is and without warranty. It is available for free and open-source use under the MIT license. MIT license

Diamond Light Source logo

Copyright 2024 Patrick Wang, Andrew Walters, and Murilo Bazan da Silva