update
This commit is contained in:
@@ -76,7 +76,7 @@ class Decoder_main(threading.Thread):
|
|||||||
:return:
|
:return:
|
||||||
'''
|
'''
|
||||||
self.decoder_class = decoder_class
|
self.decoder_class = decoder_class
|
||||||
if decoder_class == 'ssvep' or decoder_class == 'pvs':
|
if self.decoder_class == 'ssvep' or self.decoder_class == 'pvs':
|
||||||
self.n_chan = 8
|
self.n_chan = 8
|
||||||
# self.thread_data_server.interval_inited = False
|
# self.thread_data_server.interval_inited = False
|
||||||
DW_cost_method, self.DW_cost_tv = ast.literal_eval(IniRead('system', 'SSVEP_ThresholdValue'))
|
DW_cost_method, self.DW_cost_tv = ast.literal_eval(IniRead('system', 'SSVEP_ThresholdValue'))
|
||||||
|
|||||||
@@ -19,7 +19,8 @@ source activate 3in1Py310
|
|||||||
python runDecoder.py
|
python runDecoder.py
|
||||||
python datamock.py
|
python datamock.py
|
||||||
python ZeroMQClient_mock.py
|
python ZeroMQClient_mock.py
|
||||||
python system_test.py
|
python filter_test.py
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# 遗留问题
|
# 遗留问题
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ class ParadigmRingBuffer:
|
|||||||
def appendBuffer(self, data):
|
def appendBuffer(self, data):
|
||||||
if self.nUpdate == self.n_points:
|
if self.nUpdate == self.n_points:
|
||||||
# raise Exception("Buffer is full")
|
# raise Exception("Buffer is full")
|
||||||
algo_log("Buffer is full", record_once=True)
|
algo_log("ParadigmRingBuffer is full", record_once=True)
|
||||||
|
|
||||||
n = data.shape[1]
|
n = data.shape[1]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user