Skip to content

Tutorial gallery

The tutorials are marimo notebooks compiled to WebAssembly — a full notebook editor running entirely in your browser. They execute on load (allow ~half a minute while Python boots and packages install), and every cell is editable: change a value, a model version, or the code itself and the affected cells re-run. Nothing to install; to work with local files instead, run them locally with marimo or Jupyter.

  • Model Deck


    The one-look model summary: flux spectrum, composition fractions, ln A moments, relative uncertainty, nucleon flux, flux correlation — plus a back-to-back comparison between any two model versions.

    Open

  • Cosmic Ray Flux


    Differential fluxes for the four GSF mass groups with 1-sigma error bands propagated from the parameter covariance.

    Open

  • Nucleon Flux


    Proton and neutron fluxes per energy-per-nucleon — the input for atmospheric shower and lepton-flux calculations.

    Open

  • Solar Modulation


    Time-dependent solar modulation of the low-energy flux; local interstellar spectrum vs. modulated periods.

    Open

  • Rigidity Cutoff


    Geomagnetic rigidity cutoff effects on the flux at Earth.

    Open

  • Model Comparison 2017 vs 2025


    What changed between the published GSF versions.

    Open

  • Reduced Model


    ReducedGSF: pivot-based flux nuisance parameters with an exact covariance penalty, for use in downstream fits (daemonflux-style).

    Open

  • Hybrid PCA


    HybridPCA: low-rank representation of the flux covariance — validation, components, MC sampling.

    Open

The notebook sources live in examples/ — plain Python files, exported to WebAssembly by the docs build. To get a Jupyter .ipynb, run uvx marimo export ipynb <notebook>.py -o <notebook>.ipynb on a downloaded source file.