1、修改了<数据粗同步>的tempfrequency的设置
This commit is contained in:
@ -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
|
||||||
Config.update({"TempFrequency": Config["InputConfig"]["ThoFreq"]})
|
if Config["InputConfig"]["ThoFreq"] < Config["InputConfig"]["AbdFreq"]:
|
||||||
|
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"])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user