Giter Site home page Giter Site logo

Comments (5)

gerardklee avatar gerardklee commented on May 6, 2024

Screen Shot 2020-02-05 at 12 44 22 AM

Sorry, the code is here.

from labstreaminglayer.

cboulay avatar cboulay commented on May 6, 2024

We can't tell you what's in the stream. It's up to the sender to tell you. Try browsing the inlet.info().as_xml() contents to see if there's any information there.

If not, then ask whoever wrote the code to send the stream to please add that information to their stream metadata.

from labstreaminglayer.

gerardklee avatar gerardklee commented on May 6, 2024

Thank you @cboulay. I actually wrote the code. Would you explain more about "It's up to the sender to tell you what's in the stream"?

Basically, I did this trial for three minutes and got the values from the power bands expecting some increase over time in alpha waves (I had my eyes closed the entire trial). I plotted the csv file and could not really find any pattern. Could it be the electrodes being worn out that could lead to very random values?

from labstreaminglayer.

agricolab avatar agricolab commented on May 6, 2024

Dear @gerardklee, regarding

"It's up to the sender to tell you what's in the stream"?:

The outlet broadcasts information about itself. Besides the defaults (e.g. name, type), the creator can add additional fields. A suggestion list of additional infos for EEG is e.g. https://github.com/sccn/xdf/wiki/EEG-Meta-Data. By calling inlet.info().as_xml() you can inspect these fields.

Considering https://github.com/OpenBCI/OpenBCI_LSL/blob/master/lib/streamerlsl.py#L144, it seems the LSL Outlet will contain additional info, e.g. channel labels and units (i.e. ยตV). This suggests the data is samples. Looking at https://github.com/OpenBCI/OpenBCI_LSL/blob/master/lib/streamerlsl.py#L100 and https://github.com/OpenBCI/OpenBCI_LSL/blob/3134a1513c204834d66084491f104e6f236e440b/lib/open_bci_v3.py#L133, it also seems to be raw samples of EEG data, and not band power. This means, you would have to calculate the spectrum yourself. But you might get a definite answer if you ask there.

from labstreaminglayer.

gerardklee avatar gerardklee commented on May 6, 2024

Thank you very much @agricolab. I will try your suggestions!

from labstreaminglayer.

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.