Skip to content

ajackura/MTHS-Code-Jackura

 
 

Repository files navigation

MTHS Code

Repository contains the code for exercise sessions of Modern Techniques in Hadron Spectroscopy school.

Clone the Code Repository

cd ~/Documents # or any other directory you want to clone the repository
git clone https://github.com/JointPhysicsAnalysisCenter/MTHS-code MTHS-code
cd MTHS-code

Python installation via Conda

  1. Setup conda environment

Make sure you have conda installed. The easiest way for homebrew users is:

brew install --cask anaconda

For Linux, follow the instructions here.

Create a new conda environment and install the required packages:

conda create --name lattice-qcd python
conda activate lattice-qcd
conda install numpy scipy matplotlib iminuit jupyterlab
  1. Start Jupyter Lab and Open the Notebook

Launch Jupyter Lab from the terminal:

jupyter lab

In your web browser, navigate to the Jupyter Lab interface. Open the notebook file inside the folder you just downloaded.

Open the .ipynb and Follow the Instructions in the NotebookNote that the first two cells just load packages and fixed variables, as described in the notebook.

Jupyter Notebook Cheat Sheet

For basic commands and shortcuts in Jupyter Notebook, refer to the Jupyter Notebook Cheat Sheet.

Julia and Pluto installation

  1. Download and install Julia from the official website.

  2. Open Julia and install Pluto.jl:

] add Pluto
  1. Start Pluto and Open the Notebook

Launch Pluto from the Julia REPL:

using Pluto
Pluto.run()

In your web browser, navigate to the Pluto interface. Open the notebook files.

Notes and Tips

For more detailed information and additional resources, refer to the code repository.

C++ and openQCD installation

About

Code for the exercise sessions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 96.1%
  • Julia 3.9%