{% extends "base.html" %} {% from "_geometry_view.html" import geometry_view %} {% from "_roughness_help.html" import roughness_help %} {% 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
Parameter study This study is only for verifying numerical stability. It compares simulations while varying Fourier orders, X resolution, and Z resolution, with energy and grazing angle held fixed.

Choose the energy and angle for the study, then define the numerical ranges to compare.

For each sweep, choose the other two numerical parameters to hold fixed. Defaults use the highest X/Z resolutions and the lowest Fourier order in the study.

Fourier orders Fourier orders are integer values only. The number of distinct steps cannot exceed maximum minus minimum plus one.

X resolution, nm
Z resolution, nm
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 %}