{% extends "base.html" %} {% from "_geometry_view.html" import geometry_view %} {% block title %}{{ grating.name }}{% endblock %} {% block body %}

{{ grating.name }}

{{ grating.grating_type }} · {{ grating.period_lpermm }} l/mm

Edit Delete grating

Nominal geometry — three periods

{{ geometry_view("grating", bind=".run-form", static=grating) }} Nominal grating profile and material stack over three aligned periods {% if roughness_preview_url %}

Random roughness — {{ roughness_periods }} simulated period{{ 's' if roughness_periods != 1 else '' }}

First simulation realization. Both panels show the same simulation span.

{% for warning in preview_warnings %}

{{ warning }}

{% endfor %} Random roughness interfaces and material map over the simulation span {% endif %}
Run sweep
Energy sweep
Angle selection
Monochromator
Numerics
{% set roughness_kind = grating.roughness.kind if grating.roughness else 'none' %} Applies to this run using the saved interface parameters. Edit grating roughness
{% endblock %}