Skip to content

mmikhasenko/ReactionAmplitudeExamples.jl

Repository files navigation

Reaction Amplitude Examples

Unordered collection of julia scripts and notebooks related to particle physics, reaction theory, statistics, and data analysis.

Pluto notebooks are run in CI and available from the GitHub Pages.

Note: Long-running notebooks (execution time > 2.5 minutes) are located in the notebooks/long_running/ folder and are not listed here. They are still processed in CI and available on GitHub Pages.

General

HEP

Coupled channels

Complex analysis

K-matrix

Triangles

Three body decays

JPAC

How to run scripts

  • Download and install julia
  • Run the scripts/notebooks either in terminal, or interactively in VS code or browser for the notebooks.

Pluto notebooks

# open julia terminal
using Pluto
Pluto.run() # a new tab will open in the browser
# navigate to notebook file N-XXX-Cool_stuff.jl

Note: Long-running notebooks in notebooks/long_running/ are excluded from automatic discovery in CI. When running Pluto locally, they may appear in the file browser but are not processed automatically.

Local index

To build and serve a local index page (similar to the GitHub Pages site) for browsing notebooks:

julia scripts/build_and_serve.jl

This will:

  1. Generate index.html from the notebooks in the notebooks/ directory
  2. Generate README.html from this README file
  3. Start a local HTTP server on port 8000

Then open your browser to http://localhost:8000/index.html to view the local index.

Note: The local index shows the notebook structure and links, but the actual notebook HTML files are generated by PlutoSliderServer in CI. Individual notebook HTML files won't be available locally unless you export them manually from Pluto.

Notebook environment management

Scripts in services/ for managing notebook environments:

  • analyze_common_env.jl - Analyzes all notebooks and generates a common Project.toml and Manifest.toml
  • unify_notebooks.jl - Updates all notebooks to use a common environment (see services/UNIFICATION_PLAN.md for details)

About

A collection of simple examples to plot/calculate with julia.

Topics

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •