diff --git a/Model/read_table_for_open.py b/Model/read_table_for_open.py index 2729db0..1cef2f8 100644 --- a/Model/read_table_for_open.py +++ b/Model/read_table_for_open.py @@ -159,8 +159,10 @@ class ReadTableForOpen: stg.water_attenuation.append( [x[4] for x in data1] ) - stg.kt_read.append([x[5] for x in data1]) + + stg.kt_read = [x[5] for x in data1] stg.kt_corrected = [x[6] for x in data1] + stg.nb_profiles.append([x[7] for x in data1]) stg.nb_profiles_per_sec.append([x[8] for x in data1]) stg.nb_cells.append([x[9] for x in data1]) @@ -176,20 +178,20 @@ class ReadTableForOpen: stg.gain_tx.append([x[15] for x in data1]) logger.debug("measure:") - logger.debug(f"- {stg.acoustic_data}") - logger.debug(f"- {stg.freq}") - logger.debug(f"- {stg.water_attenuation}") - logger.debug(f"- {stg.kt_read}") - logger.debug(f"- {stg.kt_corrected}") - logger.debug(f"- {stg.nb_profiles}") - logger.debug(f"- {stg.nb_profiles_per_sec}") - logger.debug(f"- {stg.nb_cells}") - logger.debug(f"- {stg.cell_size}") - logger.debug(f"- {stg.pulse_length}") - logger.debug(f"- {stg.nb_pings_per_sec}") - logger.debug(f"- {stg.nb_pings_averaged_per_profile}") - logger.debug(f"- {stg.gain_rx}") - logger.debug(f"- {stg.gain_tx}") + logger.debug(f"- stg.acoustic_data: {stg.acoustic_data}") + logger.debug(f"- stg.freq {stg.freq}") + logger.debug(f"- stg.water_attenuation {stg.water_attenuation}") + logger.debug(f"- stg.kt_read {stg.kt_read}") + logger.debug(f"- stg.kt_corrected {stg.kt_corrected}") + logger.debug(f"- stg.nb_profiles {stg.nb_profiles}") + logger.debug(f"- stg.nb_profiles_per_sec {stg.nb_profiles_per_sec}") + logger.debug(f"- stg.nb_cells {stg.nb_cells}") + logger.debug(f"- stg.cell_size {stg.cell_size}") + logger.debug(f"- stg.pulse_length {stg.pulse_length}") + logger.debug(f"- stg.nb_pings_per_sec {stg.nb_pings_per_sec}") + logger.debug(f"- stg.nb_pings_averaged_per_profile {stg.nb_pings_averaged_per_profile}") + logger.debug(f"- stg.gain_rx {stg.gain_rx}") + logger.debug(f"- stg.gain_tx {stg.gain_tx}") logger.debug(f"- {stg.date}") logger.debug(f"- {stg.hour}") diff --git a/View/sediment_calibration_tab.py b/View/sediment_calibration_tab.py index 7f8b07e..6fab038 100644 --- a/View/sediment_calibration_tab.py +++ b/View/sediment_calibration_tab.py @@ -1784,10 +1784,6 @@ class SedimentCalibrationTab(QWidget): ) def update_label_kt_value_for_calibration(self): - print("self.combobox_freq1.currentIndex() ", - self.combobox_freq1.currentIndex(), - self.combobox_freq1.currentText()) - freq_1 = self.combobox_freq1.currentIndex() freq_2 = self.combobox_freq2.currentIndex() diff --git a/main.py b/main.py index df670a7..9d756ff 100644 --- a/main.py +++ b/main.py @@ -99,7 +99,7 @@ class MainApplication(QMainWindow): self.acoustic_data_tab, self.signal_processing_tab, self.sample_data_tab, - # self.sediment_calibration_tab, + self.sediment_calibration_tab, # self.acoustic_inversion_tab, # self.note_tab ]