openbci-archive / OpenBCI_NodeJS

Node.js SDK for the all OpenBCI Biosensor Boards
https://www.npmjs.com/package/openbci
138 stars 50 forks source link

Simulate bio-like data #44

Closed alexcastillo closed 8 years ago

alexcastillo commented 8 years ago

Is there a way the simulated data can be more bio-like?

andrewjaykeller commented 8 years ago

Record a lot of bio data, store and read from it? I would be cool with using it as long as it is stored in 24-bit signed integers or we convert the floats to 24-bit signed integers.

andrewjaykeller commented 8 years ago

The main purpose of the simulator is for CI. So just want to make sure we are covered with the core functions.

andrewjaykeller commented 8 years ago

Ok i think we can do this. I've been thinking about it for a couple days and talked with @teonbrooks yesterday about it too. Seems like if we do a sum of sine waves that decrease in power as the frequency increases we should be able to simulate some brainwaves.

alexcastillo commented 8 years ago

I like the idea!

teonbrooks commented 8 years ago

we can make sure the time-frequency has the 1/f characteristic. that would help

andrewjaykeller commented 8 years ago

from a guy with 15+ years experience confirming teon: "1/f + a little bump around 10 Hz and you have a pretty realistic power spectrum"

@teonbrooks do you want to do this pr?

teonbrooks commented 8 years ago

yeah, I would like to do that.

andrewjaykeller commented 8 years ago

This issue is resolved with #56

andrewjaykeller commented 8 years ago

Will be in 0.3.4