Skip to content
Jake McCoy edited this page Aug 25, 2026 · 2 revisions

gratinglab

An open platform for diffraction grating groove metrology and efficiency analysis — from an AFM scan of a real grating to its diffraction efficiency, without leaving the package.

These pages are published from docs/ in the repository, which is the source of truth. Edit them there; edits made here are overwritten by the next publish.

Start here

If you want to Read
Know where the project is and what is next roadmap
Write a solver, or file a bug about a sign conventions — normative
See what has actually been established, with evidence findings
Find the literature behind a method references
Run or read a mutation-testing sweep mutation-testing

The shape of it

AFM scan  ->  BoundaryProfile   (gratinglab.metrology)
                      |          measured period, averaged groove, facet fit
                      v
Problem       (period + profile + materials — no solver fields, ever)
Illumination  (wavelength + direction + polarization)
                      |
                      v
Solver (plugin)  ->  Result (+ provenance)  ->  resolving power

One Problem reaches every solver, so a disagreement between methods is a disagreement about physics rather than about how two codes were configured.

Theory pages sit in the repository rather than here, one per method, each stating its assumptions and the conditions under which it stops being trustworthy: scalar, integral, metrology.

Installation, the GUI, and where measurement data lives are in the README.

Clone this wiki locally