Search found 12 matches

by kyunghowon
Mon May 06, 2024 7:59 pm
Forum: Scenarios and BCI design
Topic: Train CSP On Multiple Files
Replies: 3
Views: 244

Re: Train CSP On Multiple Files

Hello. You can add new input by right-clicking the "Signal Concatenation" box. It seems to work in the example scenario, but you should double-check. In addition, it would only work with files having the same structure (same EEG channels, trial numbers, markers, etc.). You can try it with your EEG f...
by kyunghowon
Sat Apr 27, 2024 6:22 pm
Forum: Scenarios and BCI design
Topic: Train CSP On Multiple Files
Replies: 3
Views: 244

Re: Train CSP On Multiple Files

Hello.
Have you tried the "Signal Concatenation" box?
According to its documentation, it seems to be suitable for your case.
http://openvibe.inria.fr/documentation/ ... tion.html

Best,
by kyunghowon
Mon Mar 18, 2024 1:06 pm
Forum: Scenarios and BCI design
Topic: motor imaginary CSP online 4. xml crashes
Replies: 2
Views: 1938

Re: motor imaginary CSP online 4. xml crashes

Hello. I haven't seen this error message before. Since there is not much information, let me ask a few questions to help you. - Did you try scenarios 2, 3, and 4 using examples instead of your data? (example ov data) It should work. (without any modification, scenarios 2 and 3 generate csp.cfg and c...
by kyunghowon
Wed Feb 21, 2024 1:51 pm
Forum: Discussion about BCI and related topics
Topic: 3 Channel MI BCI
Replies: 5
Views: 1972

Re: 3 Channel MI BCI

Hello. Sorry for the unclear terms. On/off in my reply meant the period when the user wants to use a BCI system. You have mentioned asynchronous BCI. In asynchronous BCI, no stimulus onset indicates the task period, but it is determined by the user. Therefore, you first need to determine when the us...
by kyunghowon
Tue Feb 20, 2024 6:55 pm
Forum: Discussion about BCI and related topics
Topic: 3 Channel MI BCI
Replies: 5
Views: 1972

Re: 3 Channel MI BCI

Hello. CSP is optimized to maximize the variance of one class and minimize the variance of another class and vice versa. In general, the first N and last N filters are selected. In your case, however, since there are only three channels, it cannot guarantee optimal performance. It would be similar w...
by kyunghowon
Tue Feb 20, 2024 3:45 pm
Forum: Scenarios and BCI design
Topic: Scenario Validation
Replies: 4
Views: 712

Re: Scenario Validation

Hello. Thank you for the update. First of all, I noticed a few points to be fixed. For Spectral analysis box, its outputs are amplitude, phase, real part, and imagery part of FFT. Your data dimension is changed from [1 x time] -> [Frequency bins x 1] Therefore, its first output is amplitude per freq...
by kyunghowon
Tue Feb 20, 2024 10:00 am
Forum: Scenarios and BCI design
Topic: Scenario Validation
Replies: 4
Views: 712

Re: Scenario Validation

Hello.
Unfortunately, I cannot see the attached image.

2. I don't think decimation is essential for the original sample rate of 250Hz.

Best regards,
by kyunghowon
Tue Feb 13, 2024 8:49 am
Forum: Scenarios and BCI design
Topic: Troubleshooting motor imagery spatial filter (mi-csp-2-train-CSP.xml)
Replies: 10
Views: 24401

Re: Troubleshooting motor imagery spatial filter (mi-csp-2-train-CSP.xml)

Hello. I am glad to hear that you resolved the issue. Let me explain reading the output. It may be redundant if you know already, but I hope this helps, just in case. For now, your classifier is optimized based on all your input, yielding optimal performance. Training accuracy is calculated by the s...
by kyunghowon
Mon Feb 05, 2024 9:04 am
Forum: Scenarios and BCI design
Topic: I wanna convert this MATLAB script to python.
Replies: 5
Views: 780

Re: I wanna convert this MATLAB script to python.

Thank you for updating the progress with details. For simple validation, 1) Could you apply the 4th order Butterworth filter instead of the 1st order? Depending on the signal length and bandwidth, it will yield abnormal values. If you filter the signal for too short time, you will face edge effects ...
by kyunghowon
Fri Feb 02, 2024 9:45 am
Forum: Scenarios and BCI design
Topic: Troubleshooting motor imagery spatial filter (mi-csp-2-train-CSP.xml)
Replies: 10
Views: 24401

Re: Troubleshooting motor imagery spatial filter (mi-csp-2-train-CSP.xml)

Hello. I looked at your latest attachment, and It seems that channel 14 is dead. Your covariance matrix will not have full rank, yielding one eigenvalue of nearly 0. Depending on how internal scripts deal with less rank matrix, I think it could print an error. (e.g., Reducing dimension or enforcing ...
by kyunghowon
Thu Feb 01, 2024 4:58 pm
Forum: Scenarios and BCI design
Topic: I wanna convert this MATLAB script to python.
Replies: 5
Views: 780

Re: I wanna convert this MATLAB script to python.

Hello. You can use temporal filter box to filter the EEG before Python scripting box . If you want to filter the signal after epoching, I attach a script for the Scipy-based bandpass filter. In addition, you can refer to this tutorial link: https://docs.scipy.org/doc/scipy/reference/generated/scipy....
by kyunghowon
Fri Jan 26, 2024 4:01 pm
Forum: Scenarios and BCI design
Topic: Troubleshooting Brain Waves Monitoring
Replies: 4
Views: 706

Re: Troubleshooting Brain Waves Monitoring

Hello. What does it mean out of range? If you mean 1.9 is out of range of [8 12], you might misunderstand frequency band power. What you obtain from the scenario has a unit of microvolt^2, whereas the range you mentioned ([8 12]) is Hz. EEG is recorded as a temporal signal (electrical potential) in ...