NeuroTechX / EEG-ExPy

EEG Experiments in Python
https://neurotechx.github.io/EEG-ExPy/
BSD 3-Clause "New" or "Revised" License
436 stars 124 forks source link

first stab at support for brainflow muse options #149

Closed JohnGriffiths closed 2 years ago

JohnGriffiths commented 2 years ago

Finally got round to trying out brainflow muse support.

https://brainflow.readthedocs.io/en/stable/SupportedBoards.html?highlight=muse#muse

Seems promising. Mostly worked ok with Muse S.

Current status = sig qual checker is breaking, I think for same reason described here

https://github.com/NeuroTechX/eeg-notebooks/pull/146

so could be fixed with a slightly longer data segment / pause length.

Note: Muse2016 not yet supported in brainflow, only Muse2 and MuseS. Talking to Andrey P about getting that covered, which is important.

Note: nomenclature choice here has been to introduce four new device names:

"museS_bfn", "museS_bfb", "muse2_bfn", "muse2_bfb"

where _bfn = brainflow native bluetooth, and _bfb = brainflow BLED dongle bluetooth

Happy to consider alternative options there if people find this choice distasteful.

JohnGriffiths commented 2 years ago

Now fully working for muse S.

Example:

eegnb checksigual -ed museS_bfn

Note that it appears unlike other brainflow devices this one returns numbers that do not need to be rescaled by a factor of 1000.

JohnGriffiths commented 2 years ago

Update: this not working on my other main windows computer alas.

Best explanation I can find for this is that my this comp is running a slightly older windows version (10.0.17134 Build 17134) than what the brainflow docs say is supported; namely Windows 10.0.19041.0+

https://brainflow.readthedocs.io/en/stable/SupportedBoards.html#id18

BlueMuse works fine on this one, however.