24–28 Feb 2025
DESY Hamburg
Europe/Berlin timezone

Setup for exercises

We carry out hands-on exercises during the school.
Therefore, we ask all participants to bring a laptop.

We recommend to carry out the exercises with a Python installation on your laptop. We also offer to carry them out on the Helmholtz Cloud Services (HIFIS). We recommend to prepare both setups in advance to the school, also as a backup in case of issues with a Python installation on your laptop.

Instruction to prepare the setup in advance to the school are given below:

Setup on Helmholtz Cloud Services (HIFIS)

All school materials are now available on HIFIS. HIFIS offers a variety of Helmholtz Cloud Services, provided by Helmholtz Centers to facilitate seamless collaboration and integrated scientific workflows across research fields, Helmholtz Centers, and external partners. Access is typically granted through Helmholtz ID, eliminating the need for separate passwords or registration. Additionally, HIFIS provides trainings and consulting for research software engineering and setting up complex services. All Helmholtz members (e.g. if you have a DESY account) can simply log in to the HIFIS Jupyter Service hosted by DESY using their Helmholtz ID. Participants without a Helmholtz ID will receive an invitation email to register their institute account in Helmholtz Cloud Services (steps 1-5)

1. Open an incognito/private browser window. Make sure that your browser does not block pop-ups/new browser windows here!

2. Go to login.helmholtz.de 

3. Search for your institution/login provider (e.g., CERN, github, google, …). If you have different affiliations, please register with the one from which you received your invitation.

4. Log in

5. Copy the CMS_training link from the invitation email (mentioned above) to a new private tab, and follow the pasted URL. Your account should now be ready if no error messages appear. If you encounter any errors, please review the previous steps and retry. If the issue persists, contact support@hifis.net.

All participants (whether they have a Helmholtz ID or have registered by following the above steps) can go to https://jupyter.desy.de/hub/login, select either their Helmholtz institution or the one they registered with in step 3, log in, and you’re done.

Once logged in, select the 'Python for Data Analysis and Schools' profile (the second server option). Then, navigate to SHARE/Terascale-Statistics-School-2025, where all school materials are stored. You can copy the materials to your home directory or download them to your personal computer for exercises.

Setup on your laptop

If you want to have an installation on your own laptop, you can try the following recipes:
 
On Mac, open a terminal and install brew if you don't already have it (see https://brew.sh/) 
> /bin/bash -c ‘$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)’
> brew install python3

On Linux, python should be installed by default. Open a terminal and check if you have a python3.xx
> python3 -version

The remaining steps are the same for Linux and Mac. You should create a separate environment for the school. This is a good idea to avoid messing up your system.
> python3 -m venv school       # This creates a directory ‘school’ where you have an isolated Python environment.
> source school/bin/activate     # this activates the ‘school’ environment

> pip install matplotlib numpy scipy iminuit seaborn    # this installs the required libraries

If you continue your work in a new shell, change to the same directory as before and execute the command
> source school/bin/activate

Similarly, on a Windows notebook, you can install Python from the Microsoft Store. Use the PowerShell (best the new PowerShell ISE which comes with an editor).

>  python # this should automatically open the Microsoft Store 

>  python3 -version

>  python3 -m venv school

>  .\school\Scripts\activate.bat

>  pip install matplotlib numpy scipy iminuit seaborn

If you continue your work in a new shell, change to the same directory as before and execute the command

> .\school\Scripts\activate.bat