Last active
March 17, 2021 17:09
-
-
Save britta-wstnr/d3e2294da63f6f9fc5a3dd958625c794 to your computer and use it in GitHub Desktop.
Hilbert beamformer pipeline
Hi @zuxfoucault! Thanks for your question - I am so sorry, I did not see it until now!
So, the reason to take the absolute value is to get the amplitude (= Hilbert envelope) of the signal, which we want to plot.
BTW, this gist is outdated - I just updated it here: https://gist.github.com/britta-wstnr/12ec1723eaf8aab875fc400aafd9ce85
And hopefully soon we will have it available as an example in MNE-Python as well!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the great work!
Why the stc.data need to take the absolute value in
# 7. compute Hilbert envelope
?