Skip to content

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.

Latex

A Latex tutorial is available in the tutorial/latex folder.

Jupyter notebooks

The jupyter notebook tutorial can be run online via chrome and google colab.

  1. Install the google colab chrome extensions. The Google collab logo should then appear in the upper right side of your chrome browser.
  2. 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.
  3. Click on one the jupyter files (file with a '.ipynb' extension). E.g., 1_cplantbox.
  4. 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:

  1. 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.
  2. 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.
Clone this wiki locally