Hello!
I would like to know how to successfully import a head model that was previously generated and saved as a .mat file. The model was previously completed using standard brain templates and EEG 128 channel electrode distributions, and I am now faced with the same electrode distributions and would like to use this head model.
However, when I try to import the file into SUBJECT, only a line of icons representing the head model file appears, but it cannot be clicked to open and has no name. The structural specifics of the head model file are shown in the Figure. What do I need to change to make the import possible?
Looking forward to your reply and thank you very much!
If you are 100% percent the same template files are used when the head model was computed and for the target Subject, you can:
- Close Brainstorm
- Copy the headmodel_*.mat file directly in the target folder:
BRAINSTORM_DB/PROTOCOL/data/TARGETSUBJECT/CONDITION/
- Restart Brainstorm and reload the Protocol
Not sure what actions you are describing here, can you provide some screenshots?
It seems strange that the SurfaceFile
field does not contain the path to a surface file.
Did you manually modify it?
Thanks for the reply!
The screenshot shown below is what I got after loading the headmodel file into the subject, it was not available to use even though the corresponding icon has appeared.
About the SurfaceFile, actrually I don't have a specific surface file and I was told that '@default_subject' is enough. So do I need to load a surface file?
Anathor question is about the field 'Gain' in headmodel file, I found someone said that there should be a .bin file contents the matrix of 'Gain' instead of directly in headmodel file. I don't know if I have to change this.
Thanks again!
How did you import that head mode?
This is certainly wrong, a surface file is needed. Remember that the headmodel is associated with an specific Subject with Anatomy files. Head models will not work for different Subjects with different anatomies.
This is also incorrect, the gain for head models in Brainstorm is saved in the Gain
field in the head model file that is always a .mat
file
Sorry for the long delay in replying, I understand the importance of the surface file now and have obtained it.
I imported the headmodel as follows: copy the headmodel.mat and surface.mat in the subject's directory, then reloaded the subject, but it still doesn't work. May I ask what should I do to import it correctly?
Thanks!!