[EPIX][CORR] Optimize histograms and plots
Description
Optimization of plots in ePix Correction Notebook, as stated in https://git.xfel.eu/calibration/planning/-/issues/167
How Has This Been Tested?
Run 55 from p003346 (EPIX-1 and EPIX-2).
Relevant Documents (optional)
Comparision between the generated reports before/after this MR, where the histpgrams are optimized and the plots now show meaningfull information:
OLD: MID_EXP_EPIX-1_correct_003346_r55_230330_195859.pdf
NEW:EPIX100CORRECTCalibration_new.pdf
Types of changes
- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
Specifically:
- Using
np.histogram
instead ofxcal.HistogramCalculator
to calculate histograms - Using
extra_geom
instead ofxana.heatmapPlot
- Dynamic colorbar limits, replacing the fixed ones
- Added additional plot for cluster corrected data
- Added meaningfull titles to the plots
Reviewers
Edited by Nuno Duarte