Brainstorm head model can't be copied and inverse computed
I would like to ask if I am calculating the epoch by other software and import it into brainstorm, when calculating the head model for the subjects, is it possible to generate one head model per subject? Now it seems that I need to generate one head model per epoch, which is very time-consuming when I have a large number of epochs.
It seems that brainstorm can copy the generated header model to other epoch or subject files, but it can't do the inverse operation after copying, and it reports the following error. Only after I recalculate the header model based on the new epoch, the inverse operation can be performed properly.
BST> Starting Brainstorm: BST> ================================= BST> Version: 24-Jun-2021 BST> Compiling main interface files... BST> Emptying temporary directory... BST> Deleting old process reports... BST> Loading configuration file... BST> Checking internet connectivity... ok BST> Initializing user interface... BST> Starting OpenGL engine... hardware BST> Reading process folder... BST> Loading current protocol... BST> ================================= BST_INVERSE (2018) > Modified Feb 2018 BST_INVERSE (2018) > NOTE: Cross Covariance between sensor modalities IS NOT CALCULATED in the noise covariance matrix BST_INVERSE > Rank of the 'EEG' channels, keeping 128 noise eigenvalues out of 128 original set BST_INVERSE > Using the 'diag' method of covariance regularization. BST_INVERSE > Covariance matrix reduced to diagonal. BST_INVERSE > Using 'fixed' surface orientations Error using svd Input to SVD must not contain NaN or Inf. Error in bst_inverse_linear_2018 (line 766) [UL,SL2] = svd((L*L')); Error in process_inverse_2018>Compute (line 656) [Results, OPTIONS] = bst_inverse_linear_2018(HeadModel, OPTIONS); Error in process_inverse_2018 (line 24) eval(macro_method); Error in panel_protocols>TreeInverse (line 1316) [OutputFiles, errMessage] = process_inverse_2018('Compute', iStudies, iDatas); Error in panel_protocols (line 44) eval(macro_method); Error in tree_callbacks>@(h,ev)panel_protocols('TreeInverse',bstNodes,'2018') (line 2563) gui_component('MenuItem', jPopup, , 'Compute sources ', IconLoader.ICON_RESULTS, , @(h,ev)panel_protocols('TreeInverse', bstNodes, '2018'));