alexandrebarachant / muse-lsl

Python script to stream EEG data from the muse 2016 headset
BSD 3-Clause "New" or "Revised" License
627 stars 183 forks source link

EEG filtering in neurofeedback.py via utils.py #164

Closed sunshineinsandiego closed 3 years ago

sunshineinsandiego commented 3 years ago

Hi - Thanks for the helpful neurofeedback code, wondering if you could answer a quick question about the implementation:

In line 22 of utils.py:

NOTCH_B, NOTCH_A = butter(4, np.array([55, 65]) / (256 / 2), btype='bandstop')

Thanks!

oori commented 3 years ago

AC line frequency in the US (60Hz).

sunshineinsandiego commented 3 years ago

Got it thanks!