take correction checkboxes into account for pedestal taking from the GUI

This commit is contained in:
2024-04-19 12:09:44 +02:00
parent 9fe484e20e
commit ec0f648ab8
+3 -1
View File
@@ -149,7 +149,9 @@ class ConfigPanel(wx.Panel):
self.acquisition.client.power_on(self.chans_det)
def on_take_pedestal(self, _event):
self.acquisition.client.take_pedestal(self.chans_det, self.pvd_reprate.value)
rate = self.get_rate()
rm = self.get_rm()
self.acquisition.client.take_pedestal(self.chans_det, rate / rm)