mne-tools / mne-cpp

MNE-CPP: A Framework for Electrophysiology
https://mne-cpp.org/
BSD 3-Clause "New" or "Revised" License
151 stars 137 forks source link

Use MNE-CPP as a library #966

Open seph14 opened 10 months ago

seph14 commented 10 months ago

Hello,

We are building an EEG data visualiser, we have our own app capturing the LSL data, and wants to use MNE-CPP to process event signals (P300 and N170 specifically).

I'm wondering what are the related dlls that I need to link against our app? And are there any sample code that I can refer to? Any pointers are welcome.

juangpc commented 10 months ago

Hi, You should be able to use MNE-Scan application which has an lsl adapter plugin. With the source reconstruction plugin you should be able to visualize ERP(ERF). There is information in the documentation. There are some examples in the repository but those will guide you and are sometimes dependent on particular setups.
If you want filtering and further analysis I would understand working with MNE-Scan. But if you have your own app, ERPs are basically time-locked averages (although as always in Science, it can get tricky). Best of luck. Let us know how it goes.

-- Juan