Skip to content
Snippets Groups Projects
Commit f98ad852 authored by Karim Ahmed's avatar Karim Ahmed
Browse files

use get_run_value instead of as_single_value and split functions for adding tests later

parent 7f825541
1 merge request!646[AGIPD][TESTs]test_agipdlib AGIPDCtrl and get_bias_voltage for AGIPD1M and AGIPD500K
...@@ -82,6 +82,9 @@ class AgipdCtrl: ...@@ -82,6 +82,9 @@ class AgipdCtrl:
# about bucketing the rate for managing meta-data. # about bucketing the rate for managing meta-data.
return round(float(self.run_dc[rep_rate_src].as_single_value()), 1) return round(float(self.run_dc[rep_rate_src].as_single_value()), 1)
def _get_acq_rate_instr(self) -> Optional[float]:
"""Get acquisition (repetition rate) from INSTRUMENT source."""
def _get_acq_rate_instr(self) -> Optional[float]: def _get_acq_rate_instr(self) -> Optional[float]:
"""Get acquisition (repetition rate) from INSTRUMENT source.""" """Get acquisition (repetition rate) from INSTRUMENT source."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment