Comments (2)
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.
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)
- Installing eeg notebooks on Mac M1 HOT 1
- Idea to implement for EEG decoding the option to convert it to DFT? HOT 1
- Hello, I have a basic question about another project HOT 1
- N170 experiment doesn't work HOT 1
- N170 Load and Visualize Data HOT 5
- Research showing the influence of the used SSVEP pattern image HOT 2
- Error with installing dukpy HOT 3
- Can't run experiments from CLI interface HOT 4
- pyglet version incompatibility mac HOT 4
- Implement version + release schedule HOT 2
- aux channel with muse2_bfn device
- P300 experiment explanation: "...high or low probability..."
- Legend items order when using diff_waveform in plot_conditions HOT 1
- Support for Oculus/Meta Quest VR for N170 and other experiments HOT 1
- Problems with saving data file using brainflow HOT 2
- AttributeError: module 'eegnb.experiments.visual_ssvep.ssvep' has no attribute 'present' HOT 3
- Incomplete outputfile SSAEP_onefreq with Bluemuse HOT 1
- `eeg-notebook` => `eeg-expy` rename
- Neurosity crown supported in code, not yet listed in doc
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eeg-expy.