update float32 to float64
This commit is contained in:
@@ -18,7 +18,7 @@ class FilterRingBuffer:
|
||||
self.n_chan = n_chan
|
||||
self.n_points = n_points
|
||||
|
||||
self.buffer = np.zeros((n_chan, n_points), dtype=np.float32)
|
||||
self.buffer = np.zeros((n_chan, n_points), dtype=np.float64)
|
||||
self.current_ptr = 0 # 写入指针:指向下一个要写入的位置
|
||||
self.total_samples = 0 # 已写入总点数
|
||||
self.lock = threading.Lock() # 线程安全锁
|
||||
|
||||
Reference in New Issue
Block a user