Roi wts

From MEG Core
Revision as of 14:35, 5 March 2019 by Nugenta (talk | contribs) (Created page with " Return to Source Localization - SAM ==Description== The purpose of roi_wts is to leverage the orientation information from the FreeSurfer par...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Return to Source Localization - SAM

Description

The purpose of roi_wts is to leverage the orientation information from the FreeSurfer parcellation of the brain when solving for the beamformer weights. Normally, in a SAM analysis, the orientations calculated by solving the linear eigensystem equations and choosing the vector that gives the largest S/N. In roi_wts, the cortical normal vector is used instead. It is of paramount importance that the registration of the MEG and MRI are accurate. Thus, this program should only be run if you have already run sam_coreg. Obviously, one must have run FreeSurfer before running this program.

roi_wts uses the Nolte (realistic) head model, and will ignore other specifications of the Model parameter. By default, a 20th order harmonic expansion of the hull is used.

 roi_wts -r <dataset_name> -m <parameter_file_name> [options]

The -r flag designates the dataset name (with or without the .ds suffix), and -m designates the parameter file name.

Other options:

 -v  Verbose mode, without this flag sam_wts works silently except for error messages
 -h  Show help

Required Parameters (in the .param file or on the command line):


Optional Parameters:

 MRIDirectory: Specify where to locate the necessary MRI files
 PrefixLength: Specify characters used for identifying MRI and headmodel files.