Correction of the red cross button (if no acoustic data) #33
parent
3c78777179
commit
eef048b197
|
|
@ -730,6 +730,12 @@ class SignalProcessingTab(QWidget):
|
||||||
|
|
||||||
def clear_noise_data(self):
|
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_raw_data[self.combobox_acoustic_data_choice.currentIndex()] = np.array([])
|
||||||
stg.BS_noise_averaged_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([])
|
stg.SNR_raw_data[self.combobox_acoustic_data_choice.currentIndex()] = np.array([])
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue