Diffraction gratings: from principles to applications in high-intensity lasers | Synapse