func2tal-sess - resamples functional data from native to Talairach space


func2tal-sess -analysis <analysisname> -res <mm> -s <subjectname> or -sf <subjectfilename> -d <subjects_dir>


Positional Arguments


Required Flagged Arguments

-analysis name

name of functional analysis from which data is to be resampled

-s sessid or -sf sessidfile

subject name or name of text file containing list of subjects

-d srchdir or -df srchdirfile

name of subject directory

-res mm

talairach resolution in mm (1,2,4,8)

Optional Flagged Arguments

-funcstem stem

stem of functional volume to convert

-functype type

type of functional volume (<auto>,selxavg,selavg,raw,sfa)

-talstem stem

stem of talairiach volume

-reg file

path of registration file (funcdir/register.dat)

-xfm file

spec xfm file as found in subjid/mri/transforms


fix xfm for non-zero orig center

-umask umask

set umask


print version and exit


This will create a subdirectory called "tal" under the bold/analysisname directory for each session. Within this directory, two new volumes will be created with stems "h" and "h-offset". These are where the hemodynamic averages are stored. The dimensions of this volume will depend upon the resolution specified. Typically one uses 2 or 4 mm. The smaller the resolution, the larger the volume and the more disk space and processing time required. As a rule of thumb, the Talairach resolution should be about the same that of the underlying functional data.


Spatial normalization is the process through which two or more subjects' brains are aligned or registered based on anatomical information. This is so that when the subjects' functional data are averaged together on a voxel-by-voxel basis, the voxels represent the same anatomical location in each subject. The Talairach transform is the traditional spatial normalization technique. However, the spherical transform (for cortical surfaces) is also supported in the standard stream. Henceforth, the term space will be used to refer to the way in which the functional data has been spatially normalized (or resampled). There are three spaces that are supported in the standard stream: native (no resampling), Talairach, and spherical. Resampling is always done on data averaged in an analysis (ie, not the raw data).


Example 1

func2tal -analysis <analysisname> -sf <subjectfilename> -res 4



See Also



FreeSurfer, FsFast



Reporting Bugs

Report bugs to <>


DougGreve PhD