Learn MesPy through examples.
Practical, runnable examples of experimental data analysis: read the code, run it and adapt it to your own measurements.
New here? Start with Basic workflow: in a few steps you see the whole path. The other examples explore one tool at a time and can be read in any order.
Available examples
-
First steps
Two essential calls: histogram saves the plot as PDF, lin_fit saves the plot and the results as PDF and TOML.
histogram · lin_fit -
Presentation
Apply the mespy style to a whole notebook or to a single plot, and customize the colors, legend and titles of histogram and lin_fit.
style="mespy" -
Distributions
From measurements to a distribution: choose the bins, compare counts, relative frequencies and density, and read the mean and standard deviation on the plot.
histogram -
Relationships
Fit measurements with uncertainties, read the results and residuals, and choose whether to propagate uncertainties on x.
lin_fit
Looking for signatures and parameters? Open the API reference