lucabaldini / hexsample

Solid-state hybrid detectors with hexagonal sampling.
https://lucabaldini.github.io/hexsample/
GNU General Public License v3.0
2 stars 0 forks source link

Create a library of analysis functions #32

Open lucabaldini opened 9 months ago

lucabaldini commented 9 months ago

This is already started on the analysis branch, and we can use this issue to discuss the path forward.

chiaratomaiuolo commented 8 months ago

Added inside \hexsample\analysis.py the functions for plotting histograms. For recon files takes as input the parameter name of the variable and the binning, for digi files for now only the parameters 'roi_size' and 'energy' can be plotted (only because are filled differently if I understood well).