Examples

All example scripts are in the examples/ directory of the repository. Run them from the project root, e.g.:

python examples/example_balmer_lineprofile.py

Each row below links to a page with the full source code and the resulting figure(s).

Example

What it shows

Script(s)

Balmer series — LineProfile class

Hα–Hε at DIII-D-like edge conditions via the high-level LineProfile class

1

Hα stick spectrum and broadened profile

Hα stick spectrum + broadened profile across B and \(N_e\)

1

Transition anatomy

Discrete transition tables, oscillator strengths, and the fine-structure → Zeeman-dominated progression

1

Reproducing Figure 1 from Ferri et al. (2022)

Full Balmer-series spectrum in the style of Ferri et al. (2022) Fig. 1

1

Satellite features at B = 1000 T

Convergence search for the \(\pm2\mu_B B\) Stark-Zeeman satellite feature

1

Quadratic Zeeman polarization wings

Quadratic-Zeeman-induced polarization wings at B = 500, 1000 T

1

Lyman-α at high B

H Ly-α from the intermediate-field to the Paschen-Back regime (100–1000 T)

3

StarkZee vs. built-in reference models

StarkZee (static + FFM) vs. all five built-in reference models

1