Calling SPM segentation with T1 and T2

Hi @edelaire

sorry for late reply,

I have started an advanced FEM tuto here, you can have a look
https://neuroimage.usc.edu/brainstorm/Tutorials/tutoFEMadvanced?highlight=(FEM)

Once the FEM mesh with SimNIbs is done, you will have the tissues in the database, and you can extract the surfaces of the FEM mesh easily (right click> extract surfaces). Then you can build any model you want.

You can also have a look at the headreco.py script from where the SPM-CAT batch is called, I think it can help you to reproduce and adapt your code from there.

@Francois

If I remember well, with SimNibs we don't need to reslice the volume, even more we don't need to co-register the T2 to the T1 from Braintorm, all these steps are handeled by SimNibs Headreco.
However, if we use the roast pipeline, I think reslicing is required either from Brainstorm or with adding an argument to the roast command line.