I made a head model in brainsuite and uploaded all the anatomy into brainstorm. I am not sure how to compute the forward model. I have a .loc file to upload electrode locations, but im not sure how to do that either.
I am trying to create a head model to use in neuropype for real time source localization neurofeedback. I'm not allowed to attach neuropypes head model and atlas below because i am a new user, but mine needs to be in the exact format. Neuropype told me they used brainstorm to create their head model, so i am hoping i can do the same! It is just the regular Colin-339ch-4495v-scalar-4shell-1.1.hm and the atlas Colin-339ch-4495v-scalar-4shell-1.1-atlas_labels.txt. Thanks very much!
In the functional side of the database: create a new folder, and import in it your .loc file (popup menu "Import channel file"). Not sure what your file looks like, but you should be able to find a file format that works.
Register/adjust the positions of the electrodes on the head surface (right-click on the channel file > MRI registration > Edit, read the tooltip of the toolbar buttons for help)
Right-click on the channel file > Compute head model
The export to this .hm file format, this is something you will have to write yourself. I looked at the file you sent by email, and it is simply a .mat file renamed in .hm. You will need to reorganize/rename the fields you get in the "head model" file created by Brainstorm and create this .hm structure.
Or if they've done it before, you can simply ask you neuropype friends to give you their code.
To post files on this forum: upload them somewhere else (dropbox, google drive,...) and post a download link here.
I uploaded my electrodes and fixed the positioning. I ran compute head model openMeegBEM, source space MRI volume (also it does not give me the option custom source model) and EEG is checked net to OpenMeeg BEM. Scalp, skull, brain verties are all correct. Checked is use adaptive integration. I click ok and get this error.
Error: OpenMEEG call: om_assemble -HM
** OpenMEEG error #1:
** om_assemble version 2.4.1 compiled at Aug 22 2018 19:47:28 using OpenMP
** Executing using 4 threads.
** | ------ om_assemble
** | -HM
** | C:\Users\EGI.brainstorm\tmp\openmeeg.geom
** | C:\Users\EGI.brainstorm\tmp\openmeeg.cond
** | C:\Users\EGI.brainstorm\tmp\openmeeg_hm.mat
** | -----------------------
** (DEPRECATED) Please consider updating your geometry file to the new format 1.1 (see data/README.rst): C:\Users\EGI.brainstorm\tmp\openmeeg.geom
** Interface "1" is not closed !
** Please correct a mesh orientation when defining the interface in the geometry file.
** For help with OpenMEEG errors, please refer to the online tutorial:
No, as the error message says "Interface "1" is not closed" there is a problem with your BEM surfaces. Are you trying to use surfaces that are not the ones that Brainstorm generated?
Please post a screen capture of the database explorer showing the anatomy files.
These are some tests we added very recently to correct for some possibly inaccurate results obtained with OpenMEEG. So new that they are not documented yet.
Right-click on the cortex surface > Force inside skull. This should get rid of the warning.
If you don't see this menu, update Brainstorm first.
I'm trying to configure my head model to be exported in the neuropype structure. Not sure how to do this, or where to find this information with the current head model that i made in brainstorm. Attached is a zip file of their head model and atlas, both of which i need.
I tried re-downloading brainstorm3 and the most recent openmeeg and it still will not work 9same error) I read on another forum that i need to change my geom file to 1.1, but i am not sure how to do that
The BEM layers are what is computed with the menu "Generate BEM surfaces" that you used.
They are named innerskull, outerskull and head. Display them all in the same figure, and change the transparencies and figures from the Surface tab.
Please post a screen capture showing these files in the database explorer as well.