Project 'detectors/pycalibration' was moved to 'calibration/pycalibration'. Please update any links and bookmarks that may still have the old path.
[AGIPD] Split AGIPDCtrl function for clear code and adding tests later.
Compare changes
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()