Inversion: Minor change.
parent
400fa26f84
commit
fbdbc7ac76
|
|
@ -532,32 +532,22 @@ class AcousticInversionTab(QWidget):
|
||||||
)
|
)
|
||||||
|
|
||||||
def compute_SSC_fine(self):
|
def compute_SSC_fine(self):
|
||||||
stg.SSC_fine[self.combobox_acoustic_data_choice.currentIndex()] = np.array([])
|
data_id = self.combobox_acoustic_data_choice.currentIndex()
|
||||||
|
|
||||||
stg.SSC_fine[self.combobox_acoustic_data_choice.currentIndex()] = self.inv_hc.SSC_fine(
|
stg.SSC_fine[data_id] = np.array([])
|
||||||
|
|
||||||
|
stg.SSC_fine[data_id] = self.inv_hc.SSC_fine(
|
||||||
zeta=stg.zeta[1],
|
zeta=stg.zeta[1],
|
||||||
r2D=stg.depth_2D[
|
r2D=stg.depth_2D[data_id][stg.frequency_for_inversion[1]],
|
||||||
self.combobox_acoustic_data_choice.currentIndex()
|
VBI=stg.VBI_cross_section[data_id],
|
||||||
][
|
|
||||||
stg.frequency_for_inversion[1]
|
|
||||||
],
|
|
||||||
VBI=stg.VBI_cross_section[
|
|
||||||
self.combobox_acoustic_data_choice.currentIndex()
|
|
||||||
],
|
|
||||||
freq=stg.frequencies_for_calibration[1][0],
|
freq=stg.frequencies_for_calibration[1][0],
|
||||||
X=stg.X_exponent[0],
|
X=stg.X_exponent[0],
|
||||||
j_cross_section=stg.J_cross_section[
|
j_cross_section=stg.J_cross_section[data_id][1],
|
||||||
self.combobox_acoustic_data_choice.currentIndex()
|
|
||||||
][1],
|
|
||||||
alpha_w=np.full(
|
alpha_w=np.full(
|
||||||
shape=stg.depth_2D[
|
shape=stg.depth_2D[data_id][
|
||||||
self.combobox_acoustic_data_choice.currentIndex()
|
|
||||||
][
|
|
||||||
stg.frequency_for_inversion[1]
|
stg.frequency_for_inversion[1]
|
||||||
].shape,
|
].shape,
|
||||||
fill_value=stg.water_attenuation[
|
fill_value=stg.water_attenuation[data_id][
|
||||||
self.combobox_acoustic_data_choice.currentIndex()
|
|
||||||
][
|
|
||||||
stg.frequency_for_inversion[1]
|
stg.frequency_for_inversion[1]
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
@ -925,8 +915,6 @@ class AcousticInversionTab(QWidget):
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
# --- Plot fine SSC : measured vs inverted ---
|
|
||||||
|
|
||||||
def fill_combobox_fine_sample(self):
|
def fill_combobox_fine_sample(self):
|
||||||
data_id = self.combobox_acoustic_data_choice.currentIndex()
|
data_id = self.combobox_acoustic_data_choice.currentIndex()
|
||||||
|
|
||||||
|
|
@ -1746,7 +1734,6 @@ class AcousticInversionTab(QWidget):
|
||||||
else:
|
else:
|
||||||
depth_data = stg.depth
|
depth_data = stg.depth
|
||||||
|
|
||||||
|
|
||||||
t = np.repeat(
|
t = np.repeat(
|
||||||
time_data[k][stg.frequency_for_inversion[1]],
|
time_data[k][stg.frequency_for_inversion[1]],
|
||||||
depth_data[k].shape[1]
|
depth_data[k].shape[1]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue