mirror of
https://forgemia.inra.fr/theophile.terraz/acoused.git
synced 2026-10-30 03:10:40 +01:00
Correction when the user clicks on the clear button (clear profile tail) #36
This commit is contained in:
1 parent
06056d4865
commit
bdeca2b44e
1 file changed
+1
-2
@@ -767,7 +767,6 @@ class SignalProcessingTab(QWidget):
|
||||
stg.SNR_cross_section[self.combobox_acoustic_data_choice.currentIndex()] = np.array([])
|
||||
stg.SNR_stream_bed[self.combobox_acoustic_data_choice.currentIndex()] = np.array([])
|
||||
stg.time_noise[self.combobox_acoustic_data_choice.currentIndex()] = np.array([])
|
||||
stg.noise_method[self.combobox_acoustic_data_choice.currentIndex()] = 0
|
||||
stg.SNR_filter_value[self.combobox_acoustic_data_choice.currentIndex()] = 0
|
||||
|
||||
stg.BS_raw_data_pre_process_SNR[self.combobox_acoustic_data_choice.currentIndex()] = np.array([])
|
||||
@@ -778,7 +777,7 @@ class SignalProcessingTab(QWidget):
|
||||
|
||||
stg.BS_stream_bed_pre_process_SNR[self.combobox_acoustic_data_choice.currentIndex()] = np.array([])
|
||||
stg.BS_stream_bed_pre_process_average[self.combobox_acoustic_data_choice.currentIndex()] = np.array([])
|
||||
|
||||
print("stg.noise_method[self.combobox_acoustic_data_choice.currentIndex()]", stg.noise_method[self.combobox_acoustic_data_choice.currentIndex()])
|
||||
if stg.noise_method[self.combobox_acoustic_data_choice.currentIndex()] == 0:
|
||||
self.lineEdit_noise_file.clear()
|
||||
|
||||
|
||||
Reference in new issue
Block a user