Correction of the red cross button (if no acoustic data) #33

dev-brahim
brahim 2025-03-13 14:19:44 +01:00
parent 3c78777179
commit eef048b197
1 changed files with 61 additions and 55 deletions

View File

@ -730,6 +730,12 @@ class SignalProcessingTab(QWidget):
def clear_noise_data(self):
if len(stg.filename_BS_raw_data) == 0:
pass
else:
stg.BS_noise_raw_data[self.combobox_acoustic_data_choice.currentIndex()] = np.array([])
stg.BS_noise_averaged_data[self.combobox_acoustic_data_choice.currentIndex()] = np.array([])
stg.SNR_raw_data[self.combobox_acoustic_data_choice.currentIndex()] = np.array([])