Connectivity matrices are reshaped before saved in the TF field of the their .mat.
As such, if you want to carry out further processing outside of Brainstorm it is necessary to reshape them (connectivity matrix > TF field) and get them (TF > connectivity matrix). Check these posts about these links towards the documentation and related forum topics:
Documentation:
https://neuroimage.usc.edu/brainstorm/Tutorials/Connectivity#On_the_hard_drive
Related forum topics:
Hi,
I want to visualize the correlation matrix using the Matlab command "imagesc".
But, the matrix exported from Brainstorm to Matlab is a somewhat different matrix to visualize N x N matrix.
Here I am having
TF: [36856×1×100 double]
36856 indicates ch information
100 indicates frequency information from 1Hz to 100Hz.
The number of MEG channels is 271.
How can I visualize the 271x271 matrix at Frequency f.
conn =
struct with fields:
TF: [36856×1×100 double]
TFmask: […
I calculate the correlation matrix by the way NxN.
when I check the saved file content, I did not find a N*N matrix. instead of it, I find a variable TF , stored M * 1 matrix.
My question,
how you experts stored the correlation matrix? In which way?
where the pvalue associated with Correlation matrix is stored?
How the cohr and other connectivity metris store the results.
I tried to do further analysis , so I ask such question.
In fact, your software is user friendly and almost perfect.
…
Hanxiaoke:
Additionally, if I use the matrix processed by myself, can I change "'freqrange', [1, 80]" to "'freqrange', [4, 8]"?
You need to use values make sense for the field Freqs in the custom connectivity file