Skip to content

[LPD][DARK] Fix plotting if cellID data is the same for all trains

Karim Ahmed requested to merge fix/lpd_dark_pedestal_distribution into master

A failed slurm was reported for LPD dark processing: Runs , Proposal

The failure was related to parameter nbins while plotting pedestal distribution.

/gpfs/exfel/exp/FXE/202202/p002808. DarkRun1: 6, 7, and 8. DarkRun2: 17, 18, and 19

Description

The Plotting error resulted from nbins=0 as the values for the sliced image im[12, 12, cellId==12] had the same values. I am not sure if this is expected or not.

To fix this a check was added to use nbins for the number of trains and plot from 0 to the value of CellId data.

How Has This Been Tested?

Relevant Documents (optional)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

Reviewers

@schmidtp @danilevc @yousefh

Edited by Karim Ahmed

Merge request reports