AUC measurment

I have a time series like the attached and I want to determine the area under the curve per channel over a selected segment (or the whole data block). How would I go about that?

This is time series was derived from the ratio of frequency bands as measured by wavelets. I’ve posted earlier on this.

Thanks.

Hello,

There are no tools for computing this in Brainstorm, you have to export the data to Matlab and process it manually.
Right-click on the file > File > Export to Matlab > “s”.
Then compute the integral of the signals: trapz(s.Time, s.F, 2)

Francois

Hi Francois,

Thank you for your reply.

Can you please let me know how can I set the integral ‘F’ in trapz(s.Time, s.F, 2) to obtain AUC

F is a field of the data matrix that contains the signals:
http://neuroimage.usc.edu/brainstorm/Tutorials/Epoching#On_the_hard_drive