compute interpolation can be done without detect bottom

dev-brahim
brahim 2025-03-11 17:32:00 +01:00
parent 372d002277
commit 761dc9008c
1 changed files with 2 additions and 2 deletions

View File

@ -1606,7 +1606,7 @@ class SedimentCalibrationTab(QWidget):
for k in stg.fine_sample_profile
]
r_bottom = stg.depth_bottom[data_choice][
r_bottom = [stg.depth_bottom[data_choice][
np.where(
np.abs(
time_data[data_choice][
@ -1621,7 +1621,7 @@ class SedimentCalibrationTab(QWidget):
- stg.time_fine[stg.fine_sample_profile[-1][1]])
)
)[0][0]
]
] if len(stg.depth_bottom[data_choice])!=0 else np.array([])][0]
logger.debug(
"call 'inv_hc.M_profile_SCC_fine_interpolated' params:"