update ssvep test case

This commit is contained in:
2026-06-10 08:24:20 +08:00
parent b78e583bec
commit 73e01782df
2 changed files with 4 additions and 3 deletions

View File

@@ -89,7 +89,8 @@ def zero_mq_client(server_address="tcp://127.0.0.1:8099"):
{"method": "train", "params": 1}, {"method": "train", "params": 1},
{"method": "rest", "params": 0}, {"method": "rest", "params": 0},
{"method": "predict", "params": 1}, {"method": "predict", "params": 1},
{"method": "getReport", "params": 0} {"method": "getReport", "params": 0},
{"method": "targetFreqs", "params": [11, 12, 13]}
] ]
# 打印消息集 # 打印消息集

View File

@@ -26,7 +26,7 @@ plt.rcParams["axes.unicode_minus"] = False
# ===================== 【1. 全局业务固定参数(核心统计规则)】 ===================== # ===================== 【1. 全局业务固定参数(核心统计规则)】 =====================
# ZMQ 服务端配置 # ZMQ 服务端配置
ZMQ_SERVER_IP = "192.168.254.102" ZMQ_SERVER_IP = "127.0.0.1"
ZMQ_SERVER_PORT = 8100 ZMQ_SERVER_PORT = 8100
ZMQ_SOCKET_TIMEOUT = 3000 # 套接字超时(ms) ZMQ_SOCKET_TIMEOUT = 3000 # 套接字超时(ms)
POLL_TIMEOUT = 10 # Poll轮询超时(ms) POLL_TIMEOUT = 10 # Poll轮询超时(ms)
@@ -56,7 +56,7 @@ EMPTY_FRAME = b""
# 仿真信号配置 # 仿真信号配置
TARGET_CHANNEL = 0 TARGET_CHANNEL = 0
SIGNAL_FREQ_LIST = [3, 10, 36] SIGNAL_FREQ_LIST = [3, 13]
SIGNAL_AMP = 1.8 SIGNAL_AMP = 1.8
NOISE_GAUSSIAN_AMP = 0.4 NOISE_GAUSSIAN_AMP = 0.4
NOISE_POWER50_AMP = 0.3 NOISE_POWER50_AMP = 0.3