Jupyter Notebooks contenant différentes méthodes numériques utiles en physique.
Les notebooks sont disponibles dans le dossier "python/notebooks".
Selon votre choix, vous pouvez installer jupyter lab ou jupyter notebook.
$ python3-m pip install notebook # jupyter notebook
Créer un environnement virtuel.
$ python3-m venv env
$ source env/bin/activate
$ python3-m pip install --upgrade pip
Connecter Jupyter à l'environnement virtuel.
$ pip3 install ipykernel
$ python3 -m ipykernel install --name=env
Installer les packages utiles.
$ pip3 install numpy matplotlib scipy
$ jupyer notebook # ou notebook
$ jupyter kernelspec uninstall myenv
Basé sur le livre : "A practical introduction to computational physics and scientific computing (using C++)"