Added frequency shift by target frequency for fft view.

This commit is contained in:
jupfi 2024-04-09 15:17:25 +02:00
parent 80eacceefd
commit 7ba9b90500

View file

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