[AGIPD] Split AGIPDCtrl function for clear code and adding tests later.
Compare changes
- Karim Ahmed authored
+ 6
− 6
@@ -88,7 +88,7 @@ class AgipdCtrl:
@@ -128,11 +128,11 @@ class AgipdCtrl:
@@ -194,7 +194,7 @@ class AgipdCtrl:
Based on changes in MR : https://git.xfel.eu/detectors/pycalibration/-/merge_requests/652
This MR is a preparation for the next MR for adding unit tests https://git.xfel.eu/detectors/pycalibration/-/merge_requests/646
Separate get_gain_setting()
and get_acq_rate()
into two different functions which read the gain_settings and acquisition rate using two different methods.
Small refactors:
get_gain_mode()
get_num_cells()
AGIPDCtrl()