brisonus_app_eq/ERNCTuningTool/components/tabs/tab_rnc/table_config.py

43 lines
849 B
Python
Raw Permalink Normal View History

2025-02-18 22:05:52 +08:00
table1_params_name = [
'gamma',
'eta',
'delta',
'acc_threshold',
'rnc_output_threshold',
'power_times',
'power_threshold',
'power_count',
'min_speed',
'max_speed',
'max_time',
'n_alpha_time',
'refer_num',
'rnc_acc_gain',
'rnc_mic_gain',
'rnc_speaker_gain'
]
table2_params_name = [
'start_fre_num',
'first_fre_num',
'second_fre_num',
'third_fre_num',
'forth_fre_num',
'stop_fre_num',
'alpha_1_below_n',
'alpha_2_below_n',
'alpha_3_below_n',
'alpha_4_below_n',
'alpha_5_below_n',
'alpha_1_above_n',
'alpha_2_above_n',
'alpha_3_above_n',
'alpha_4_above_n',
'alpha_5_above_n',
]
from busybox import gen_table_config
table1_config = gen_table_config(table1_params_name)
table2_config = gen_table_config(table2_params_name)