为爆管侦测模块新增模拟方案支持及相关参数

This commit is contained in:
2026-03-11 16:15:02 +08:00
parent aa68bc73ca
commit 4ea0b8f05b
3 changed files with 116 additions and 9 deletions
@@ -121,7 +121,7 @@ class BurstDetector:
if total_points < self.points_per_day * 2:
raise ValueError("至少需要 2 天的观测数据才能执行爆管侦测。")
if total_points % self.points_per_day != 0:
raise ValueError("观测数据长度必须能被 points_per_day 整除,以便按天切分。")
raise ValueError("观测数据长度必须能被每日采样点数整除,以便按天切分。")
day_count = total_points // self.points_per_day
high_freq_features = np.zeros((day_count, sensor_count), dtype=float)