Dear Giuseppe,
Z-current obtained with the reduced model corresponds to J-current of the original model such as J=WZ, where W is a Gaussian smoothing matrix. In the case of your analysis, size(Z,1)=4004.
The following explanation may help you to find vertices of the reduced model corresponding to the original model.
---
!! How do I get the original vertex indices for estimation results with reduce parameter less than 1?
- If you performed current estimation with a vertex reduction parameter <1, you may want to get vertex indices for the reduced vertices. Specifically, cortical current estimation with the reduced vertices use the equation J=WZ, where J is the cortical current, W is the smoothing matrix, and Z is the auxiliary variable. You can transform Z to J using the following MATLB code:
{{{
V = vb_load_cortex('your_brain_file.brain.mat');
Jinfo = vb_load_current_info('your_current_file.curr.mat');
W = Jinfo.Wact;
T = 100; % number of time points
I = size(V,1); % number of vertices of the original model
I_ext = size(W,1); % note: it can be different with size(V,1) because the maximum radius of the smoothing filter can not be large enough to cover the cortical region
I_act = size(W,2);
Z = rand(I_act,T); % pseudo data on the reduced model
J = zeros(I,T);
ix_trans = (I_ext,1);
ix_trans(1:I_ext,:) = Jinfo.ix_act_ex;
J(ix_trans,:) = W*Z; % transformation from reduced model to the original model
}}}
Note that size(W,2) can be less than size(J,1) (==I). It means that W can include only a subset of the whole cortical model. To compensate this inconsistency, here, indices are transformed via variable ix_trans.
---
Taku
---
Taku Yoshioka
tak...@atr.jp