Train CSP On Multiple Files

Working with OpenViBE signal processing scenarios and doing scenario/BCI design
Post Reply
amemov
Posts: 4
Joined: Wed Jan 03, 2024 12:15 am

Train CSP On Multiple Files

Post by amemov »

Hello,

I'm using OpenViBE's scenario for motor imagery, and I was wondering if it is possible to combine multiple files into one for training CSP or to train CSP on multiple training files. I saw that OpenViBE uses for training files with extension .ov, and because of that, I'm not sure how should I approach this problem.

kyunghowon
Posts: 12
Joined: Tue Apr 04, 2023 9:14 am

Re: Train CSP On Multiple Files

Post by kyunghowon »

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,

amemov
Posts: 4
Joined: Wed Jan 03, 2024 12:15 am

Re: Train CSP On Multiple Files

Post by amemov »

kyunghowon wrote:
Sat Apr 27, 2024 6:22 pm
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,
kyunghowon,

Thank you. Yes, I just tried it. It works perfectly fine with concatenating just 2 training files, but when I attempt to train on multiple files as seen below, it crashes almost immediately. I'm not sure what exactly is wrong. I tried searching the forum to see if someone encountered a similar issue, but I haven't found any posts.

Image

Image

kyunghowon
Posts: 12
Joined: Tue Apr 04, 2023 9:14 am

Re: Train CSP On Multiple Files

Post by kyunghowon »

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 files (not identical files, but separate files from different runs).

You might want to try saving the merged file (gdf writer) before using it, as the documentation implies merging the file.

Best regards,
Attachments
img_ov-2.jpg
img_ov-2.jpg (183.92 KiB) Viewed 9 times

Post Reply