Selected topics in nuclear and particle physics

PHYS-400

Problem sets and solutions

This page is part of the content downloaded from Problem sets and solutions on Monday, 30 June 2025, 15:16. Note that some content and any files larger than 50 MB are not downloaded.

Description

Exercises for problem Set 6 and Set 7 can be run using Jupyter Notebook directly on JupyterLab (Find the instructions for running Set 6 Notebook below!):

https://noto.epfl.ch/hub/user-redirect/git-pull?repo=https%3A%2F%2Fc4science.ch%2Fsource%2FPHYS-400.git&urlpath=lab%2Ftree%2FPHYS-400.git%2F%3Fautodecode&branch=master

ProblemSet6: neutrino_oscillations_corrections.ipynb

ProblemSet7: chi2_maximum_likelihood-2.ipynb


Instructions for ProblemSet6:
1. In the Launcher (to open the launcher, click in the + symbol in the upper bar) click in CONSOLE BASH (bash in the console section) -> (Launch a new bash console)
2. Run the command: my_venvs_create neutrino_env (to run any cell press shift+enter) -> (Create a new environment)
3. Run the command: my_venvs_activate neutrino_env -> (Activate the new environment)
4. Run the command: pip install hepunits -> (To install the missing package)
5. Run the command: my_kernels_create py3_pint "Neutrino Environment" -> (To create the kernel)
6. Refresh/Reload the webpage
7. Open the neutrino_oscillations_corrections.ipynb jupyter notebook (by clicking on it)
8. In the upper bar, click in Python3 and select the new kernel  (Neutrino Environment)
9. Start running the jupyter notebook cells (shift+enter)





Files and subfolders