How to best calculate the "Touching Forehead" variable from Raw EEG data?

Hi there, I started to use Bluemuse as it also supports the Muse2 PPG sensor data and LSL. Works pretty well, but right now I am struggling about how to best calculate the “Touching Forehead” variable from the raw or DFT processes EEG data. Do you have any ideas how it could work or how Muse does it?


You can’t get the same result, but can emulate it, see my code here:

1 Like

Oori thanks a lot for the link, thats a great help!