[SIGMON-584] implement mi part of the pic2 analysis
Context
- task: https://its.cern.ch/jira/browse/SIGMON-584
- Zinur's notebook can be found in the mother story: https://its.cern.ch/jira/browse/SIGMON-539
- notebooks: LHCData/lhc-sm-hwc!164 (merged)
- The MI part of the PIC2 CIRCUIT QUENCH VIA QPS analysis was previously implemented in EDSL, but unfortunately, to have the MPP signature automated in Sigmon we need to have the MI part implemented in Python as well
Example of test:
hwc_test = "PIC2 CIRCUIT QUENCH VIA QPS"
circuit_name = "RQ4.L1"
campaign = "Recommissioning 2022/2023"
t_start = "2023-03-18 08:41:55.259000000"
t_end = "2023-03-18 09:15:12.238000000"
What was done
- Refactor Zinur's code
TODO
- proper tests
- it needs to be refactored so we support other circuits and Pic2 tests
QA
- code was unit tested
- acceptance tests were written
Review objectives
- ? assessment of code functionality
- ? assessment of code quality
Edited by Aleksandra Mnich