Page 1 of 1

how to get the matrix in signal by python

Posted: Tue Jul 07, 2015 12:20 pm
by dennis
Hellow,
I want to realize a new algorithm(like CSP) using python script,but i don't know how to get the matrix from signal data,
and how i can control the end time? Can you help me? :)

Re: how to get the matrix in signal by python

Posted: Tue Jul 07, 2015 2:22 pm
by jtlindgren
Hi,

the signal streams pass a chunk of the signal in a data matrix. You should be able to gather the necessary information from the python tutorial and the python scenarios bundled with OpenViBE. Look at the signal average, in the following tutorial,

http://openvibe.inria.fr/tutorial-using ... -openvibe/

I'm not sure what you mean by end time.


Happy hacking,
Jussi

Re: how to get the matrix in signal by python

Posted: Fri Jul 10, 2015 1:04 pm
by dennis
jtlindgren wrote:Hi,

the signal streams pass a chunk of the signal in a data matrix. You should be able to gather the necessary information from the python tutorial and the python scenarios bundled with OpenViBE. Look at the signal average, in the following tutorial,

http://openvibe.inria.fr/tutorial-using ... -openvibe/

I'm not sure what you mean by end time.


Happy hacking,
Jussi

Re: how to get the matrix in signal by python

Posted: Fri Jul 10, 2015 1:12 pm
by dennis
jtlindgren wrote:Hi,

the signal streams pass a chunk of the signal in a data matrix. You should be able to gather the necessary information from the python tutorial and the python scenarios bundled with OpenViBE. Look at the signal average, in the following tutorial,

http://openvibe.inria.fr/tutorial-using ... -openvibe/

I'm not sure what you mean by end time.


Happy hacking,
Jussi
hi,
i have learn the imformation as you say ,thank you very much :D ,
but when i add the 'stimulation based epoching' ,i can print the chunk any more,is there something wrong with my code?

Re: how to get the matrix in signal by python

Posted: Thu Jul 23, 2015 12:30 pm
by gserrier
Hi,

your stimulation based epoching box never receive a stimulation, so the epoch never start. That's why you do not print a chunck. No chunck is emit by the epoching box.

Guillaume