Signal processing tab is modified. According to the input data choice, the user can loaded a file for noise data and plot SNR field, BS corrected field with SNR criterion and averaged pre-processed signal. A button is added (close to the combobox of data to processed) to update the input data.

This commit is contained in:
brahim committed 2024-06-17 11:09:41 +02:00
1 parent 50efdbfd57
commit a137bbf0cc
4 files changed
+1685 -1058

No files matched your search

+5
View File
@@ -2988,6 +2988,7 @@ class AcousticDataTab(QWidget):
self.fig_BS.supxlabel('Time (sec)', fontsize=10)
self.fig_BS.supylabel('Depth (m)', fontsize=10)
self.fig_BS.canvas.draw_idle()
# self.fig_BS.canvas.flush_events()
# plt.close(self.fig_BS)
def plot_profile(self):
@@ -3083,7 +3084,9 @@ class AcousticDataTab(QWidget):
self.fig_profile.supxlabel("Acoustic Backscatter Signal (V)")
self.fig_profile.supylabel("Depth (m)")
# self.fig_profile.canvas.draw()
self.fig_profile.canvas.draw_idle()
# self.fig_profile.canvas.flush_events()
# plt.close(self.fig_profile)
elif len(stg.BS_cross_section) != 0:
@@ -3144,7 +3147,9 @@ class AcousticDataTab(QWidget):
self.fig_profile.supxlabel("Acoustic Backscatter Signal (V)")
self.fig_profile.supylabel("Depth (m)")
# self.fig_profile.canvas.draw()
self.fig_profile.canvas.draw_idle()
# self.fig_profile.canvas.flush_events()
# plt.close(self.fig_profile)
def slide_profile_number_to_begin(self):
+1656 -1040
View File
File diff suppressed because it is too large. Load diff