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 uproot and xrootd (takes ~10 minutes)
  • on your local environment:
    • if not yet, install uproot and xrootd with your local package manager, or, in jupyter-notebook, run

BASH

!pip install xrootd
!pip install uproot
!pip install fsspec-xrootd
!pip install particle ## optional
Callout

Note: we will be using other standard python packages such as numpy and pandas, which are pre-installed on Colab.

Key Points
  • install uproot and xrootd