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?
how to get the matrix in signal by python
-
- Posts: 775
- Joined: Tue Dec 04, 2012 3:53 pm
- Location: INRIA Rennes, FRANCE
Re: how to get the matrix in signal by python
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
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
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 (9.21 KiB) Viewed 13260 times
Re: how to get the matrix in signal by python
hi,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
i have learn the imformation as you say ,thank you very much ,
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
- 4W`V{`R]I_(X`3}U`Q4Q(92.png (45.25 KiB) Viewed 13260 times
Re: how to get the matrix in signal by python
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
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