Tutorials#
End-to-end worked examples showing ForMoSA v2.0 in action. Each notebook is self-contained: it checks for required files and downloads them automatically if they are missing.
Note
All notebooks use the dataclass API (v2.0) as the primary approach. An INI-file alternative is shown at the end of each notebook for reference.
Tutorial 1 — Photometry: VHS 1256 b#
Multi-instrument broadband photometry fitted with ExoREM using Nestle. Covers SVO filter retrieval, physical and analytical scaling.
Tutorial 2 — Spectroscopy: AB Pic b#
VLT/SINFONI K-band medium-resolution spectrum fitted with BT-Settl using PyMultiNest. Covers resolution adaptation, wavelength windowing, and radial velocity.
Tutorial 3 — Advanced plotting#
Customising every ForMoSA plot, computing χ²_red and BIC, and saving publication-quality figures. Runs without fitting anything — uses pre-computed results from Tutorial 2.
Tutorial 4 — Statistical tests#
Model comparison and goodness-of-fit statistics: χ²_red, BIC, and Bayes factors. Uses pre-computed results and requires no new fits.
Tutorial 5 — Cluster / MPI deployment#
Running ForMoSA on an HPC cluster with PyMultiNest and MPI.
Covers nohup pattern.