优化管道权重处理,增加非有限权重检查

This commit is contained in:
2026-03-07 15:11:49 +08:00
parent b9d9cef5ef
commit 7ff28893a1
2 changed files with 13 additions and 5 deletions
@@ -403,7 +403,7 @@ def cal_signature_pipe_multi_pf(
wn, leak_mag, candidate_center[i], sensor_name
)
# leak_or_not_list.append(leak_or_not)
pressure_leak.loc[candidate_center[i]].loc[:, :] = pressure_output
pressure_leak.loc[(candidate_center[i], slice(None)), :] = pressure_output.to_numpy()
# flow_leak.loc[candidate_center[i]].loc[:, :] = flow_output
sys.stdout.write("\r" + "已经完成计算" + str(i + 1) + "个特征中心")
return pressure_leak, candidate_center