Minor bugfix: Casting of correction factor to float.

This commit is contained in:
jupfi 2023-12-10 10:23:28 +01:00
parent d913c8a045
commit bb1cac3426

View file

@ -482,7 +482,7 @@ class LimeNQRController(BaseSpectrometerController):
offset = self.calculate_offset(lime)
rx_begin = float(previous_events_duration) + float(offset) + CORRECTION_FACTOR
rx_begin = float(previous_events_duration) + float(offset) + float(CORRECTION_FACTOR)
rx_stop = rx_begin + rx_duration
return rx_begin * 1e6, rx_stop * 1e6