GithubHelp home page GithubHelp logo

Comments (2)

JohnGriffiths avatar JohnGriffiths commented on August 11, 2024

Ciao @danielemarinazzo

We haven't tried using the ppg and accelerometer data in eegnb. Mainly because it hasn't been straightforward to access that data previously.

Blusemuse does send the ppg chans, to a separate lsl stream as the eeg. You can see this in the blue muse gui.

The preferred streaming option is now Brainflow not Blusemuse however.

Previously Brainflow did not support anything other than the eeg chans from muse. However I just took a look at the docs and it looks like it does indeed now allow accelerometer and ppg chans to be pulled also -

Available BrainFlow Presets:

BrainFlowPresets.DEFAULT_PRESET, it contains EEG data, to enable 5th EEG channel use board.config_board("p50")

BrainFlowPresets.AUXILIARY_PRESET, it contains Gyro and Accel data, enabled by default

BrainFlowPresets.ANCILLARY_PRESET, it contains PPG data, to enable it use board.config_board("p61")

I think it would be a very good idea to switch to always grabbing those additional streams by default in the eegnb EEG muse device class, and output cav file, IF doing so does not prove too difficult.

One difficulty that could arise is that the sampling rate is different for the ppg to the eeg.

A PR attempting this would be superb! Remember to fork from develop when doing so, not main.

Thoughts?

from eeg-expy.

tmorshed avatar tmorshed commented on August 11, 2024

So, one idea is to add a new device type to the devices.eeg board type, e.g., named "museX_bfp":
https://github.com/NeuroTechX/eeg-notebooks/blob/ac1f5fb14d3c2baa8be0cc6ef0cfb87671060e95/eegnb/devices/eeg.py#L33

This could use the pertinent board config from brainflow and get the new channels. Updating the old device types may be tricky as it may add dimensions and mess up with legacy code and experiments/analyses.

Also see: https://github.com/brainflow-dev/brainflow/blob/master/python_package/examples/tests/muse_ppg.py

from eeg-expy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.