diff --git a/View/signal_processing_tab.py b/View/signal_processing_tab.py index 753ef46..07f7aad 100644 --- a/View/signal_processing_tab.py +++ b/View/signal_processing_tab.py @@ -509,23 +509,32 @@ class SignalProcessingTab(QWidget): self.icon_clear = QIcon(path_icon("clear.png")) self.icon_apply = QIcon(path_icon("circle_green_arrow_right.png")) - - # -------------------------------------------------------------------------------------------------------------- - # -------------------------------------------------------------------------------------------------------------- - # +++++++++ FUNCTION +++++++++ - # -------------------------------------------------------------------------------------------------------------- - # -------------------------------------------------------------------------------------------------------------- - def full_update(self): logger.debug(f"{__name__}: Update") self.blockSignals(True) self.combobox_acoustic_data_choice.blockSignals(True) + self.full_update_fill_text() self.update_SignalPreprocessingTab(recompute=True) self.combobox_acoustic_data_choice.blockSignals(False) self.blockSignals(False) + def full_update_fill_text(self): + data_id = self.combobox_acoustic_data_choice.currentIndex() + + self.lineEdit_profile_tail_value.setText( + str(stg.noise_value[data_id]) + ) + + self.lineEdit_SNR_criterion.setText( + str(stg.SNR_filter_value[data_id]) + ) + + self.lineEdit_horizontal_average.setText( + str(stg.Nb_cells_to_average_BS_signal[data_id]) + ) + def update_SignalPreprocessingTab(self, recompute=True): """ The tab is updated in two cases :