how to produce plot with P300 Speller?

Forum for discussion on different user applications
Locked
Yueqing Li
Posts: 51
Joined: 08 May 2007, 16:41

how to produce plot with P300 Speller?

Post by Yueqing Li » 08 Aug 2007, 17:59

Hi, Dr. Schalk:

When I run the "example.m" file in matlab, although plot can be produced, but there are some alerts---
"??? Index exceeds matrix dimensions.

Error in ==> topoplot at 215
Vl = Vl(ii);

Error in ==> p3 at 196
topoplot(data2plot, eloc_file, 'maplimits', [displaymin, displaymax], 'style', 'straight');

Error in ==> example at 23
[res1ch, res2ch, ressqch, stimdata] = p3('Yueqing0723S001R02.mat', 240, 11, 650, 1, 1, [270 310 350 390 430 470], [3 2], 'eloc64.txt', '');
".

Is something wrong with my data file? Or maybe I use incorrect parameters in P3 function (I have not changed the default parameter you set, except the data file name).

Thank you

gschalk
Posts: 615
Joined: 28 Jan 2003, 12:37

P3analysis ...

Post by gschalk » 08 Aug 2007, 20:29

Yueqing,

Change the 2nd parameter (sampling rate) from 240 to 256. I think you use 256 Hz.

Also, change 'eloc64.txt' to 'eloc16.txt' since you only use 16 channels. However, do not pay attention to the topographies since your montage and channel assignment are most likely different than those in the eloc16 file. To get correct topographies, you would need to create an appropriate electrode location file.

Gerv

Yalda Shahriari
Posts: 13
Joined: 22 Jan 2011, 01:03

Re: how to produce plot with P300 Speller?

Post by Yalda Shahriari » 27 Nov 2011, 10:15

Hi,
I wanted to know how can I download eloc16.txt. I have just eloc64.txt.

Regards
Yalda Shahriari

Yalda Shahriari
Posts: 13
Joined: 22 Jan 2011, 01:03

Re: how to produce plot with P300 Speller?

Post by Yalda Shahriari » 01 Dec 2011, 02:39

Hi,
As I work with gUSB amp (gtech company) it has just 16 channel for recording I wanted to know how can I download eloc16.txt. I have just eloc64.txt.
Please guide me.

Regards
Yalda Shahriari

mellinger
Posts: 1341
Joined: 12 Feb 2003, 11:06

Re: how to produce plot with P300 Speller?

Post by mellinger » 09 Jan 2012, 13:34

Hi,

there is no eloc16.txt that is correct under all circumstances. Rather, you will need to create your own eloc file by making a copy of eloc64.txt, and then remove all electrodes that are not present in your setup. Finally, make sure that the order of electrodes in the new eloc file matches the order in which physical electrodes are connected to the physical channels of your amplifier.

Regards,
Juergen

Locked

Who is online

Users browsing this forum: No registered users and 0 guests