gratinglab draws diffraction from a grating in the extreme off-plane, or conical, mount at grazing incidence, the geometry soft X-ray reflection-grating spectrometers use. It shows the cone of diffraction in three dimensions and computes the direction and efficiency of every order.
get in touch
For help, feedback or a bug report, email:
info@magmacrunch.comFor a bug, it helps to include your device (for example, iPhone 16), its iOS version, and what you did just before it went wrong. For a number you think is wrong, press COPY and paste the result into the email: it carries the whole geometry and the table of orders, so it reproduces exactly what you were looking at.
questions
- how do i enter a grating i already have?
- Tap any number beside a control and type the value. The period takes nanometers or grooves per millimeter, whichever you have; both are shown on its row. A value outside a control's range is brought to the nearest end of it, and anything that is not a number is refused, with the field left open.
- which angles does it use?
- Either the cone angles, γ and α, that the diffraction is written in, or the pitch η and yaw φ a stage is actually set to. Roll adds to α. Pick whichever pair you have; the app converts between them.
- what does the Zoom slider do?
- It closes in on the rim of the cone. At grazing incidence the cone is a needle in one direction and a wide fan in the other, and zooming in on the rim opens the fan up. The zoom is uniform, so no angle is exaggerated. Pinching zooms the camera as usual.
- why don't the efficiencies add up to one?
- Because they are never forced to. The solver is a scalar (Kirchhoff) model, and the sum over orders is shown as it comes out; how far it is from one is the model's own measure of its error.
- why do transmitted orders have no efficiency?
- The solver is a reflection-grating model. Transmitted orders are drawn so you can see where they go, dashed and at a fixed width so their thickness cannot be read as an efficiency.
- why are the efficiencies relative?
- The app carries no material data, so it models no coating. Every efficiency is what a perfectly reflecting groove of this shape would send into that order, which is how the blaze shares the light out. For absolute numbers with a real coating, use the Python package, which takes the coating's optical constants.
- how do i get the numbers out?
- The Orders tab lists every order, with evanescent ones shown passing off rather than left out. COPY puts the geometry and the whole table on your clipboard as plain text.
- where does the physics come from?
- The solver is a port of the scalar solver in gratinglab, an open-source Python package by Jake McCoy and Aditi Gangadharan, which remains the reference implementation. The app is checked against that package's results order by order. For rigorous methods, or efficiency in transmission, use the package.
- does it need the internet?
- No. The app works entirely offline and makes no network connections at all.
privacy
The app collects no data. The full policy is on the privacy page.