Skip to content

fix: use tolerance to account for a small percentage of bad trains/frames

Karim Ahmed requested to merge fix/wrong_gain_value_tolerance into master

Description

Add a 1% tolerance for the number of wrong gain values for a pixel to not be identified as WRONG_GAIN_VALUE badpixel.

This is to avoid assigning many (or all) pixels as bad with wrong gain when some UDP packets are missed for very few trains or frames. https://redmine.xfel.eu/issues/209320 @ MID

How Has This Been Tested?

Relevant Documents (optional)

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

Reviewers

@schmidtp @mramilli

Edited by Karim Ahmed

Merge request reports

Loading