{% extends "base.html" %} {% block title %}Web docs{% endblock %} {% block body %}

GraxPy web guide

From a model to a result

You know the optics. This guide shows where to create a model, run a calculation, and find its results in the website.

01

Gratings

Define an etched profile and coating, then run energy, angle, or mount scans.

Open grating guide →
02

Plane mirrors

Build a layer stack, preview reflectivity, and save a scan.

Open plane-mirror guide →
03

Multilayer gratings

Survey d-spacing and blaze angle, then scan selected designs over energy.

Open multilayer guide →
04

PGM working range

Combine SX700 geometry with mirror reflectivity and grating efficiency.

Open PGM guide →

How the website is organized

  1. Choose a workspace. The home page shows the active data folder. Use Choose folder… there to work in another local folder. Saved models, runs, and plots belong to that folder.
  2. Create and save a model. Start from the Gratings, Plane mirrors, or Multilayer grating menu. Saving a grating or mirror gives you a page where you can set up a run.
  3. Run and review. A run page shows progress and results. Use the matching Manage runs page to find it again.
  4. Compare and download. Open Plots → New plot to combine saved runs. On a saved plot, Edit plot changes its settings, and Download offers PNG, plotted CSV data, or data with a Python plotting script.

Import and export

Use Export on a manage page, or on the home page, to save a grating, plane mirror, PGM or multilayer grating with the runs you select. Use Import on the home page to load such a file: GRAx recognizes the object type and lets you choose the runs. Caches and saved plots are not included.

Useful input conventions

Angles are labelled in degrees and lengths in the units shown beside each field. Choose S (TE) or P (TM) polarization where available. Decimal fields follow your dot or comma preference. A field's mouse wheel changes its value only while it has focus and the pointer is over it.

{% endblock %}