7.19 Example — Diffraction Grating in Reflection ================================================ PDF section 7.19. Source script: ``KrakenOS/Examples/Examp_Diffraction_Grating_Reflection.py``. The reflective counterpart of :doc:`ex_18_grating_transmission`: the same grating attributes are applied on a ``"MIRROR"`` surface so the diffracted orders are reflected back rather than transmitted. .. figure:: ../../_static/manual/examples/19_grating_reflection_a.png :align: center :alt: Reflection grating dispersion (view 1) Figure 26a. Reflection grating — multi-wavelength fan. .. figure:: ../../_static/manual/examples/19_grating_reflection_b.png :align: center :alt: Reflection grating dispersion (view 2) Figure 26b. Alternate view. .. literalinclude:: ../../../../KrakenOS/Examples/Examp_Diffraction_Grating_Reflection.py :language: python