Page 1 of 1

P300 analysis

Posted: 20 Jun 2012, 14:49
by paolobernardis
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

Re: P300 analysis

Posted: 20 Jun 2012, 15:01
by mellinger
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

Re: P300 analysis

Posted: 22 Jun 2012, 11:27
by paolobernardis
Dear Juergen,
thank you so much: it perfectly worked, and you have been so nice.
Kind regards.

Re: P300 analysis

Posted: 24 Jun 2012, 10:22
by paolobernardis
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

Re: P300 analysis

Posted: 25 Jun 2012, 08:07
by mellinger
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.