P300 analysis

Locked
paolobernardis
Posts: 40
Joined: 02 Jul 2010, 04:51

P300 analysis

Post by paolobernardis » 20 Jun 2012, 14:49

Dear all,

I am performing the analysis of data obtained in a P3Speller expeiment. For this prupose I am using the tool Offiline Analysis of BCI2000.
I would like to knowe if is possible to plot the amplitude absolute values of the P300 of different electrodes (e.g. Pz, Fz, Oz) at the same time by using the same amplitude scale for all electrodes.
Could somebody help me on this topic?

Thanks,

Paolo

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

Re: P300 analysis

Post by mellinger » 20 Jun 2012, 15:01

Hi Paolo,

in runBasicAnalysis.m, line 425, replace
axis tight;
with
minY = min([min(min(res1)); min(min(res2))]);
maxY = max([max(max(res1)); max(max(res2))]);
axis ([min(xData), max(xData), minY, maxY]);

Modulo some juggling to get the dimensions right, this should do the trick.

-Juergen

paolobernardis
Posts: 40
Joined: 02 Jul 2010, 04:51

Re: P300 analysis

Post by paolobernardis » 22 Jun 2012, 11:27

Dear Juergen,
thank you so much: it perfectly worked, and you have been so nice.
Kind regards.

paolobernardis
Posts: 40
Joined: 02 Jul 2010, 04:51

Re: P300 analysis

Post by paolobernardis » 24 Jun 2012, 10:22

Dear Jurgen,

thanks again for your previous support. Please be kindly informed that I was successful to obtain the plot with the same scale of all the electrods within the same condition.
Now, I would like to plot with exactly the same scale limit the amplitude of P300 from different sessions (which have different maximum values).

Do you think it is possible to do so (and how)?

Waiting for your kind reply

Paolo

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

Re: P300 analysis

Post by mellinger » 25 Jun 2012, 08:07

Well, you might set a breakpoint on the line containing the "axis" command, and use the debugger to obtain the actual values of minY and maxY when running the analysis with the first data, then replace minY and maxY with those values, and run the analysis for the remaining data.

Locked

Who is online

Users browsing this forum: No registered users and 0 guests