How to run the tutorials and examples using Jupyter Notebook

The tutorials are written as Jupyter notebooks, interactive web-apps to run, document, and visualize code: https://jupyter.org/. If you installed Python using Anaconda, it is possible that jupyter is already installed - check py typing jupyter --version into the console. Otherwise you can install it with pip

pip install jupyter notebook

After installing phenopype, clone the phenopype repository from github. After downloading, unpack the zip file, cd to the tutorial folder, open a terminal and run the notebooks:

jupyter notebook

Alternatively, you can copy the code from the jupyter code cells over to Spyder and execute them there. In this case you need to adjust the file paths given in the code cells accordingly.

Tip

If you want to use the tutorials or examples as a blueprint for your own project, simply save them as python a script by clicking File > Download as > Python (.py).