This lesson is being piloted (Beta version)

Matplotlib for HEP

This training module introduces matplotlib and creates plots commonly used in HEP. It also introduces mplhep, a plotting library designed specifically for HEP plots.

Prerequisites

HSF Software Training

HSF Logo
This training module is part of the HSF Software Training Center, a series of training modules that serves HEP newcomers the software skills needed as they enter the field, and in parallel, instill best practices for writing software.

Schedule

Setup Download files required for the lesson
00:00 1. Introduction Why to use Matplotlib for HEP?
What kind of plots can be done?
01:30 2. Coffee break Coffee or tea?
01:45 3. Physics background What is the physics behind the data?
02:15 4. Higgs search Why do we need to explore Data vs. MC distributions?
03:15 5. Plotting with mplhep for HEP style plotting How can I plot data at publication quality?
Which styles from HEP experiments are available?
04:00 6. Coffee break Cookies or cake?
04:15 7. Dimuon spectrum Can you get the di-muon mass spectrum with Matplotlib and mplhep?
05:15 Finish

The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.

Authors

The following people contributed to the content of this lesson: Note that this list does not include the contributors to the framework.