Calculation of FFT power for offline analysis

Forum for discussion on different signal processing algorithms
Post Reply
Posts: 1
Joined: 03 Sep 2018, 06:29

Calculation of FFT power for offline analysis

Post by marnan » 03 Sep 2018, 07:05

Dear BCI2000-Community

I have some basic questions regarding the calculation of FFT/AR spectrum in the BCI2000. Currently, I use the FFT as an option of the ‚SpectralEstimator‘. To double check my results, I wanted to do an offline analysis with the entire signal processing pipeline in Matlab. By doing that, some issues/questions popped up:

1. Is there something similar to the ‚men‘-function (AR spectrum) for the FFT spectrum offline calculation? If not, what is the exact FFT implementation, which I can use for the Matlab offline processing?
2. What is the FFT frequency resolution? By using a ‚WindowLength‘ of 0.5s, the frequency resolution should be 2Hz. However, what role plays the parameter ‚BinWidth‘ then? Is this parameter only active for the AR calculation? Moreover, have the parameters ‚FirstBinCenter‘ and ‚LastBinCenter‘ the same function as in the AR calculation?
3. Are there any general recommendations whether to use AR or FFT? What are the pros and cons of both? Moreover, applies the community detrending and/or windowing function?

Thanks a lot for your help!

Posts: 1169
Joined: 12 Feb 2003, 11:06

Re: Calculation of FFT power for offline analysis

Post by mellinger » 23 Oct 2018, 09:48


to help answer you questions, more detailed information has been added to the BCI2000 wiki: ... lEstimator

Let me know if you need further clarification.


Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests