These tutorials were originally presented at he Wannier2022 summer school in Trieste.
Beginners are advised to start with the basic tutorial.
Advanced users who are already familiar with the WannierBerri code may try the advanced tutorials. There are several advanced topics, one per each folder in the advanced/ directory. You may try to follow the guides in the notebook. If you have completed the tutorial, you may compare your code and results with those in the solution/ folder.
The tutorial will run if you install the following:
pip install wannierberri[all]==1.0.0a0 irrep>=1.11.1
Each tutorial is written as a Jupyter notebook. To run the jupyter notebook, copy the tutorial directory to your folder, go to that folder and execute the following line
jupyter notebook
Note for contributors: before commiting to the tutorial,
- run all the cells of the notebook
- save notebook and copy it to the "doc" folder - this will be the state shown on tutorial.wannier-berri.org
- create a line in doc/index.rst
- clean the original notebook (so that the learner can execute it from clean:
jupyter nbconvert --clear-output --inplace tutorial-???.ipynb
- do not add any output files to repository