1、修改了<数据粗同步>的tempfrequency的设置

This commit is contained in:
2025-05-11 16:20:27 +08:00
parent 62b0db9fd5
commit 487932f8b6

View File

@ -940,7 +940,11 @@ class Data:
# 用repeat完成 # 用repeat完成
self.processed_orgBcg = repeat(self.processed_orgBcg, int(Config["InputConfig"]["ThoFreq"] / Config["InputConfig"]["orgBcgFreq"]), axis=0) self.processed_orgBcg = repeat(self.processed_orgBcg, int(Config["InputConfig"]["ThoFreq"] / Config["InputConfig"]["orgBcgFreq"]), axis=0)
# 修改Config # 修改Config
if Config["InputConfig"]["ThoFreq"] < Config["InputConfig"]["AbdFreq"]:
Config.update({"TempFrequency": Config["InputConfig"]["ThoFreq"]}) Config.update({"TempFrequency": Config["InputConfig"]["ThoFreq"]})
else:
Config.update({"TempFrequency": Config["InputConfig"]["AbdFreq"]})
except Exception: except Exception:
return Result().failure(info=Constants.APPROXIMATELY_PRE_ALIGN_RESAMPLE_FAILURE + Constants.APPROXIMATELY_ALIGN_FAILURE_REASON["Pre_Resample_Exception"]) return Result().failure(info=Constants.APPROXIMATELY_PRE_ALIGN_RESAMPLE_FAILURE + Constants.APPROXIMATELY_ALIGN_FAILURE_REASON["Pre_Resample_Exception"])