Change fx strength and add bb
This commit is contained in:
+1
-3
@@ -379,11 +379,9 @@ def analyze_chan(df):
|
||||
fx_strength_level = ""
|
||||
is_strong_fx = False
|
||||
|
||||
# 尝试调用分型强度计算方法
|
||||
# 统一使用cal_fx_strength函数
|
||||
if hasattr(klc, 'cal_fx_strength'):
|
||||
fx_strength = klc.cal_fx_strength()
|
||||
elif hasattr(klc, 'calculate_fx_strength'):
|
||||
fx_strength = klc.calculate_fx_strength()
|
||||
|
||||
# 尝试获取分型强度等级
|
||||
if hasattr(klc, 'get_fx_strength_level'):
|
||||
|
||||
Reference in New Issue
Block a user