Run in the browser

Run in the browser#

pyevtgen also runs in the browser through Pyodide, which compiles Python to WebAssembly. The notebooks below open in JupyterLite, a Jupyter environment that runs entirely in your browser, so nothing has to be installed. Edit the cells and rerun them to experiment.

Note

Each notebook first installs pyevtgen from the package index, which takes a few seconds. Creating a Generator takes about 15 seconds in the browser, and a notebook can only create one, so restart the kernel to create another.

Generating decays#

Decay trees, the most frequent final states of a \(D^0\), and the momentum spectra of its decay products.

Phase space#

Dalitz plots and invariant masses of uniform phase space for masses that you choose. This notebook needs no Generator, so it is ready instantly.

Decay files#

A user decay file that you can edit to compare the D_DALITZ model with uniform phase space.

The notebooks are tested in Pyodide whenever the wheels are built.