mirror of
https://forgemia.inra.fr/theophile.terraz/acoused.git
synced 2026-10-30 03:10:40 +01:00
Signal processing: Complete missing data at open study.
This commit is contained in:
1 parent
943f768720
commit
74137405fc
1 file changed
+16
-7
@@ -509,23 +509,32 @@ class SignalProcessingTab(QWidget):
|
|||||||
self.icon_clear = QIcon(path_icon("clear.png"))
|
self.icon_clear = QIcon(path_icon("clear.png"))
|
||||||
self.icon_apply = QIcon(path_icon("circle_green_arrow_right.png"))
|
self.icon_apply = QIcon(path_icon("circle_green_arrow_right.png"))
|
||||||
|
|
||||||
|
|
||||||
# --------------------------------------------------------------------------------------------------------------
|
|
||||||
# --------------------------------------------------------------------------------------------------------------
|
|
||||||
# +++++++++ FUNCTION +++++++++
|
|
||||||
# --------------------------------------------------------------------------------------------------------------
|
|
||||||
# --------------------------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
def full_update(self):
|
def full_update(self):
|
||||||
logger.debug(f"{__name__}: Update")
|
logger.debug(f"{__name__}: Update")
|
||||||
self.blockSignals(True)
|
self.blockSignals(True)
|
||||||
self.combobox_acoustic_data_choice.blockSignals(True)
|
self.combobox_acoustic_data_choice.blockSignals(True)
|
||||||
|
|
||||||
|
self.full_update_fill_text()
|
||||||
self.update_SignalPreprocessingTab(recompute=True)
|
self.update_SignalPreprocessingTab(recompute=True)
|
||||||
|
|
||||||
self.combobox_acoustic_data_choice.blockSignals(False)
|
self.combobox_acoustic_data_choice.blockSignals(False)
|
||||||
self.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):
|
def update_SignalPreprocessingTab(self, recompute=True):
|
||||||
|
|
||||||
""" The tab is updated in two cases :
|
""" The tab is updated in two cases :
|
||||||
|
|||||||
Reference in new issue
Block a user