alexandrebarachant / muse-lsl

Python script to stream EEG data from the muse 2016 headset
BSD 3-Clause "New" or "Revised" License
629 stars 184 forks source link

Added PPG + LSL streamers for each data type - partially fix #79, see also #71 - #80

Closed RemyRamdam17 closed 5 years ago

RemyRamdam17 commented 5 years ago

Hello, thank you very much for your code that was very useful for our projects this year ! We bought the Muse 2, and I think that we found how to add PPG management. Hope it helps !

In constants file : added uuid for PPG In muse.py file : added PPG management In stream.py : added LSL streamers for each data type (optional) In view.py : changed a few things to later add each datatype visualization

Dutchflag commented 5 years ago

Hi @Remy17,

I have tested your code and the ppg results confuse me.

Did you confirm that PPG has a sample rate of 256 hz, i.e. the same as EEG)? When I try to handle both EEG and PPG at the same time, I get lots of dropped samples and a very strange interaction between the EEG and PPG data packets...

perhaps I missed something, I'll try additional testing later this week

bshapiro6 commented 5 years ago

Hi @Dutchflag @Remy17,

Thanks for working on this code! The PPG sampling rate is actually 64 Hz, though.

Ben (from Interaxon)

jdpigeon commented 5 years ago

Now deprecated by https://github.com/alexandrebarachant/muse-lsl/pull/93. Thanks for you help!!