On the chart, the absolute average of all four items is calculated with the following function:
Code: Select all
function scaleBrainwaves(value){
return (value+1)*50;
}
Thank you.
Code: Select all
function scaleBrainwaves(value){
return (value+1)*50;
}
Wait, there is something I do not quite get here. If you changed the range of values, does that mean the bels units can still be used? Or should I remove the range conversion if I want to see the graph in its actual units?James wrote: ↑Tue Nov 05, 2019 8:48 am I do average the four sensors. The above is run after that.
It's just a linear scaling function to convert from a -1:+1 range to a more understandable 0:100 range.
The reason for this, is that it's just more understandable for the laymen when given numbers that go from 0 to 100.
The units are bels.