visualizer more y axis and more interpolation

This commit is contained in:
billypom on debian 2024-08-06 20:36:08 -04:00
parent 9042e6d3ff
commit f00852390b
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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