Skip to content
Snippets Groups Projects

Timepix: Fix error when no centroid could be computed

Merged Björn Senfftleben requested to merge fix/timepix_empty_centroid into master

When a train does not yield centroid data (i.e. only single pixels lit up) the function empty_centroid_data() is called to produce an empty dataset instead. The returned dictionary missed a key that the centroid data dictionary usually contains and subsequently raises an error. This is fixed here.

The error can be reproduced and the fix tested with run 184 in proposal 900332.

Merge request reports

Checking pipeline status.

Merged by Björn SenfftlebenBjörn Senfftleben 1 year ago (Jun 7, 2023 12:06pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading