how to get the matrix in signal by python

About BCI and box tutorial/demo scenarios bundled with OpenViBE.
Post Reply
dennis
Posts: 14
Joined: Sun Mar 30, 2014 8:42 am

how to get the matrix in signal by python

Post 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? :)

jtlindgren
Posts: 775
Joined: Tue Dec 04, 2012 3:53 pm
Location: INRIA Rennes, FRANCE

Re: how to get the matrix in signal by python

Post 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

dennis
Posts: 14
Joined: Sun Mar 30, 2014 8:42 am

Re: how to get the matrix in signal by python

Post 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
Attachments
X58NX~%(VJ8OCP)P0@6LZEO.png
X58NX~%(VJ8OCP)P0@6LZEO.png (9.21 KiB) Viewed 12117 times

dennis
Posts: 14
Joined: Sun Mar 30, 2014 8:42 am

Re: how to get the matrix in signal by python

Post 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?
Attachments
i want get the matrix data from every chunk
i want get the matrix data from every chunk
4W`V{`R]I_(X`3}U`Q4Q(92.png (45.25 KiB) Viewed 12117 times

gserrier
Posts: 71
Joined: Tue Apr 01, 2014 8:22 am

Re: how to get the matrix in signal by python

Post 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

Post Reply