I solved the problem. I inserted in the calc_rsqu function the right format of the data (dim1 by dim2 by trial).
Thanks again Chad.
Search found 19 matches
- 11 Jun 2014, 08:34
- Forum: BCI Systems - Signal Processing
- Topic: Offline Analysis
- Replies: 3
- Views: 3470
- 11 Jun 2014, 05:15
- Forum: BCI Systems - Signal Processing
- Topic: Offline Analysis
- Replies: 3
- Views: 3470
Re: Offline Analysis
Hi Chad, thanks for your hints. I modified the first part of the code. Then, I don't understand the last two point: Once I constructed the data I should do the PSD of each trial or do the PSD of the entire signals (i.e. the signal containing in each trial the left hand imagery movement and the signa...
- 06 Jun 2014, 08:03
- Forum: BCI Systems - Signal Processing
- Topic: Offline Analysis
- Replies: 3
- Views: 3470
Offline Analysis
Hi community, I'm trying to replicate what does the Offline analysis, in particular the frequency analysis of the Mu rhythm. I implemented the following code, where I first extracted the signal relative to the left hand imagery movement and rest. Then I averaged these signals and finally I calculate...
- 14 May 2014, 06:21
- Forum: Known Issues
- Topic: FieldTrip with Bci2000
- Replies: 1
- Views: 2795
Re: FieldTrip with Bci2000
The solution is to use ft_write_event. From the fieldtrip perspective it is an event, whereas from the BCI2000 perspective it is a signal vector.
Regards.
Regards.
- 09 May 2014, 06:40
- Forum: BCI Systems - Signal Processing
- Topic: Combining BCI2000 with Fieldtrip
- Replies: 0
- Views: 8337
Combining BCI2000 with Fieldtrip
Dear community, I'm currently trying to use FieldTripBuffer (in matlab) as the Signal Processing module for a mu rhythm application. I have no problems to read the raw signal and states but I have trouble to find a way to sent the processing result back to Bci for the classification. I know that I m...
- 05 May 2014, 06:50
- Forum: Known Issues
- Topic: FieldTrip with Bci2000
- Replies: 1
- Views: 2795
FieldTrip with Bci2000
Hi to everyone, I'm currently trying to use FieldTripBuffer (in matlab) as the Signal Processing module for a mu rhythm application. I have no problems to read the raw signal and states but I have trouble to find a way to sent the processing result back to Bci. First, it is possible do this, i.e. re...
- 05 May 2014, 06:41
- Forum: Known Issues
- Topic: Data acquisition buffer overflow
- Replies: 10
- Views: 6423
Re: Data acquisition buffer overflow
hello chad, thanks for your hints.
now i'm trying to work with fieldtrip, it is my last chance to use bci2000 with matlab in a real-time application.
for this purpose I open a new post.
thanks again
luca
now i'm trying to work with fieldtrip, it is my last chance to use bci2000 with matlab in a real-time application.
for this purpose I open a new post.
thanks again
luca
- 23 Apr 2014, 11:44
- Forum: Known Issues
- Topic: Data acquisition buffer overflow
- Replies: 10
- Views: 6423
Re: Data acquisition buffer overflow
Hi Chad, I tryed to write some code that save some variables from the current workspace in a text file. When I push the START button the same warning appears but the text file is generated in the directory (the same directory of the file bci_Construct.m, bci_Initialize, etc). So, I think that BCI200...
- 17 Apr 2014, 05:55
- Forum: Known Issues
- Topic: Data acquisition buffer overflow
- Replies: 10
- Views: 6423
Re: Data acquisition buffer overflow
Hi Chad, I switched to SignalGenerator but the situation remains the same. I don't understand what do you mean with "something permanent". Do you mean to write something wrong in matlab bci_process scritp and see if the errors are detected? My bci revision is 4440. I finally changed the permissions ...
- 14 Apr 2014, 05:49
- Forum: Known Issues
- Topic: Data acquisition buffer overflow
- Replies: 10
- Views: 6423
Re: Data acquisition buffer overflow
Hi Chad, I really appreciate your help. The Matlab process it's open when I open the operator module, I checked in the System Monitor. So, I don't know why the error appear. I also tryed to change my Matlab code with the same present in Programming_Tutorial:Implementing_a_Matlab-based_Filter but the...
- 11 Apr 2014, 10:08
- Forum: Known Issues
- Topic: Data acquisition buffer overflow
- Replies: 10
- Views: 6423
Re: Data acquisition buffer overflow
I Chad, thanks for your reply. I set: SampleBlockSize : 8 SamplingRate: 256 The warning above occurs only when I use MatlabSignalProcessing and if I edit these values of sampling rate and sample block size I can't fix the issues. Do you think that using FieldTripBuffer could be a possible solution? ...
- 10 Apr 2014, 10:13
- Forum: Known Issues
- Topic: Data acquisition buffer overflow
- Replies: 10
- Views: 6423
Data acquisition buffer overflow
Hi, I tried to implement a simple Matlab script (highpass Filter) but when I pushed the START button appears a warning: Warning: virtual int BufferedADC::OnExecute(): Data acquisition buffer overflow. In the source module I set the following parameters: SourceBuffersize 2s NumBuffers 6 NumBuffersAmp...
- 09 Apr 2014, 08:45
- Forum: Data Analysis
- Topic: MatlabSignalProcessing
- Replies: 8
- Views: 4160
Re: MatlabSignalProcessing
Hi Chad, some weeks ago I founded the solution about my problem. I wrote you because this solution could be important for users that use BCI2000 on Ubuntu. I used the following .bat file: #! ../prog/BCI2000Shell @cls & ..\prog\BCI2000Shell %0 %* #! && exit /b 0 || exit /b 1\n #######################...
- 17 Mar 2014, 10:44
- Forum: Data Analysis
- Topic: MatlabSignalProcessing
- Replies: 8
- Views: 4160
Re: MatlabSignalProcessing
Hi, I'm sorry, the previous line was only an example for explain my modification. My real .bat file is contained in the first post of this conversation. Thank you very much for your help, in these day will try to fix this problem, following your hint. See you soon and thanks again. Best regards. Luca
- 17 Mar 2014, 08:02
- Forum: Data Analysis
- Topic: MatlabSignalProcessing
- Replies: 8
- Views: 4160
Re: MatlabSignalProcessing
Hi, Now I inserted in the Matlab parameter the right directory: start MatlabSignalProcessing.exe --MatlabWD="/home/user/BCI2000/prog/matlab" and when I type 'which matlab' in the BCI2000 prog directory (/home/user/BCI2000/prog) return usr/local/MATLAB/R2011b/bin. But, when I try to execute the .bat ...