Search found 14 matches

by dennis
Thu Sep 17, 2015 12:41 pm
Forum: Designer
Topic: get the left/right label from 'motor-imagery-CSP'
Replies: 6
Views: 7413

Re: get the left/right label from 'motor-imagery-CSP'

Hi Dennis, we don't usually provide basic coding help - a situation like this can be solved by basic skills in Python and careful inspection of whats contained in the different variables. Nevertheless, since reading stims is a very generic situation and we don't have currently have a related test f...
by dennis
Sun Sep 13, 2015 3:16 pm
Forum: Designer
Topic: get the left/right label from 'motor-imagery-CSP'
Replies: 6
Views: 7413

Re: get the left/right label from 'motor-imagery-CSP'

1. Yes 2. Please see http://openvibe.inria.fr/tutorial-using-python-with-openvibe/ Then in the stream received by python, you have likely to look for some of the following numeric codes, http://openvibe.inria.fr/stimulation-codes/ or alternatively there seems to be some type of map at share/[...]/S...
by dennis
Mon Sep 07, 2015 2:17 pm
Forum: Designer
Topic: get the left/right label from 'motor-imagery-CSP'
Replies: 6
Views: 7413

Re: get the left/right label from 'motor-imagery-CSP'

Hi Dennis, the trial labels and timestamps are carried in the stimulation stream, you need to look into that stream to see the segmentation. To get a single trials data to python, you can either modify the scenario epocher to turn the stream to 4s data chunks, or alternatively assemble that 4s in p...
by dennis
Sat Sep 05, 2015 8:48 am
Forum: Designer
Topic: get the left/right label from 'motor-imagery-CSP'
Replies: 6
Views: 7413

get the left/right label from 'motor-imagery-CSP'

Hi, I want to add python script to 'motor-imagery-CSP' in 'bci-example' . now, the problem is that every epoch is 11*32,means 11 chanels and 32 sampling points, it's not a trial! :( ,If i want to get every trial(Epoch Duration:4 seconds) by python from 'Generic stream reader'. what can i do? Or how ...
by dennis
Sun Jul 26, 2015 4:04 am
Forum: Designer
Topic: how to get the data from python?
Replies: 5
Views: 7135

Re: how to get the data from python?

Hi, Can you join the xml of your scenario please? Guillaume hi, i'm sorry to reply late,i have finished the output :P , but there is a new problem, the error is [ INF ] At time 1.344 sec <Box algorithm::(0x0000212d, 0x0000449a) aka Python scripting> Traceback (most recent call last): File "C:/Progr...
by dennis
Sat Jul 18, 2015 1:47 am
Forum: Designer
Topic: how to get the data from python?
Replies: 5
Views: 7135

Input/Output data in python

hi,
i want to use 'python script' to get the data from 'Generic stream reader' and output the data as it received , the detail can see 'viewtopic.php?f=6&t=9518' ,
can you help me ? :D
by dennis
Fri Jul 17, 2015 4:04 pm
Forum: Designer
Topic: how to get the data from python?
Replies: 5
Views: 7135

Re: how to get the data from python?

hi, i am using python script to get the data from 'genereric stream reader',and output data to the 'GDF file writer'. this is the scenarios used to save the filtered data as gdf file, the python is just output the data as it received. when i run,the python script can print the data right, but the s...
by dennis
Fri Jul 17, 2015 3:40 pm
Forum: Designer
Topic: how to get the data from python?
Replies: 5
Views: 7135

how to get the data from python?

hi, i am using python script to get the data from 'genereric stream reader',and output data to the 'GDF file writer'. this is the scenarios used to save the filtered data as gdf file, the python is just output the data as it received. when i run,the python script can print the data right, but the sa...
by dennis
Fri Jul 10, 2015 1:12 pm
Forum: Tutorial scenarios
Topic: how to get the matrix in signal by python
Replies: 4
Views: 12135

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-python-w...
by dennis
Fri Jul 10, 2015 1:04 pm
Forum: Tutorial scenarios
Topic: how to get the matrix in signal by python
Replies: 4
Views: 12135

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-python-w...
by dennis
Tue Jul 07, 2015 12:20 pm
Forum: Tutorial scenarios
Topic: how to get the matrix in signal by python
Replies: 4
Views: 12135

how to get the matrix in signal by python

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? :)
by dennis
Thu May 28, 2015 2:55 am
Forum: Designer
Topic: some question about Python script
Replies: 3
Views: 3410

Re: some question about Python script

hi,
could you tell me how i can access the 'release-1.0.0-bugfixes'? :)
by dennis
Tue May 26, 2015 6:40 am
Forum: Designer
Topic: some question about Python script
Replies: 3
Views: 3410

some question about Python script

Hi, I have read the tutorials about the Python script box ,but I have one question:how to set the type of output into 'stimulation'.Because there are only 'spectrum' ,'streamed matrix' and 'signal' in the modify outputs type. If i want to set input/output as type of 'stimulation',what can i do? Than...
by dennis
Thu Apr 16, 2015 2:28 pm
Forum: Box and application development
Topic: how to modify a box-algorithms
Replies: 1
Views: 9121

how to modify a box-algorithms

hi, I want to change the "csp spatial filter trainer" into a new algorithm named "strcspspatial filter trainer" from source code. But there are always something wrong with my code. So,i want to know that everytime i want to check my code,if i should execute the"win32-install_dependencies" or just ex...