[FieldTrip] Mesh with FEM model

Johannes Vorwerk j.vorw01 at gmail.com
Thu Jul 18 22:42:16 CEST 2024


Dear Sara,

indeed, the only option to create a mesh for a FEM computation from a segmented MRI within FieldTrip is a hexahedral mesh. However, there are many options nowadays that easily allow you to create a tetrahedral head model outside of Fieldtrip (e.g., SimNIBS or ROAST). If you import a mesh created with one of these tools to matlab and bring it to the right format for FieldTrip (matlab struct as defined for a hexahedral mesh, but needs to have a field tet instead of hex and the tissues and conductivities defined according to your mesh), starting from ft_prepare_headmodel the pipeline described on https://www.fieldtriptoolbox.org/workshop/ohbm2018/forward/ should work for example.

However, please consider that the officially documented pipeline is for hexahedral head models. Most functions should also work for tetrahedral head models, but this functionality is not officially documented and therefore also not regularly tested.

Best,
    Johannes

From: fieldtrip <fieldtrip-bounces at science.ru.nl> on behalf of Sara Cinelli via fieldtrip <fieldtrip at science.ru.nl>
Reply to: FieldTrip discussion list <fieldtrip at science.ru.nl>
Date: Thursday, 18. July 2024 at 12:40
To: "fieldtrip at science.ru.nl" <fieldtrip at science.ru.nl>
Cc: Sara Cinelli <sara.cinelli at studenti.unipd.it>
Subject: [FieldTrip] Mesh with FEM model

Hello everyone,
I would like to make a question regarding the type of meshes that can be done starting from a segmented mri with a FEM model.
I tried with hexahedral and it is ok, butwith tetrahedral it doesn't work.
In this page: https://www.fieldtriptoolbox.org/tutorial/headmodel_eeg_fem/#meshing, I read these lines: At the moment FieldTrip-SIMBIO only supports hexahedra.
It is not very clear to me if this means that the only option I have to create a mesh form a FEM model is with hexahedra only.

Thanks,

Sara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20240718/7d3a3202/attachment.htm>


More information about the fieldtrip mailing list