Refactor all power band functions
jdpigeon opened this issue · 0 comments
jdpigeon commented
- Convert filterByRange to
sliceFFT
that slices an FFTBuffer based on an array of ranges given to it - Write
averagePower
operator that takes an FFTbuffer and returns the average power for each channel - Write alpha, beta, theta, etc.
Power
operators that performsliceFFT
andaveragePower
operators in sequence with predetermined ranges - Write
powerByBand
operators that returns an object with average band powers for all the classic EEG bands. Should also be able to take an object which defines names and ranges of custom bands
ex:{ delta: [c1, c2, c3, c4]. theta: [c1, c2, c3, c4], etc}