-
Notifications
You must be signed in to change notification settings - Fork 17
Tutorials
m-giraud edited this page Oct 5, 2023
·
1 revision
Once the CPlantBox environment and softare has been installed (see help for widow users and the installation guidelines ) several tutorials are available.
A Latex tutorial is available in the tutorial/latex folder.
The jupyter notebook tutorial can be run online via chrome and google colab.
- Install the google colab chrome extensions. The Google collab logo should then appear in the upper right side of your chrome browser.
- With your chrome browser, go on the latest jupyter notebook tutorial folder. This is currently the fspm2023 tutorial. Older jupyter notebooks may not be updated and might not run.
- Click on one the jupyter files (file with a '.ipynb' extension). E.g., 1_cplantbox.
- From this webpage, click on the Google Colab logo on the upper right side of your browser. This will open the same jupyter file in Google colab. You will reach for example 1_cplantbox on Colab \
You can then launch the code block one by one. Important points:
- Make sure that the previous code block is done running before launching the next one. A green tick will appear if the code has succesfully completed.
- Sometimes, running several times the same code can lead to the code crashing. We were not yet able to find the cause of this issue. In such cases, it is necessary to relaunch the code in a new/empty environment. For instance by creating and running a copy of the jupyter file.