mirror of
https://forgemia.inra.fr/theophile.terraz/acoused.git
synced 2026-10-30 03:10:40 +01:00
compute interpolation can be done without detect bottom
This commit is contained in:
1 parent
372d002277
commit
761dc9008c
1 file changed
+2
-2
@@ -1606,7 +1606,7 @@ class SedimentCalibrationTab(QWidget):
|
|||||||
for k in stg.fine_sample_profile
|
for k in stg.fine_sample_profile
|
||||||
]
|
]
|
||||||
|
|
||||||
r_bottom = stg.depth_bottom[data_choice][
|
r_bottom = [stg.depth_bottom[data_choice][
|
||||||
np.where(
|
np.where(
|
||||||
np.abs(
|
np.abs(
|
||||||
time_data[data_choice][
|
time_data[data_choice][
|
||||||
@@ -1621,7 +1621,7 @@ class SedimentCalibrationTab(QWidget):
|
|||||||
- stg.time_fine[stg.fine_sample_profile[-1][1]])
|
- stg.time_fine[stg.fine_sample_profile[-1][1]])
|
||||||
)
|
)
|
||||||
)[0][0]
|
)[0][0]
|
||||||
]
|
] if len(stg.depth_bottom[data_choice])!=0 else np.array([])][0]
|
||||||
|
|
||||||
logger.debug(
|
logger.debug(
|
||||||
"call 'inv_hc.M_profile_SCC_fine_interpolated' params:"
|
"call 'inv_hc.M_profile_SCC_fine_interpolated' params:"
|
||||||
|
|||||||
Reference in new issue
Block a user