test
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
import numpy as np
|
||||
from scipy import signal
|
||||
import threading
|
||||
from logs.log import algo_log
|
||||
|
||||
class ParadigmRingBuffer:
|
||||
def __init__(self, n_chan, n_points):
|
||||
@@ -19,7 +20,8 @@ class ParadigmRingBuffer:
|
||||
## append buffer and update current pointer
|
||||
def appendBuffer(self, data):
|
||||
if self.nUpdate == self.n_points:
|
||||
raise Exception("Buffer is full")
|
||||
# raise Exception("Buffer is full")
|
||||
algo_log("Buffer is full", record_once=True)
|
||||
|
||||
n = data.shape[1]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user