GithubHelp home page GithubHelp logo

Comments (5)

JohnGriffiths avatar JohnGriffiths commented on August 11, 2024

Hi Vladimir. Can you screenshot the first 30 lines or so of the csv file ? Is it missing the final column in the first few rows?

from eeg-expy.

Liam-Noah avatar Liam-Noah commented on August 11, 2024

Hi Vladimir. Can you screenshot the first 30 lines or so of the csv file ? Is it missing the final column in the first few rows?

Yes, that's exactly what's happening here

Screenshot 2022-09-15 104104

from eeg-expy.

JohnGriffiths avatar JohnGriffiths commented on August 11, 2024

Ok. This is a known bug that occurs sometimes with muselsl streaming that has to do with asynchronous recording process initialization, and that we haven't managed to get a robust fix to yet unfortunately.

Sorry this has been a problem.

The data you have should be usable, the file just needs repairing. There is a function in the library for this:

https://github.com/NeuroTechX/eeg-notebooks/blob/a22501228677df0f968c49a0a699207380b1bd50/eegnb/analysis/utils.py#L530

usage ftom a python interpreter:

from eegnb analysis.utils import fix_musemissinglines

fpath = " " # path to the .csv file
fix_musemissinglines(fpath)

Which will create a new file with '_fml.csv' as suffix in the same folder.

Moving forward, you have two options:

  1. Continue as you have been, and applying this fix, to recorded files

  2. Switch streaming options

I highly recommend 2. The brainflow streaming options do not have this issue. You would give device option muse2_bfn ( bfn stands for BrainFlow with Native bluetooth hardware of your system, as opposed to brainflow with a BLED dongle which is '_bfb' ). The only reason why this isn't the only option listed is there are some unsolved brainflow issues with the newest windows 11 distributions. But you should try and see if this works on your comp.

What OS are you on?

from eeg-expy.

Liam-Noah avatar Liam-Noah commented on August 11, 2024

Hi again,
I'm on windows 10. I'll give brainflow a try since there are less bugs. Thanks for the tips !

Do you real time analysis with jupyter notebook aswell? Like a neurofeedback window with live parameters, to see how well you do on getting focused or calm .

from eeg-expy.

oreHGA avatar oreHGA commented on August 11, 2024

Hi @Liam-Noah , eeg-notebooks doesn't currently support realtime analysis but here are a couple links that could help

Some headsets like Neurosity has an api that can give you predictions every second of focus/calm

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.