Set up the Jupyter Notebook Environment
Last updated on 2026-07-10 | Edit this page
Estimated time: 10 minutes
Overview
Questions
- How to access simulation campaign output with python?
Objectives
- Set up interactive python platform with Jupyter-notebook.
Set up Jupyter-notebook
- on Google Colab (recommended):
- copy the example Colab notebook to your own google drive.
- run the first cell under “setup” to install
uprootandxrootd(takes ~10 minutes)
- on your local environment:
- if not yet, install
uprootandxrootdwith your local package manager, or, in jupyter-notebook, run
- if not yet, install
BASH
!pip install xrootd
!pip install uproot
!pip install fsspec-xrootd
!pip install particle ## optional
Note: we will be using other standard python packages such as
numpy and pandas, which are pre-installed on
Colab.
- install uproot and xrootd