修改摸底测试功能、修改pattern控制逻辑

This commit is contained in:
xinzhu.yin
2026-05-13 17:17:13 +08:00
parent 9a52e34f2b
commit 0513f810bd
13 changed files with 479 additions and 3067 deletions

View File

@@ -344,6 +344,8 @@ class PQConfig:
temp_config.current_pattern = copy.deepcopy(self.default_pattern_gray)
elif mode == "accuracy":
temp_config.current_pattern = copy.deepcopy(self.default_pattern_accuracy)
elif mode == "custom":
temp_config.current_pattern = copy.deepcopy(self.default_pattern_temp)
# 3. 替换为转换后的参数
temp_config.current_pattern["pattern_params"] = converted_params