Gain Matrix

Hello Experts,

Sorry for asking the same question again, but I did not get a response to the previous post.

I need to get the gain matrix using MNE. I would have preferred to use MATLAB, but it seems that Python will work better because it has been more developed. So I am hoping to use Python and then copy the matrix results over to MATLAB. Could someone help me through this process?

.elc and .elc.rs3 are the formats of the electrode location files that I have.

And .cnt, .evt, .sen, and .trg are the formats of the EEG data that I have.

Thank you,
Isaiah Smith

hi,

this example shows you how to get access from Python to the gain matrix

http://martinos.org/mne/stable/auto_examples/plot_make_forward.html#example-plot-make-forward-py

assuming you have managed to compute a *-fwd.fif file for your data.

HTH
Alex

Thank you, Alexander,

I have made my BEM models, but I am having some trouble producing the EEG file in the .fif format because of the original format that I mentioned I had the info in previously. How can I get the data into the appropriate format. .cnt, .evt, .sen, and .trg are the formats of the EEG data that I have.

Isaiah Smith