Hi there,
We noticed that when calculating the AEC on EEG data the diagonal of the matrix has values >0.2, why is that?
When we visualize the matrix in Brainstorm it seems like the diagonal is zero (the plotting function sets it to zero) but when we export the data and use them for our analysis the diagonal is far from zero. Can you explain why that is the case? How should we treat those values?

We export the matrix using the following: bst_memory('GetConnectMatrix', conn_file_extracted_from_Brainstorm)

The diagonal elements are forced to zero so only for display, so the off-diagonal values can be visualized properly instead of being scaled by the large values obtained in the connectivity matrix diagonal.

Lastly, today we added the option to make optional the zeroing of the diagonal when visualizing connectivity matrices. To get this option, just update Brainstorm.

Thanks for your reply.
My concern or question though is more: Why are the diagonal values different from zero? That is what is unclear to me. What are those values?