visualizer more y axis and more interpolation
This commit is contained in:
parent
9042e6d3ff
commit
f00852390b
2
main.py
2
main.py
@ -69,7 +69,7 @@ class ApplicationWindow(QMainWindow, Ui_MainWindow):
|
||||
|
||||
# Graphics plot
|
||||
self.PlotWidget.setXRange(0, 100, padding=0) # x axis range
|
||||
self.PlotWidget.setYRange(0, 0.3, padding=0) # y axis range
|
||||
self.PlotWidget.setYRange(0, 1, padding=0) # y axis range
|
||||
self.PlotWidget.getAxis("bottom").setTicks([]) # Remove x-axis ticks
|
||||
self.PlotWidget.getAxis("bottom").setLabel("") # Remove x-axis label
|
||||
self.PlotWidget.setLogMode(False, False)
|
||||
|
||||
@ -98,7 +98,7 @@ class FFTAnalyser(QtCore.QThread):
|
||||
self.points[n] = 1e-5
|
||||
|
||||
# interpolate points
|
||||
rs = gaussian_filter1d(self.points, sigma=1)
|
||||
rs = gaussian_filter1d(self.points, sigma=2)
|
||||
|
||||
# Mirror the amplitudes, these are renamed to 'rs' because we are using them
|
||||
# for polar plotting, which is plotted in terms of r and theta
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user