Fixed fft view display with if offset.

This commit is contained in:
jupfi 2024-04-09 15:28:43 +02:00
parent 7ba9b90500
commit 489b33d78a

View file

@ -147,7 +147,7 @@ class MeasurementView(ModuleView):
self.change_to_fft_view()
x = self.module.model.displayed_measurement.fdx
y = self.module.model.displayed_measurement.fdy
x += float(self.module.model.displayed_measurement.target_frequency) * 1e-6
x += float(self.module.model.displayed_measurement.target_frequency - self.module.model.displayed_measurement.IF_frequency) * 1e-6
else:
self.change_to_time_view()
x = self.module.model.displayed_measurement.tdx