# Notebooks

Interactive quick-start notebooks for Raytrax. Launch them in your browser with Binder — no local installation required.

| Notebook | Description | |
|----------|-------------|---|
| `01_first_trace.ipynb` | Build a synthetic tokamak, trace a beam, and visualise the R–Z trajectory — no external files needed. | [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/proximafusion/raytrax/main?labpath=notebooks%2F01_first_trace.ipynb) |
| `02_w7x_trace_and_visualization.ipynb` | Load the bundled W7-X equilibrium, set a realistic antenna position, and produce polished cross-section and profile plots. | [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/proximafusion/raytrax/main?labpath=notebooks%2F02_w7x_trace_and_visualization.ipynb) |
| `03_gradient_optimization.ipynb` | Differentiate through the ray tracer with `jax.grad` and steer a beam via gradient ascent. | [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/proximafusion/raytrax/main?labpath=notebooks%2F03_gradient_optimization.ipynb) |
