mirror of
https://github.com/nqrduck/nqrduck-measurement.git
synced 2024-11-09 11:50:01 +00:00
Fixed fft view display with if offset.
This commit is contained in:
parent
7ba9b90500
commit
489b33d78a
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +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
|
x += float(self.module.model.displayed_measurement.target_frequency - self.module.model.displayed_measurement.IF_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
|
||||||
|
|
Loading…
Reference in a new issue