subject2mni

Description

Transforms the simulation results stored in a mesh or nifti file to MNI space.

Usage example

  1. Open a simulation results folder, for example ernie/simu if you ran ernie_simu.mat

  2. Run

subject2mni -i ernie_TDCS_1_scalar.msh -m ../m2m_ernie/ -o ernie_TDCS_1

This will create the ernie_TDCS_1_MNI_E.nii.gz, ernie_TDCS_1_MNI_J.nii.gz, ernie_TDCS_1_MNI_magnE.nii.gz, and ernie_TDCS_1_MNI_magnJ.nii.gz files, with the fields transformed to MNI space.

Further notes

  • Type subject2mni -h for more information and options

  • This tool equivalent to selecting the Transform to MNI space option in the GUI or map_to_mni to true in the SESSION structure.