Hello Brainstorm users,
I am trying to look at the goodness of fit between the dipole that I have simulated in Brainstorm( I also have the predicted EEG/MEG sensor reconstruction obtained from the simulated dipole). I want to compare it with the actual EEG/MEG recording of the patient that I have. I want to be able to do it through scripting but don't know how. Could anyone help me with how I can compute the goodness of fit through scripts?