To get the correct formatting, paste your Python code, then select it, and click on the Preformatted text toolbar button.
Please avoid sharing screenshots of code and error messages! Screenshots are difficult to work with especially on mobile devices; they donβt allow others to copy code and other text; and they donβt show up in the search.
Please edit or remove the above text before submitting your posting.
Could not find Amplitude correlation connectivity measure. Pls if anyone can help with how to compute amplitude correlation measure between set of electrodes, it would be really useful. Thanks
Could not find Amplitude correlation connectivity measure. I have to compute amplitude correlation measure between set of electrodes, it would be really useful if links to some resources can be shared. Thanks
Can you post a journal reference to the technique you are looking for? The hilbert envelope (referenced in the link) is the time resolved Amplitude of the band pass signal. Then you do correlation on the envelope amplitude to get your connectivity measure - hence Amplitude Envelope Correlation. I believe it is what you are looking for - but I could be wrong.
Regarding the connectivity between electrodes - I think you can do all of the steps except the things involved with the MRI (so ignore coreg/forward model and anything with stc and labels).
Just substitute epochs for stc/label_ts and it seems to run without error on a random dataset I tried it on.