Skip to content
Snippets Groups Projects

[AGIPD][LFF] Improve lit frame selection

Merged Egor Sobolev requested to merge feat/litframe-common-pattern into master
All threads resolved!

This improves lit frame selection, including:

  1. fix the misalignment of selection by trains
  2. introduce super pattern selection
  3. guess missed patterns for patterns which repeat with constant step
  4. shows patterns which repeat with constant step as one line in the report

Description

The code which transforms the LitFrameFinder data into selection is moved to EXtra-redu package. This code actually identifies pattern repetition with constant step, fills the gaps in LFF data, extracts the selection for requested list of trains and so on.

The integration with the EXtra-redu is left here.

The misalignment of selection by trains is a bug, which discovered recently. It happens when some trains missed in the LFF data. Current code doesn't generate the any selection for missed trains and all consequent selection applies with a shift by the number of missed trains. It spoils processing if the bunch pattern varies during the run.

Super pattern selection allows to apply selection which is an union of all patterns in the run. It solves the issue with common mode correction in the case of varying pattern. It's also requested by MID for rolling bunch pattern.

Guess of missed patterns allows to fill the gaps in LFF data and prevent the drop of good detector trains.

Report improvement allows to present the pattern list in more readable way and prevent flooding (but not for every possible case)

How Has This Been Tested?

The changes were tested using a few runs from the last proposal (3025) with fixed bunch pattern and a few runs from the proposal (3118) with rolling bunch pattern.

See some reports: check_r0130.pdf check_r0140.pdf

The check of trains alignment (with disabled filling of the gaps in LFF data): p3025_r72_notrain_guess

Reviewers

@schmidtp @ahmedk

Edited by Egor Sobolev

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Karim Ahmed
  • Karim Ahmed
  • Karim Ahmed
  • Karim Ahmed
  • Karim Ahmed
  • Karim Ahmed
  • Philipp Schmidt changed milestone to %3.8.0

    changed milestone to %3.8.0

  • Philipp Schmidt changed milestone to %3.7.5

    changed milestone to %3.7.5

  • Egor Sobolev mentioned in commit 262b51de

    mentioned in commit 262b51de

  • Egor Sobolev added 1 commit

    added 1 commit

    Compare with previous version

  • Karim Ahmed resolved all threads

    resolved all threads

  • Karim Ahmed changed milestone to %3.7.6

    changed milestone to %3.7.6

  • Karim Ahmed mentioned in commit 8a0e7cdc

    mentioned in commit 8a0e7cdc

  • Karim Ahmed added 11 commits

    added 11 commits

    Compare with previous version

  • Karim Ahmed approved this merge request

    approved this merge request

  • Karim Ahmed enabled an automatic merge when the pipeline for 8a0e7cdc succeeds

    enabled an automatic merge when the pipeline for 8a0e7cdc succeeds

  • merged

  • Karim Ahmed mentioned in commit 4203e5f9

    mentioned in commit 4203e5f9

  • Please register or sign in to reply
    Loading