compute interpolation can be done without detect bottom
parent
372d002277
commit
761dc9008c
|
|
@ -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:"
|
||||
|
|
|
|||
Loading…
Reference in New Issue