mirror of
https://github.com/nqrduck/nqrduck-spectrometer.git
synced 2024-12-22 00:10:26 +00:00
Updated view to new handling of IQ samples.
This commit is contained in:
parent
a1a631b544
commit
c0289c1d69
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ class Function:
|
|||
td = self.get_time_points(pulse_length)
|
||||
yd = self.evaluate(pulse_length)
|
||||
xdf, ydf = sp.fft(td, yd)
|
||||
mpl_widget.canvas.ax.plot(xdf, ydf)
|
||||
mpl_widget.canvas.ax.plot(xdf, abs(ydf))
|
||||
mpl_widget.canvas.ax.set_xlabel("Frequency in Hz")
|
||||
mpl_widget.canvas.ax.set_ylabel("Magnitude")
|
||||
mpl_widget.canvas.ax.grid(True)
|
||||
|
|
Loading…
Reference in a new issue