neurosity / openbci-dashboard

A fullstack javascript app for capturing and visualizing OpenBCI EEG data
93 stars 23 forks source link

move filtering for bar charts to the backend #7

Closed andrewheusser closed 8 years ago

andrewheusser commented 8 years ago

Then we can organize the emit as an object with the different filtered bands + the mean over the whole spectrum. This will make plotting power in different freq bands on the topo really easy. happy to do it, just wanted to get your opinions first!

@alexcastillo @teonbrooks

andrewheusser commented 8 years ago

@alexcastillo where is EEGSpectrumUtils from? It's just one function, can I merge that function into the server code and get rid of it on the front end?

alexcastillo commented 8 years ago

@andrewheusser that's just a simple util I created: https://github.com/NeuroJS/openbci-dashboard/blob/master/app/lib/EEGSpectrumUtils.js

And yes, you can move to that to the node side.

alexcastillo commented 8 years ago

Fixed in #9