为爆管侦测模块新增模拟方案支持及相关参数
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user