Table of Contents

Index of configuration options

A detailed description of each function is available in the reference documentation.

This index to the reference documentation is automatically generated from the Matlab code every day. Therefore you should not edit this pages manually, since your changes would be overwritten automatically. If you want to suggest corrections to the documentation, please send them by email to the mailing list or to one of the main developers (see contact).

A

cfg.absnoise ft_dipolesimulation
add noise with absolute level

cfg.alim ft_rejectvisual
value that determines the amplitude scaling for the channel and trial display, if empty then the amplitude scaling is automatic (default = [])

cfg.alpha ft_sliceinterp
value between 0 and 1 or 'adaptive' (default)

cfg.alphaparam ft_topoplotCC
string, parameter to be used to control the opacity

cfg.anaparameter ft_sourceplot
string, field in data with the anatomical data (default = 'anatomy' if present in data)

cfg.arrowhead ft_topoplotCC
none, stop, start, both (default = 'none') cfg.arrowsize = size of the arrow head (default = automatic) cfg.arrowoffset = amount that the arrow is shifted to the side (default = automatic) cfg.arrowlength = amount by which the length is reduced (default = 0.8)

cfg.artfctdef.clip.channel ft_artifact_clip
Nx1 cell-array with selection of channels, see FT_CHANNELSELECTION for details

cfg.artfctdef.clip.pretim ft_artifact_clip
0.000; pre-artifact rejection-interval in seconds

cfg.artfctdef.clip.psttim ft_artifact_clip
0.000; post-artifact rejection-interval in seconds

cfg.artfctdef.clip.thresh ft_artifact_clip
0.010; minimum duration in seconds of a datasegment with consecutive identical samples to be considered as 'clipped'

cfg.artfctdef.ecg.channel ft_artifact_ecg
Nx1 cell-array with selection of channels, see FT_CHANNELSELECTION for details

cfg.artfctdef.ecg.cutoff ft_artifact_ecg
3; peak-threshold

cfg.artfctdef.ecg.inspect ft_artifact_ecg
Nx1 list of channels which will be shown in a QRS-locked average

cfg.artfctdef.ecg.method ft_artifact_ecg
'zvalue'; peak-detection method

cfg.artfctdef.ecg.pretim ft_artifact_ecg
0.05; pre-artifact rejection-interval in seconds

cfg.artfctdef.ecg.psttim ft_artifact_ecg
0.3; post-artifact rejection-interval in seconds

cfg.artfctdef.eog.artifact ft_rejectartifact
Nx2 matrix with artifact segments, this is added to the cfg by using FT_ARTIFACT_EOG

cfg.artfctdef.eog.artpadding ft_artifact_eog
0.1

cfg.artfctdef.eog.bpfilter ft_artifact_eog
'yes'

cfg.artfctdef.eog.bpfiltord ft_artifact_eog
4

cfg.artfctdef.eog.bpfilttype ft_artifact_eog
'but'

cfg.artfctdef.eog.bpfreq ft_artifact_eog
[1 15]

cfg.artfctdef.eog.channel ft_artifact_eog
Nx1 cell-array with selection of channels, see FT_CHANNELSELECTION for details

cfg.artfctdef.eog.cutoff ft_artifact_eog
4 z-value at which to threshold

cfg.artfctdef.eog.fltpadding ft_artifact_eog
0.1

cfg.artfctdef.eog.hilbert ft_artifact_eog
'yes'

cfg.artfctdef.eog.trlpadding ft_artifact_eog
0.5

cfg.artfctdef.feedback ft_rejectartifact
'yes' or 'no' (default = 'no')

cfg.artfctdef.jump.absdiff ft_artifact_jump
'yes'

cfg.artfctdef.jump.artifact ft_rejectartifact
Nx2 matrix with artifact segments, this is added to the cfg by using FT_ARTIFACT_JUMP

cfg.artfctdef.jump.artpadding ft_artifact_jump
automatically determined based on the filter padding (cfg.padding)

cfg.artfctdef.jump.channel ft_artifact_jump
Nx1 cell-array with selection of channels, see FT_CHANNELSELECTION for details

cfg.artfctdef.jump.cutoff ft_artifact_jump
20 z-value at which to threshold

cfg.artfctdef.jump.medianfilter ft_artifact_jump
'yes'

cfg.artfctdef.jump.medianfiltord ft_artifact_jump
9

cfg.artfctdef.jump.trlpadding ft_artifact_jump
automatically determined based on the filter padding (cfg.padding)

cfg.artfctdef.manual.blc ft_artifact_manual
'no' (default) or 'yes' apply baseline correction

cfg.artfctdef.manual.bpfilter ft_artifact_manual
'no' (default) or 'yes' apply bandpass filter

cfg.artfctdef.manual.bpfiltord ft_artifact_manual
2

cfg.artfctdef.manual.bpfreq ft_artifact_manual
[0.3 30] in Hz

cfg.artfctdef.manual.channel ft_artifact_manual
cell-array with channels to be displayed. (Be careful not to specify to much channels because the function then will be very slow.)

cfg.artfctdef.manual.fft ft_artifact_manual
'no' (default) or 'yes' turns on FFT window

cfg.artfctdef.manual.padding ft_artifact_manual
'no' (default) or FFT-padding in seconds

cfg.artfctdef.manual.posttrialtime ft_artifact_manual
time shown after trialend (default 0)

cfg.artfctdef.manual.pretrialtime ft_artifact_manual
time shown before trialstart (default 0)

cfg.artfctdef.manual.timeaxrelative ft_artifact_manual
'yes' (default) or 'no'.

cfg.artfctdef.minaccepttim ft_rejectartifact
length in seconds (default = 0.1)

cfg.artfctdef.muscle.artifact ft_rejectartifact
Nx2 matrix with artifact segments, this is added to the cfg by using FT_ARTIFACT_MUSCLE

cfg.artfctdef.muscle.artpadding ft_artifact_muscle
0.1

cfg.artfctdef.muscle.boxcar ft_artifact_muscle
0.2

cfg.artfctdef.muscle.bpfilter ft_artifact_muscle
'yes'

cfg.artfctdef.muscle.bpfiltord ft_artifact_muscle
10

cfg.artfctdef.muscle.bpfilttype ft_artifact_muscle
'but'

cfg.artfctdef.muscle.bpfreq ft_artifact_muscle
[110 140]

cfg.artfctdef.muscle.channel ft_artifact_muscle
Nx1 cell-array with selection of channels, see FT_CHANNELSELECTION for details

cfg.artfctdef.muscle.cutoff ft_artifact_muscle
4 z-value at which to threshold

cfg.artfctdef.muscle.fltpadding ft_artifact_muscle
0.1

cfg.artfctdef.muscle.hilbert ft_artifact_muscle
'yes'

cfg.artfctdef.muscle.trlpadding ft_artifact_muscle
0.1

cfg.artfctdef.reject ft_rejectartifact
'none', 'partial' or 'complete' (default = 'complete')

cfg.artfctdef.threshold.bpfilter ft_artifact_threshold
'no' or 'yes'

cfg.artfctdef.threshold.bpfiltord ft_artifact_threshold
4

cfg.artfctdef.threshold.bpfreq ft_artifact_threshold
[0.3 30]

cfg.artfctdef.threshold.channel ft_artifact_threshold
cell-array with channel labels

cfg.artfctdef.threshold.max ft_artifact_threshold
value in uV/T, default inf

cfg.artfctdef.threshold.min ft_artifact_threshold
value in uV/T, default -inf

cfg.artfctdef.threshold.range ft_artifact_threshold
value in uV/T, default inf

cfg.artfctdef.xxx.artifact ft_databrowser
Nx2 matrix with artifact segments see FT_ARTIFACT_xxx functions

cfg.artfctdef.xxx.artifact ft_rejectartifact
Nx2 matrix with artifact segments, this should be added by your own artifact detection function

cfg.artfctdef.zvalue.artifact ft_rejectartifact
Nx2 matrix with artifact segments, this is added to the cfg by using FT_ARTIFACT_ZVALUE

cfg.artfctdef.zvalue.artpadding ft_artifact_zvalue

cfg.artfctdef.zvalue.blc ft_artifact_zvalue
'no' or 'yes'

cfg.artfctdef.zvalue.blcwindow ft_artifact_zvalue
[begin end] in seconds, the default is the complete trial

cfg.artfctdef.zvalue.bpfilter ft_artifact_zvalue
'no' or 'yes' bandpass filter

cfg.artfctdef.zvalue.bpfiltord ft_artifact_zvalue
bandpass filter order

cfg.artfctdef.zvalue.bpfilttype ft_artifact_zvalue
digital filter type, 'but' (default) or 'fir'

cfg.artfctdef.zvalue.bpfreq ft_artifact_zvalue
bandpass frequency range, specified as [low high] in Hz

cfg.artfctdef.zvalue.channel ft_artifact_zvalue

cfg.artfctdef.zvalue.cutoff ft_artifact_zvalue

cfg.artfctdef.zvalue.detrend ft_artifact_zvalue
'no' or 'yes'

cfg.artfctdef.zvalue.dftfilter ft_artifact_zvalue
'no' or 'yes' line noise removal using discrete fourier transform

cfg.artfctdef.zvalue.fltpadding ft_artifact_zvalue

cfg.artfctdef.zvalue.hilbert ft_artifact_zvalue
'no' or 'yes'

cfg.artfctdef.zvalue.hpfilter ft_artifact_zvalue
'no' or 'yes' highpass filter

cfg.artfctdef.zvalue.hpfiltord ft_artifact_zvalue
highpass filter order

cfg.artfctdef.zvalue.hpfilttype ft_artifact_zvalue
digital filter type, 'but' (default) or 'fir'

cfg.artfctdef.zvalue.hpfreq ft_artifact_zvalue
highpass frequency in Hz

cfg.artfctdef.zvalue.lnfilter ft_artifact_zvalue
'no' or 'yes' line noise removal using notch filter

cfg.artfctdef.zvalue.lnfiltord ft_artifact_zvalue
line noise notch filter order

cfg.artfctdef.zvalue.lnfreq ft_artifact_zvalue
line noise frequency in Hz, default 50Hz

cfg.artfctdef.zvalue.lpfilter ft_artifact_zvalue
'no' or 'yes' lowpass filter

cfg.artfctdef.zvalue.lpfiltord ft_artifact_zvalue
lowpass filter order

cfg.artfctdef.zvalue.lpfilttype ft_artifact_zvalue
digital filter type, 'but' (default) or 'fir'

cfg.artfctdef.zvalue.lpfreq ft_artifact_zvalue
lowpass frequency in Hz

cfg.artfctdef.zvalue.medianfilter ft_artifact_zvalue
'no' or 'yes' jump preserving median filter

cfg.artfctdef.zvalue.medianfiltord ft_artifact_zvalue
length of median filter

cfg.artfctdef.zvalue.rectify ft_artifact_zvalue
'no' or 'yes'

cfg.artfctdef.zvalue.trlpadding ft_artifact_zvalue

cfg.asymmetry ft_freqsimulation
amount of asymmetry (default = 0, which is none)

cfg.atlas ft_sourcestatistics
filename of the atlas

cfg.atlas ft_sourceplot
string, filename of atlas to use (default = []) SEE FT_PREPARE_ATLAS for ROI masking (see “masking” below) or in interactive mode (see “ortho-plotting” below)

cfg.atlas ft_volumelookup, ft_volumelookup
string, filename of atlas to use, either the AFNI brik file that is available from http://afni.nimh.nih.gov/afni/doc/misc/ttatlas_tlrc, or the WFU atlasses available from http://fmri.wfubmc.edu. see FT_PREPARE_ATLAS

cfg.avgoverchan ft_freqstatistics, ft_timelockstatistics
'yes' or 'no' (default = 'no')

cfg.avgoverfreq ft_freqstatistics
'yes' or 'no' (default = 'no')

cfg.avgoverroi ft_sourcestatistics
'yes' or 'no' (default = 'no')

cfg.avgovertime ft_freqstatistics, ft_timelockstatistics
'yes' or 'no' (default = 'no')

cfg.axis ft_sourceplot
'on' or 'off' (default = 'on')

B

cfg.badchannel ft_channelrepair
cell-array, see FT_CHANNELSELECTION for details

cfg.baseline ft_topoplotER
'yes','no' or [time1 time2] (default = 'no'), see FT_TIMELOCKBASELINE or FT_FREQBASELINE

cfg.baseline ft_freqbaseline, ft_timelockbaseline
[begin end] (default = 'no')

cfg.baseline ft_prepare_localspheres
number, baseline of axial/planar gradiometer (default = 5 cm)

cfg.baselinetype ft_freqbaseline, ft_freqcomparison
'absolute' 'relchange' 'relative' (default = 'absolute')

cfg.baselinetype ft_topoplotER
'absolute' or 'relative' (default = 'absolute')

cfg.begsample ft_redefinetrial
single number or Nx1 vector, expressed in samples relative to the start of the input trial

cfg.binica ft_componentanalysis
substructure with additional low-level options for this method

cfg.blc ft_componentanalysis
'no' or 'yes' (default = 'yes')

cfg.blc ft_resampledata
'no' or 'yes', baseline correct the data prior to resampling (default = 'no')

cfg.blc ft_preprocessing
'no' or 'yes', whether to apply baseline correction (default = 'no')

cfg.blc ft_mvaranalysis
'yes' (default) or 'no' explicit removal of DC-offset

cfg.blc ft_combineplanar
'yes' or 'no' (default)

cfg.blcovariance ft_timelockanalysis
'no' or 'yes'

cfg.blcovariancewindow ft_timelockanalysis
[begin end]

cfg.blcwindow ft_timelockbaseline

cfg.blcwindow ft_combineplanar
[begin end]

cfg.blcwindow ft_preprocessing
[begin end] in seconds, the default is the complete trial (default = 'all')

cfg.blocksize ft_databrowser
number (in seconds), only aplicable if data contains only 1 (long) trial

cfg.bootstrap ft_sourceanalysis
'no' or 'yes' bootstrap resampling of trials

cfg.box ft_volumelookup
Nx3 vector, size of each box in cm/mm dep on unit of input

cfg.boxcar ft_rejectvisual
0.2

cfg.bpfilter ft_preprocessing
'no' or 'yes' bandpass filter (default = 'no')

cfg.bpfilter ft_rejectvisual, ft_rejectvisual
'yes'

cfg.bpfilter ft_connectivitysimulation
'yes' (or 'no')

cfg.bpfiltord ft_rejectvisual
10

cfg.bpfiltord ft_rejectvisual
4

cfg.bpfiltord ft_preprocessing
bandpass filter order (default = 4)

cfg.bpfilttype ft_rejectvisual, ft_rejectvisual
'but'

cfg.bpfilttype ft_preprocessing
digital filter type, 'but' or 'fir' (default = 'but')

cfg.bpfreq ft_rejectvisual
[1 15]

cfg.bpfreq ft_rejectvisual
[110 140]

cfg.bpfreq ft_connectivitysimulation
[bplow bphigh]

cfg.bpfreq ft_preprocessing
bandpass frequency range, specified as [low high] in Hz

cfg.bsfilter ft_preprocessing
'no' or 'yes' bandstop filter (default = 'no')

cfg.bsfiltord ft_preprocessing
bandstop filter order (default = 4)

cfg.bsfilttype ft_preprocessing
digital filter type, 'but' or 'fir' (default = 'but')

cfg.bsfreq ft_preprocessing
bandstop frequency range, specified as [low high] in Hz

cfg.bw ft_prepare_layout
if an image is used and bw = 1 transforms the image in black and white (default = 0, do not transform)

C

cfg.calibration ft_spikedownsample
optional scaling factor to apply to the data to convert it in uV, see below

cfg.camlight ft_sourceplot
'yes' or 'no' (default = 'yes')

cfg.casesensitive ft_electroderealign
'yes' or 'no', determines whether string comparisons between electrode labels are case sensitive (default = 'yes')

cfg.channel ft_mvaranalysis
'all' (default) or list of channels for which the model is fitted.

cfg.channel ft_megplanar
Nx1 cell-array with selection of channels (default = 'MEG'), see FT_CHANNELSELECTION for details

cfg.channel ft_dipolefitting, ft_dipolesimulation, ft_electroderealign, ft_freqanalysis_mtmconvol, ft_freqanalysis_mtmfft, ft_freqanalysis_mtmwelch, ft_freqanalysis_tfr, ft_freqanalysis_wltconvol, ft_freqdescriptives, ft_freqgrandaverage, ft_freqstatistics, ft_prepare_leadfield, ft_preprocessing, ft_rejectvisual, ft_sourceanalysis, ft_spikedownsample, ft_spikesplitting, ft_spiketriggeredaverage, ft_spiketriggeredinterpolation, ft_spiketriggeredspectrum, ft_timelockanalysis, ft_timelockgrandaverage, ft_timelockstatistics
Nx1 cell-array with selection of channels (default = 'all'), see FT_CHANNELSELECTION for details

cfg.channel ft_databrowser
cell-array with channel labels, see FT_CHANNELSELECTION

cfg.channel ft_componentanalysis, ft_spikesorting
cell-array with channel selection (default = 'all'), see FT_CHANNELSELECTION for details

cfg.channel ft_headmodelplot, ft_timelockbaseline
cell-array, see FT_CHANNELSELECTION

cfg.channelcmb ft_freqanalysis_mtmconvol, ft_freqanalysis_mtmfft, ft_freqanalysis_mtmwelch, ft_freqanalysis_wltconvol
Mx2 cell-array with selection of channel pairs (default = {'all' 'all'}), see FT_CHANNELCOMBINATION for details

cfg.channelcmb ft_lateralizedpotential
Nx2 cell array

cfg.channelcmb ft_spikeanalysis
cell-array, see FT_CHANNELCOMBINATION cfg.bpfilter = 'no' or 'yes' bandpass filter cfg.bpfreq = bandpass frequency range, specified as [low high] in Hz cfg.bpfiltord = bandpass filter order

cfg.channelcmb ft_channelcombination
{ 'EMG' 'MEG' };

cfg.channelcmb ft_channelcombination
{ 'EMG' 'MLF31' 'EMG' 'MLF32' 'EMG' 'MLF33' };

cfg.channelcmb ft_channelcombination
{ 'MEG' 'MEG' };

cfg.channelcmb ft_lateralizedpotential
{'Fp1' 'Fp2' 'F7' 'F8' 'F3' 'F4' 'T7' 'T8' 'C3' 'C4' 'P7' 'P8' 'P3' 'P4' 'O1' 'O2'}

cfg.channelcolormap ft_databrowser
COLORMAP (default = customized lines map with 15 colors)

cfg.channelprefix ft_spikedownsample
string, will be added to channel name, e.g. 'lfp' → 'lfp_ncs001' (default = [])

cfg.clim ft_volumerealign
[min max], scaling of the anatomy color (default is to adjust to the minimum and maximum)

cfg.clipmax ft_sliceinterp
value or 'auto' (clipping of source data)

cfg.clipmin ft_sliceinterp
value or 'auto' (clipping of source data)

cfg.clipsym ft_sliceinterp
'yes' or 'no' (default) symmetrical clipping

cfg.cohmethod ft_sourcedescriptives
'regular', 'lambda1', 'canonical'

cfg.cohrefchannel ft_topoplotER
name of reference channel for visualising coherence, can be 'gui'

cfg.colmax ft_sliceinterp
source value mapped to the highest color (default = 'auto')

cfg.colmin ft_sliceinterp
source value mapped to the lowest color (default = 'auto')

cfg.colorbar ft_topoplotER
'yes' 'no' (default) 'North' inside plot box near top 'South' inside bottom 'East' inside right 'West' inside left 'NorthOutside' outside plot box near top 'SouthOutside' outside bottom 'EastOutside' outside right 'WestOutside' outside left

cfg.colorbar ft_sourceplot
'yes' or 'no' (default = 'yes')

cfg.colorgroups ft_databrowser
'sequential' 'labelcharx' (x = xth character in label), 'chantype' or vector with length(data/hdr.label) defining groups (default = 'sequential')

cfg.colormap ft_topoplotER
any sized colormap, see COLORMAP

cfg.colormap ft_sliceinterp
colormap for source overlay (default is jet(128))

cfg.colorparam ft_topoplotCC
string, parameter to be used to control the line color

cfg.combinegrad ft_combineplanar
'yes'

cfg.comment ft_topoplotER
string 'no' 'auto' or 'xlim' (default = 'auto') 'auto': date, xparam and zparam limits are printed 'xlim': only xparam limits are printed

cfg.commentpos ft_topoplotER
string or two numbers, position of comment (default 'leftbottom') 'lefttop' 'leftbottom' 'middletop' 'middlebottom' 'righttop' 'rightbottom' 'title' to place comment as title 'layout' to place comment as specified for COMNT in layout [x y] coordinates

cfg.component ft_dipolefitting
array with numbers (can be empty → all)

cfg.component ft_rejectcomponent
list of components to remove, e.g. [1 4 7]

cfg.conductivity ft_prepare_concentricspheres
[0.3300 1 0.0042 0.3300] [vol, cfg] = prepare_concentricspheres(cfg)

cfg.conductivity ft_prepare_bemmodel
[Cskin Cskull Cbrain]

cfg.conductivity ft_scalpcurrentdensity
conductivity of the skin (default = 0.33 S/m)

cfg.conductivity ft_prepare_concentricspheres
conductivity values for the model (default = [0.3300 1 0.0042 0.3300])

cfg.continuous ft_artifact_zvalue

cfg.continuous ft_artifact_clip, ft_artifact_ecg, ft_artifact_eog, ft_artifact_jump, ft_artifact_manual, ft_artifact_muscle, ft_artifact_threshold, ft_databrowser
'yes' or 'no' whether the file contains continuous data

cfg.continuous ft_preprocessing
'yes' or 'no' whether the file contains continuous data (default is determined automatic)

cfg.coordinates ft_volumenormalise, ft_volumesegment, ft_volumewrite
'spm, 'ctf' or empty for interactive (default = [])

cfg.covariance ft_timelockanalysis
'no' or 'yes'

cfg.covariancewindow ft_timelockanalysis
[begin end]

cfg.covmat ft_connectivitysimulation
covariance matrix between the signals

cfg.crosshair ft_sourceplot
'yes' or 'no' (default = 'yes')

D

cfg.datafile ft_artifact_zvalue

cfg.datafile ft_preprocessing
string with the filename

cfg.dataformat ft_spikedetection
string with the output dataset format, see FT_WRITE_FCDC_SPIKE

cfg.dataformat ft_spikedownsample
string with the output dataset format, see WRITE_DATA

cfg.dataset ft_artifact_clip, ft_artifact_eog, ft_artifact_jump, ft_artifact_muscle, ft_artifact_threshold
cfg.headerfile and cfg.datafile

cfg.dataset ft_artifact_clip, ft_artifact_ecg, ft_artifact_eog, ft_artifact_jump, ft_artifact_manual, ft_artifact_muscle, ft_artifact_threshold, ft_databrowser
or both cfg.headerfile and cfg.datafile

cfg.dataset ft_preprocessing
string with the filename

cfg.dataset ft_spikedetection, ft_spikedownsample
string with the input dataset

cfg.dataset ft_spikefixdmafile, ft_spikesplitting
string with the name of the DMA log file

cfg.datatype ft_artifact_zvalue

cfg.datatype ft_volumewrite
'bit1', 'uint8', 'int16', 'int32', 'float' or 'double'

cfg.delay ft_connectivitysimulation
delay vector between the signals in samples

cfg.derivative ft_preprocessing
'no' or 'yes', computes the first order derivative of the data (default = 'no')

cfg.detrend ft_resampledata
'no' or 'yes', detrend the data prior to resampling (no default specified, see below)

cfg.detrend ft_preprocessing
'no' or 'yes', this is done on the complete trial (default = 'no')

cfg.dftfilter ft_preprocessing
'no' or 'yes' line noise removal using discrete fourier transform (default = 'no')

cfg.dftfreq ft_preprocessing
line noise frequencies in Hz for DFT filter (default = [50 100 150])

cfg.dim ft_sliceinterp
integer value, default is 3 (dimension to slice)

cfg.dip.frequency ft_dipolesimulation
in Hz

cfg.dip.mom ft_dipolesimulation
[Qx Qy Qz]

cfg.dip.phase ft_dipolesimulation
in radians

cfg.dip.pos ft_dipolesimulation
[Rx Ry Rz]

cfg.dip.pos ft_dipolefitting
initial dipole position, matrix of Ndipoles x 3

cfg.dip.signal ft_dipolesimulation

cfg.dipfit.display ft_dipolefitting
level of display, can be 'off', 'iter', 'notify' or 'final' (default = 'iter')

cfg.dipfit.maxiter ft_dipolefitting
maximum number of function evaluations allowed (default depends on the optimfun)

cfg.dipfit.optimfun ft_dipolefitting
function to use, can be 'fminsearch' or 'fminunc' (default is determined automatic)

cfg.distmat ft_sourceplot
precomputed distance matrix (default = [])

cfg.downsample ft_prepare_mesh
2; bnd = prepare_mesh(cfg, mri);

cfg.downsample ft_sourceplot
downsampling for resolution reduction, integer value (default = 1) (orig: from surface)

cfg.downsample ft_prepare_mesh
integer (1,2, …) defines the level of refinement of the mri data

cfg.downsample ft_sourceinterpolate, ft_volumedownsample, ft_volumenormalise, ft_volumewrite
integer number (default = 1, i.e. no downsampling)

cfg.downsample ft_freqanalysis_tfr
ratio for downsampling, which occurs after convolution (default = 1)

cfg.downscale ft_spikesplitting
single number or vector (for each channel), corresponding to the number of bits removed from the LSB side (default = 0)

cfg.dss ft_componentanalysis
substructure with additional low-level options for this method

E

cfg.ecgscale ft_databrowser, ft_rejectvisual
number, scaling to apply to the ECG channels prior to display

cfg.eegscale ft_databrowser, ft_rejectvisual
number, scaling to apply to the EEG channels prior to display

cfg.elec ft_neighbourselection
structure with EEG electrode positions

cfg.elec ft_dipolefitting, ft_dipolesimulation, ft_electroderealign, ft_headmodelplot, ft_prepare_leadfield, ft_scalpcurrentdensity, ft_sourceanalysis
structure with electrode definition

cfg.elec ft_layoutplot, ft_prepare_layout
structure with electrode positions, or

cfg.elecfile ft_neighbourselection
filename containing EEG electrode positions

cfg.elecfile ft_layoutplot, ft_prepare_layout
filename containing electrode positions

cfg.elecfile ft_electroderealign
string with filename, or alternatively

cfg.elecfile ft_dipolefitting, ft_dipolesimulation, ft_headmodelplot, ft_prepare_leadfield, ft_scalpcurrentdensity, ft_sourceanalysis
string, file containing the electrode definition

cfg.endsample ft_redefinetrial
single number or Nx1 vector, expressed in samples relative to the start of the input trial

cfg.eogscale ft_databrowser, ft_rejectvisual
number, scaling to apply to the EOG channels prior to display

cfg.eta ft_sourcedescriptives
'yes' or 'no' (default = 'no')

cfg.eventtype ft_recodeevent
empty, 'string' or cell-array with multiple strings

cfg.eventvalue ft_recodeevent
empty or a list of event values (can be numeric or string)

F

cfg.fastica ft_componentanalysis
substructure with additional low-level options for this method

cfg.feedback ft_analysisprotocol
'no', 'text', 'gui' or 'yes', whether text and/or graphical feedback should be presented (default = 'yes')

cfg.feedback ft_spiketriggeredaverage, ft_spiketriggeredinterpolation, ft_spiketriggeredspectrum
'no', 'text', 'textbar', 'gui' (default = 'no')

cfg.feedback ft_resampledata, ft_sourceanalysis, ft_sourcedescriptives
'no', 'text', 'textbar', 'gui' (default = 'text')

cfg.feedback ft_spikesorting
'no', 'text', 'textbar', 'gui' (default = 'textbar')

cfg.feedback ft_electroderealign, ft_neighbourselection
'yes' or 'no' (default = 'no')

cfg.feedback ft_prepare_concentricspheres, ft_prepare_localspheres
'yes' or 'no' (default = 'yes')

cfg.feedback ft_topoplotCC
string (default = 'textbar')

cfg.feedback ft_spikesplitting
string, (default = 'textbar')

cfg.fiducial ft_electroderealign
cell-array with the name of three fiducials used for realigning (default = {'nasion', 'lpa', 'rpa'})

cfg.fiducial.lpa ft_volumerealign
[i j k], position of LPA

cfg.fiducial.lpa ft_volumewrite
[x y z] position of LPA

cfg.fiducial.nas ft_volumerealign
[i j k], position of nasion

cfg.fiducial.nas ft_volumewrite
[x y z] position of nasion

cfg.fiducial.rpa ft_volumerealign
[i j k], position of RPA

cfg.fiducial.rpa ft_volumewrite
[x y z] position of RPA

cfg.filename ft_volumewrite
filename without the extension

cfg.filename ft_analysisprotocol
string, filename of m-file to which the script will be written (default = [])

cfg.filetype ft_volumewrite
'analyze', 'spm', 'vmp' or 'vmr'

cfg.fitind ft_prepare_concentricspheres
indices of shapes to use for fitting the center (default = 'all')

cfg.fixedori ft_sourcedescriptives
'within_trials' or 'over_trials' (default = 'over_trials')

cfg.flank.mindist ft_spikedetection
mininum distance in samples between detected peaks

cfg.flank.offset ft_spikedetection
number of samples before peak

cfg.flank.value ft_spikedetection
positive or negative threshold

cfg.flank.ztransform ft_spikedetection
'yes' or 'no'

cfg.foi ft_topoplotCC
the frequency of interest which is to be plotted (default is the first frequency bin)

cfg.foi ft_freqanalysis_mtmconvol, ft_freqanalysis_mtmwelch, ft_freqanalysis_tfr, ft_freqanalysis_wltconvol
vector 1 x numfoi, frequencies of interest

cfg.foilim ft_freqinterpolate
Nx2 matrix with begin and end of each interval to be interpolated (default = [49 51; 99 101; 149 151])

cfg.foilim ft_freqanalysis_mtmfft
[begin end], frequency band of interest

cfg.foilim ft_spiketriggeredspectrum
[begin end], frequency band of interest (default = [0 150])

cfg.foilim ft_freqdescriptives, ft_freqgrandaverage
[fmin fmax] or 'all', to specify a subset of frequencies (default = 'all')

cfg.format ft_spikesplitting
'int16' or 'int32' (default = 'int32')

cfg.framesfile ft_movieplotER
'no', no file saved, or 'sting', filename of saved frames.mat (default = 'no');

cfg.framespersec ft_movieplotER
number, frames per second (default = 5)

cfg.frequency ft_freqstatistics
[begin end], can be 'all' (default = 'all')

cfg.frequency ft_dipolefitting, ft_sourceanalysis
single number (in Hz)

cfg.fsample ft_spikedownsample
desired sampling frequency in Hz (default = 1000)

cfg.fsample ft_connectivitysimulation
in Hz

cfg.fsample ft_dipolesimulation
sampling frequency in Hz

cfg.fsample ft_freqsimulation
simulated sample frequency

cfg.funcolorlim ft_sourceplot
color range of the functional data (default = 'auto') [min max] 'maxabs', from -max(abs(funparameter)) to +max(abs(funparameter)) 'zeromax', from 0 to max(abs(funparameter)) 'minzero', from min(abs(funparameter)) to 0 'auto', if funparameter values are all positive: 'zeromax', all negative: 'minzero', both possitive and negative: 'maxabs'

cfg.funcolormap ft_sourceplot
colormap for functional data, see COLORMAP (default = 'auto') 'auto', depends structure funparameter, or on funcolorlim - funparameter: only positive values, or funcolorlim:'zeromax' → 'hot' - funparameter: only negative values, or funcolorlim:'minzero' → 'cool' - funparameter: both pos and neg values, or funcolorlim:'maxabs' → 'jet' - funcolorlim: [min max] if min & max pos→ 'hot', neg→ 'cool', both→ 'jet'

cfg.funparameter ft_sliceinterp
string with the functional parameter of interest (default = 'source')

cfg.funparameter ft_sourceplot
string, field in data with the functional parameter of interest (default = [])

G

cfg.grad ft_neighbourselection
structure with MEG gradiometer positions

cfg.grad ft_dipolefitting, ft_dipolesimulation, ft_headmodelplot, ft_prepare_leadfield, ft_sourceanalysis
structure with gradiometer definition

cfg.grad ft_layoutplot, ft_prepare_layout, ft_prepare_localspheres
structure with gradiometer definition, or

cfg.gradfile ft_neighbourselection
filename containing MEG gradiometer positions

cfg.gradfile ft_layoutplot, ft_prepare_layout, ft_prepare_localspheres
filename containing gradiometer definition

cfg.gradfile ft_dipolefitting, ft_dipolesimulation, ft_headmodelplot, ft_prepare_leadfield, ft_sourceanalysis
string, file containing the gradiometer definition

cfg.gradient ft_denoise_synthetic
'none', 'G1BR', 'G2BR' or 'G3BR' specifies the gradiometer type to which the data should be changed

cfg.grid ft_dipolefitting
structure, see FT_PREPARE_LEADFIELD

cfg.grid.dim ft_dipolefitting, ft_headmodelplot, ft_prepare_leadfield, ft_sourceanalysis
[Nx Ny Nz] vector with dimensions in case of 3-D grid (optional)

cfg.grid.inside ft_dipolefitting, ft_headmodelplot, ft_prepare_leadfield, ft_sourceanalysis
vector with indices of the sources inside the brain (optional)

cfg.grid.outside ft_dipolefitting, ft_headmodelplot, ft_prepare_leadfield, ft_sourceanalysis
vector with indices of the sources outside the brain (optional)

cfg.grid.pos ft_dipolefitting, ft_headmodelplot, ft_prepare_leadfield, ft_sourceanalysis
Nx3 matrix with position of each source

cfg.grid.resolution ft_dipolefitting, ft_headmodelplot, ft_prepare_leadfield, ft_sourceanalysis
number (e.g. 1 cm) for automatic grid generation

cfg.grid.xgrid ft_dipolefitting, ft_headmodelplot, ft_prepare_leadfield, ft_sourceanalysis
vector (e.g. -20:1:20) or 'auto' (default = 'auto')

cfg.grid.ygrid ft_dipolefitting, ft_headmodelplot, ft_prepare_leadfield, ft_sourceanalysis
vector (e.g. -20:1:20) or 'auto' (default = 'auto')

cfg.grid.zgrid ft_dipolefitting, ft_headmodelplot, ft_prepare_leadfield, ft_sourceanalysis
vector (e.g. 0:1:20) or 'auto' (default = 'auto')

cfg.gridscale ft_topoplotER
scaling grid size (default = 67) determines resolution of figure

cfg.gridsearch ft_dipolefitting
'yes' or 'no', perform global search for initial guess for the dipole parameters (default = 'yes')

cfg.gwidth ft_freqanalysis_wltconvol
determines the length of the used wavelets in standard deviations of the implicit Gaussian kernel and should be choosen >= 3; (default = 3)

H

cfg.hdmfile ft_dipolefitting, ft_dipolesimulation, ft_headmodelplot, ft_megplanar, ft_megrealign, ft_prepare_leadfield, ft_sourceanalysis
string, file containing the volume conduction model

cfg.hdmfile ft_prepare_bemmodel
string, file containing the volume conduction model (can be empty)

cfg.headerfile ft_artifact_zvalue, ft_artifact_zvalue

cfg.headerfile ft_preprocessing
string with the filename

cfg.headshape ft_prepare_concentricspheres, ft_prepare_mesh
a filename containing headshape, a Nx3 matrix with surface points, or a structure with a single or multiple boundaries

cfg.headshape ft_electroderealign, ft_headmodelplot, ft_megplanar, ft_megrealign, ft_prepare_localspheres, ft_prepare_singleshell
a filename containing headshape, a structure containing a single triangulated boundary, or a Nx3 matrix with surface points

cfg.headshape ft_prepare_concentricspheres
headshape;

cfg.hemisphere ft_sourcestatistics
'left', 'right', 'both', 'combined', specifying this is required when averaging over regions

cfg.highlight ft_topoplotER
'on', 'labels', 'numbers', 'off'

cfg.highlightchannel ft_topoplotER
Nx1 cell-array with selection of channels, or vector containing channel indices see FT_CHANNELSELECTION

cfg.highlightcolor ft_topoplotER
highlight marker color (default = [0 0 0] (black))

cfg.highlightfontsize ft_topoplotER
highlight marker size (default = 8)

cfg.highlightsize ft_topoplotER
highlight marker size (default = 6)

cfg.highlightsymbol ft_topoplotER
highlight marker symbol (default = 'o')

cfg.hilbert ft_preprocessing
'no', 'abs', 'complex', 'real', 'imag', 'absreal', 'absimag' or 'angle' (default = 'no')

cfg.hpfilter ft_preprocessing
'no' or 'yes' highpass filter (default = 'no')

cfg.hpfiltord ft_preprocessing
highpass filter order (default = 6)

cfg.hpfilttype ft_preprocessing
digital filter type, 'but' or 'fir' (default = 'but')

cfg.hpfreq ft_preprocessing
highpass frequency in Hz

I

cfg.image ft_layoutplot, ft_prepare_layout
filename, use an image to construct a layout (e.g. usefull for ECoG grids)

cfg.implicitref ft_preprocessing
'label' or empty, add the implicit EEG reference as zeros (default = [])

cfg.individual.elec ft_interactiverealign

cfg.individual.grad ft_interactiverealign

cfg.individual.headshape ft_interactiverealign

cfg.individual.headshapestyle ft_interactiverealign
'vertex' (default), 'surface' or 'both'

cfg.individual.vol ft_interactiverealign

cfg.individual.volstyle ft_interactiverealign
'edge' (default), 'surface' or 'both'

cfg.individual.volstyle ft_interactiverealign
'surface' (default), 'edge' or 'both'

cfg.inputcoord ft_sourceplot
'mni' or 'tal', coordinate system of data used to lookup the label from the atlas

cfg.inputcoord ft_volumelookup, ft_volumelookup
'mni' or 'tal', coordinate system of the mri/source/stat

cfg.inputcoord ft_sourcestatistics
'mni' or 'tal', the coordinate system in which your source reconstruction is expressed

cfg.inputfile ft_channelnormalise, ft_channelrepair, ft_componentanalysis, ft_databrowser, ft_denoise_synthetic, ft_freqbaseline, ft_freqinterpolate, ft_megplanar, ft_prepare_mesh, ft_prepare_singleshell, ft_redefinetrial, ft_rejectcomponent, ft_resampledata, ft_scalpcurrentdensity, ft_sourcedescriptives, ft_sourceinterpolate, ft_sourceplot, ft_spikesorting, ft_spiketriggeredaverage, ft_spiketriggeredinterpolation, ft_timelockbaseline, ft_volumedownsample, ft_volumerealign, ft_volumereslice
one can specifiy preanalysed saved data as input

cfg.inputfile ft_appenddata, ft_freqgrandaverage, ft_freqstatistics, ft_timelockgrandaverage, ft_timelockstatistics, ft_topoplotCC
one can specifiy preanalysed saved data as input The data should be provided in a cell array

cfg.interactive ft_spikedetection
'yes' or 'no'

cfg.interactive ft_sourceplot
'yes' or 'no' (default = 'no') in interactive mode cursor click determines location of cut

cfg.interactive ft_sliceinterp
'yes' or 'no' (default), interactive coordinates and source values

cfg.interactive ft_topoplotER
Interactive plot 'yes' or 'no' (default = 'no') In a interactive plot you can select areas and produce a new interactive plot when a selected area is clicked. Multiple areas can be selected by holding down the SHIFT key.

cfg.interplimits ft_topoplotER
limits for interpolation (default = 'head') 'electrodes' to furthest electrode 'head' to edge of head

cfg.interpmethod ft_sourceinterpolate
'linear', 'cubic', 'nearest' or 'spline'

cfg.interpolation ft_topoplotER
'linear','cubic','nearest','v4' (default = 'v4') see GRIDDATA

cfg.interptoi ft_spiketriggeredinterpolation
value, time in seconds used for interpolation, which must be larger than timwin (default = 0.01)

cfg.inwardshift ft_megrealign

cfg.inwardshift ft_megplanar
depth of the source layer relative to the head model surface (default = 2.5, which is adequate for a skin-based head model)

cfg.inwardshift ft_megrealign
depth of the source layer relative to the headshape surface or volume conduction model (no default supplied, see below)

cfg.isolatedsource ft_prepare_bemmodel
compartment number, or 0

J

cfg.jackknife ft_sourceanalysis
'no' or 'yes' jackknife resampling of trials

cfg.jackknife ft_freqdescriptives
'yes' or 'no', estimate standard error by means of the jack-knife (default = 'no')

K

cfg.keepchannel ft_rejectvisual
string, determines how to deal with channels that are not selected, can be 'no' completely remove unselected channels from the data (default) 'yes' keep unselected channels in the output data 'nan' fill the channels that are unselected with NaNs

cfg.keepcsd ft_sourceanalysis
'no' or 'yes'

cfg.keepfilter ft_sourceanalysis
'no' or 'yes'

cfg.keepindividual ft_sourcegrandaverage
'no' or 'yes'

cfg.keepindividual ft_freqgrandaverage, ft_timelockgrandaverage
'yes' or 'no' (default = 'no')

cfg.keepleadfield ft_sourceanalysis
'no' or 'yes'

cfg.keepmom ft_sourceanalysis
'no' or 'yes'

cfg.keepremoved ft_analysisprotocol
'yes' or 'no', determines whether removed fields are completely removed, or only replaced by a short textual description (default = 'no')

cfg.keeptapers ft_freqanalysis_mtmconvol, ft_freqanalysis_mtmfft, ft_freqanalysis_mtmwelch
'yes' or 'no', return individual tapers or average (default = 'no')

cfg.keeptrials ft_mvaranalysis
'no' (default) or 'yes' specifies whether the coefficients are estimated for each trial seperately, or on the concatenated data

cfg.keeptrials ft_sourceanalysis
'no' or 'yes'

cfg.keeptrials ft_sourcedescriptives
'yes' or 'no' (default = 'no')

cfg.keeptrials ft_freqdescriptives
'yes' or 'no', estimate single trial power (useful for fourier data) (default = 'no')

cfg.keeptrials ft_freqanalysis_mtmconvol, ft_freqanalysis_mtmfft, ft_freqanalysis_mtmwelch, ft_freqanalysis_tfr, ft_freqanalysis_wltconvol, ft_spiketriggeredaverage, ft_timelockanalysis
'yes' or 'no', return individual trials or average (default = 'no')

cfg.kmeans ft_spikesorting
substructure with additional low-level options for this method

cfg.kurtosis ft_sourcedescriptives
'yes' or 'no' (default = 'no')

L

cfg.lambda ft_sourceanalysis
number or empty for automatic default

cfg.latency ft_spikedetection, ft_spikedownsample
[b1 e1; b2 e2; …]

cfg.latency ft_dipolefitting, ft_freqstatistics, ft_timelockgrandaverage, ft_timelockstatistics
[begin end] in seconds or 'all' (default = 'all')

cfg.latency ft_rejectvisual, ft_timelockanalysis
[begin end] in seconds, or 'minperlength', 'maxperlength', 'prestim', 'poststim' (default = 'maxperlength')

cfg.latency ft_spikesplitting
[begin end], (default = 'all')

cfg.latency ft_spikedetection, ft_spikedownsample
[begin end], default is [0 inf]

cfg.latency ft_sourceanalysis
single number in seconds, for time-frequency analysis

cfg.layout ft_prepare_layout
'butterfly' will give you a layout with all channels on top of each other

cfg.layout ft_layoutplot
'ordered'

cfg.layout ft_prepare_layout
'ordered' will give you a NxN ordered layout

cfg.layout ft_prepare_layout
'vertical' will give you a Nx1 ordered layout

cfg.layout ft_layoutplot, ft_prepare_layout
filename containg the layout

cfg.layout ft_neighbourselection
filename of the layout, see FT_PREPARE_LAYOUT

cfg.layout ft_topoplotCC
specification of the layout, see FT_PREPARE_LAYOUT

cfg.layout ft_movieplotER, ft_topoplotER
specification of the layout, see below

cfg.layout ft_multiplotER
specify the channel layout for plotting using one of the following ways:

cfg.location ft_sourceplot
location of cut, (default = 'auto') 'auto', 'center' if only anatomy, 'max' if functional data 'min' and 'max' position of min/max funparameter 'center' of the brain [x y z], coordinates in voxels or head, see cfg.locationcoordinates

cfg.locationcoordinates ft_sourceplot
coordinate system used in cfg.location, 'head' or 'voxel' (default = 'head') 'head', headcoordinates from anatomical MRI 'voxel', voxelcoordinates

cfg.lpfilter ft_preprocessing
'no' or 'yes' lowpass filter (default = 'no')

cfg.lpfiltord ft_preprocessing
lowpass filter order (default = 6)

cfg.lpfilttype ft_preprocessing
digital filter type, 'but' or 'fir' (default = 'but')

cfg.lpfreq ft_preprocessing
lowpass frequency in Hz

M

cfg.markcorner ft_volumewrite
'yes' or 'no', mark the first corner of the volume

cfg.marker ft_topoplotER
'on', 'labels', 'numbers', 'off'

cfg.marker ft_sliceinterp
[Nx3] array defining N marker positions to display

cfg.markercolor ft_sliceinterp
[1×3] marker color in RGB (default = [1 1 1], i.e. white)

cfg.markercolor ft_topoplotER
channel marker color (default = [0 0 0] (black))

cfg.markerfontsize ft_topoplotER
font size of channel labels (default = 8 pt)

cfg.markersize ft_topoplotER
channel marker size (default = 2)

cfg.markersize ft_sliceinterp
radius of markers (default = 5);

cfg.markersymbol ft_topoplotER
channel marker symbol (default = 'o')

cfg.markfiducial ft_volumewrite
'yes' or 'no', mark the fiducials

cfg.markorigin ft_volumewrite
'yes' or 'no', mark the origin

cfg.maskclipmax ft_sliceinterp
value or 'auto' (clipping of mask data)

cfg.maskclipmin ft_sliceinterp
value or 'auto' (clipping of mask data)

cfg.maskclipsym ft_sliceinterp
'yes' or 'no' (default) symmetrical clipping

cfg.maskcolmin ft_sliceinterp
mask value mapped to the highest opacity, i.e. non-transparent (default = 'auto')

cfg.maskcolmin ft_sliceinterp
mask value mapped to the lowest opacity, i.e. completely transparent (default ='auto')

cfg.maskmap ft_sliceinterp
opacitymap for source overlay (default is linspace(0,1,128))

cfg.maskparameter ft_sliceinterp
parameter used as opacity mask (default = 'none')

cfg.maskparameter ft_sourceplot
string, field in the data to be used for opacity masking of fun data (default = []) If values are between 0 and 1, zero is fully transparant and one is fully opaque. If values in the field are not between 0 and 1 they will be scaled depending on the values of cfg.opacitymap and cfg.opacitylim (see below) You can use masking in several ways, f.i. - use outcome of statistics to show only the significant values and mask the insignificant NB see also cfg.opacitymap and cfg.opacitylim below - use the functional data itself as mask, the highest value (and/or lowest when negative) will be opaque and the value closest to zero transparent - Make your own field in the data with values between 0 and 1 to control opacity directly

cfg.maskparameter ft_volumelookup
string, field in volume to be lookedup, data in field should be logical

cfg.match ft_recodeevent
'exact' or 'nearest'

cfg.maxqueryrange ft_volumelookup
number, should be 1, 3, 5 (default = 1)

cfg.medianfilter ft_preprocessing
'no' or 'yes' jump preserving median filter (default = 'no')

cfg.medianfiltord ft_preprocessing
length of median filter (default = 9)

cfg.megscale ft_databrowser, ft_rejectvisual
number, scaling to apply to the MEG channels prior to display

cfg.method ft_connectivityanalysis
'coh', coherence, support for freq, freqmvar and source data. For partial coherence also specify cfg.partchannel 'csd', cross-spectral density matrix, can also calculate partial csds - if cfg.partchannel is specified 'plv', phase-locking value, support for freq and freqmvar data 'corr', correlation coefficient (Pearson) 'xcorr', cross correlation function 'powcorr', power correlation, support for freq and source data 'amplcorr', amplitude correlation, support for freq and source data 'dtf', directed transfer function, support for freq and freqmvar data 'pdc', partial directed coherence, support for freq and freqmvar data 'granger', granger causality, support for freq and freqmvar data 'psi', phaseslope index, support for freq and freqmvar data 'pcd', pairwise circular difference 'di', directionality index

cfg.method ft_prepare_bemmodel
'dipoli', 'openmeeg', 'brainstorm' or 'bemcp'

cfg.method ft_scalpcurrentdensity
'finite' for finite-difference method or 'spline' for spherical spline method 'hjorth' for Hjorth approximation method

cfg.method ft_spikesorting
'kmeans', 'ward'

cfg.method ft_sourceanalysis
'lcmv' linear constrained minimum variance beamformer 'sam' synthetic aperture magnetometry 'dics' dynamic imaging of coherent sources 'pcc' partial cannonical correlation/coherence 'mne' minimum norm estimation 'loreta' minimum norm estimation with smoothness constraint 'rv' scan residual variance with single dipole 'music' multiple signal classification 'mvl' multivariate Laplace source localization

cfg.method ft_prepare_mesh
'manual';

cfg.method ft_freqinterpolate
'nan', 'linear' (default = 'nan')

cfg.method ft_spikeanalysis
'rate' (default), or 'spikephase'

cfg.method ft_componentanalysis
'runica', 'fastica', 'binica', 'pca', 'jader', 'varimax', 'dss', 'cca', 'sobi' (default = 'runica')

cfg.method ft_prepare_mesh
'segmentation' or 'manual'

cfg.method ft_sourceplot
'slice', plots the data on a number of slices in the same plane 'ortho', plots the data on three orthogonal slices 'surface', plots the data on a 3D brain surface

cfg.method ft_preprocessing
'trial' or 'channel', read data per trial or per channel (default = 'trial')

cfg.method ft_freqsimulation
The methods are explained in more detail below, but they can be 'superimposed' simply add the contribution of the different frequencies 'broadband' create a single broadband signal component 'phalow_amphigh' phase of low freq correlated with amplitude of high freq 'amplow_amphigh' amplitude of low freq correlated with amplithude of high freq 'phalow_freqhigh' phase of low freq correlated with frequency of high signal 'asymmetric' single signal component with asymmetric positive/negative deflections

cfg.method ft_volumerealign
different methods for aligning the electrodes 'fiducial' realign the volume to the fiducials 'interactive' manually using graphical user interface

cfg.method ft_sourcestatistics
different methods for calculating the probability of the null-hypothesis, 'montecarlo' uses a non-parametric randomization test to get a Monte-Carlo estimate of the probability, 'analytic' uses a parametric test that results in analytic probability, 'glm' uses a general linear model approach, 'stats' uses a parametric test from the Matlab statistics toolbox, 'parametric' uses the Matlab statistics toolbox (very similar to 'stats'), 'randomization' uses randomization of the data prior to source reconstruction, 'randcluster' uses randomization of the data prior to source reconstruction in combination with spatial clusters.

cfg.method ft_freqstatistics, ft_timelockstatistics
different methods for calculating the significance probability and/or critical value 'montecarlo' get Monte-Carlo estimates of the significance probabilities and/or critical values from the permutation distribution, 'analytic' get significance probabilities and/or critical values from the analytic reference distribution (typically, the sampling distribution under the null hypothesis), 'stats' use a parametric test from the Matlab statistics toolbox, 'glm' use a general linear model approach.

cfg.method ft_freqanalysis
different methods of calculating the spectra 'mtmfft', analyses an entire spectrum for the entire data length, implements multitaper frequency transformation 'mtmconvol', implements multitaper time-frequency transformation based on multiplication in the frequency domain 'mtmwelch', performs frequency analysis using Welch's averaged modified periodogram method of spectral estimation 'wltconvol', implements wavelet time frequency transformation (using Morlet wavelets) based on multiplication in the frequency domain 'tfr', implements wavelet time frequency transformation (using Morlet wavelets) based on convolution in the time domain

cfg.method ft_resampledata
interpolation method, see INTERP1 (default = 'pchip')

cfg.method ft_freqanalysis_mtmconvol, ft_freqanalysis_mtmfft, ft_freqanalysis_mtmwelch, ft_freqanalysis_tfr, ft_freqanalysis_wltconvol
method used for frequency or time-frequency decomposition see FT_FREQANALYSIS for details

cfg.method ft_spikedownsample
resampling method, can be 'resample', 'decimate' or 'downsample'

cfg.method ft_electroderealign
string representing the method for aligning or placing the electrodes 'template' realign the electrodes to a template electrode set 'fiducial' realign using the NAS, LPA and RPA fiducials 'interactive' realign manually using a graphical user interface 'manual' manual positioning of the electrodes by clicking in a graphical user interface

cfg.method ft_spikedetection
string with the method to use, can be 'all', 'zthresh', 'ztrig', 'flank'

cfg.method ft_spiketriggeredinterpolation
string, The interpolation method can be 'nan', 'cubic', 'linear', 'nearest', spline', 'pchip' (default = 'nan'). See INTERP1 for more details.

cfg.method ft_connectivitysimulation
string, can be xxx

cfg.method ft_rejectvisual
string, describes how the data should be shown, this can be 'summary' show a single number for each channel and trial (default) 'channel' show the data per channel, all trials at once 'trial' show the data per trial, all channels at once

cfg.metric ft_rejectvisual
string, describes the metric that should be computed in summary mode for each channel in each trial, can be 'var' variance within each channel (default) 'min' minimum value in each channel 'max' maximum value each channel 'maxabs' maximum absolute value in each channel 'range' range from min to max in each channel 'kurtosis' kurtosis, i.e. measure of peakedness of the amplitude distribution

cfg.minlength ft_redefinetrial
length in seconds, can be 'maxperlen' (default = [])

cfg.model ft_dipolefitting
'moving' or 'regional'

cfg.montage ft_layoutplot, ft_prepare_layout, ft_preprocessing
'no' or a montage structure (default = 'no')

cfg.mriunits ft_prepare_localspheres
'mm' or 'cm' (default = 'mm')

cfg.mriunits ft_prepare_singleshell
'mm' or 'cm' (default is 'mm')

cfg.mvarmethod ft_mvaranalysis
scalar (only required when cfg.toolbox = 'biosig'). default is 2, relates to the algorithm used for the computation of the AR-coefficients by mvar.m

N

cfg.n1.ampl ft_freqsimulation
root-mean-square amplitude of wide-band signal prior to filtering

cfg.n1.bpfreq ft_freqsimulation
[Flow Fhigh]

cfg.n2.ampl ft_freqsimulation
root-mean-square amplitude of wide-band signal prior to filtering

cfg.n2.bpfreq ft_freqsimulation
[Flow Fhigh]

cfg.name ft_volumenormalise, ft_volumesegment
string for output filename

cfg.nearestto ft_recodeevent
'trialzero' compare with time t=0 for each trial (default) 'trialbegin' compare with the begin of each trial 'trialend' compare with the end of each trial

cfg.neighbourdist ft_channelrepair, ft_megplanar
default is 4 cm

cfg.neighbourdist ft_neighbourselection
number, maximum distance between neighbouring sensors

cfg.noise.ampl ft_freqsimulation
amplitude of noise

cfg.nonlinear ft_volumenormalise
'yes' (default) or 'no', estimates a nonlinear transformation in addition to the linear affine registratFT_ion. If a reasonably accurate normalisation is sufficient, a purely linearly transformed image allows for 'reverse-normalisation', which might come in handy when for example a region of interest is dFT_efined on the normalised group-average.

cfg.nonlinear ft_prepare_concentricspheres
'yes' or 'no' (default = 'yes')

cfg.nonlinear ft_dipolefitting
'yes' or 'no', perform nonlinear search for optimal dipole parameters (default = 'yes')

cfg.normalize ft_sourceanalysis
'no' or 'yes' (default = 'no')

cfg.normalize ft_prepare_leadfield
'yes' or 'no' (default = 'no')

cfg.normalizeparam ft_prepare_leadfield
depth normalization parameter (default = 0.5)

cfg.normalizevar ft_timelockanalysis, ft_timelockgrandaverage
'N' or 'N-1' (default = 'N-1')

cfg.nsignal ft_connectivitysimulation
scalar, number of signals

cfg.nslices ft_sliceinterp
integer value, default is 20

cfg.nslices ft_sourceplot
number of slices, (default = 20)

cfg.ntrials ft_dipolesimulation
number of trials

cfg.ntrials ft_connectivitysimulation
scalar

cfg.numbootstrap ft_sourceanalysis
number of bootstrap replications (e.g. number of original trials)

cfg.numchans ft_spikefixdmafile
number of channels (default = 256)

cfg.numcomponent ft_componentanalysis
'all' or number (default = 'all')

cfg.numdipoles ft_dipolefitting
number, default is 1

cfg.numpermutation ft_sourceanalysis
number, e.g. 500 or 'all'

cfg.numrandomization ft_sourceanalysis
number, e.g. 500

cfg.numtrl ft_freqsimulation
number of simulated trials

cfg.numvertices ft_prepare_bemmodel
[Nskin Nskull Nbrain]

cfg.numvertices ft_prepare_singleshell
number, to retriangulate the mesh with a sphere (default = 3000) instead of specifying a number, you can specify 'same' to keep the vertices of the mesh identical to the original headshape points

O

cfg.offset ft_redefinetrial
single number or Nx1 vector, expressed in samples relative to current t=0

cfg.opacitylim ft_sourceplot
range of mask values to which opacitymap is scaled (default = 'auto') [min max] 'maxabs', from -max(abs(maskparameter)) to +max(abs(maskparameter)) 'zeromax', from 0 to max(abs(maskparameter)) 'minzero', from min(abs(maskparameter)) to 0 'auto', if maskparameter values are all positive: 'zeromax', all negative: 'minzero', both possitive and negative: 'maxabs'

cfg.opacitymap ft_sourceplot
opacitymap for mask data, see ALPHAMAP (default = 'auto') 'auto', depends structure maskparameter, or on opacitylim - maskparameter: only positive values, or opacitylim:'zeromax' → 'rampup' - maskparameter: only negative values, or opacitylim:'minzero' → 'rampdown' - maskparameter: both pos and neg values, or opacitylim:'maxabs' → 'vdown' - opacitylim: [min max] if min & max pos→ 'rampup', neg→ 'rampdown', both→ 'vdown' - NB. to use p-values use 'rampdown' to get lowest p-values opaque and highest transparent

cfg.order ft_mvaranalysis
scalar, order of the autoregressive model (default=10)

cfg.output ft_recodeevent
'event' the event itself 'eventvalue' the value of the event 'eventnumber' the number of the event 'samplenumber' the sample at which the event is located 'samplefromoffset' number of samples from t=0 (c.f. response time) 'samplefrombegin' number of samples from the begin of the trial 'samplefromend' number of samples from the end of the trial

cfg.output ft_freqanalysis_mtmwelch, ft_freqanalysis_wltconvol
'pow' return the power-spectra 'powandcsd' return the power and the cross-spectra

cfg.output ft_freqanalysis_mtmconvol, ft_freqanalysis_mtmfft
'pow' return the power-spectra 'powandcsd' return the power and the cross-spectra 'fourier' return the complex Fourier-spectra

cfg.output ft_layoutplot, ft_prepare_layout
filename to which the layout will be written (default = [])

cfg.output ft_spikefixdmafile
string with the name of the DMA log file, (default is determined automatic)

cfg.output ft_spikesplitting
string with the name of the splitted DMA dataset directory, (default is determined automatic)

cfg.output ft_spikedetection, ft_spikedownsample
string with the output dataset (default is determined automatic)

cfg.output ft_freqsimulation
which channels should be in the output data, can be 'mixed' or 'all' (default = 'all')

cfg.outputfile ft_appenddata, ft_channelnormalise, ft_channelrepair, ft_componentanalysis, ft_databrowser, ft_denoise_synthetic, ft_freqbaseline, ft_freqgrandaverage, ft_freqinterpolate, ft_freqstatistics, ft_megplanar, ft_prepare_mesh, ft_redefinetrial, ft_rejectcomponent, ft_resampledata, ft_scalpcurrentdensity, ft_sourcedescriptives, ft_sourceinterpolate, ft_spikesorting, ft_spiketriggeredaverage, ft_spiketriggeredinterpolation, ft_timelockbaseline, ft_timelockgrandaverage, ft_timelockstatistics, ft_volumedownsample, ft_volumerealign, ft_volumereslice
one can specify output as file to save to disk

P

cfg.pad ft_freqanalysis_mtmconvol, ft_freqanalysis_mtmfft, ft_freqanalysis_mtmwelch
number or 'maxperlen', length in seconds to which the data can be padded out (default = 'maxperlen')

cfg.padding ft_preprocessing
length to which the trials are padded for filtering (default = 0)

cfg.parameter ft_volumenormalise
cell-array with the functional data which has to be normalised, can be 'all'

cfg.parameter ft_freqstatistics
string (default = 'powspctrm')

cfg.parameter ft_timelockstatistics
string (default = 'trial' or 'avg')

cfg.parameter ft_sourceinterpolate
string, default is 'all'

cfg.parameter ft_volumewrite
string, describing the functional data to be processed, e.g. 'pow', 'coh' or 'nai'

cfg.parameter ft_sourcegrandaverage, ft_sourcestatistics
string, describing the functional data to be processed, e.g. 'pow', 'nai' or 'coh'

cfg.permutation ft_sourceanalysis
'no' or 'yes'

cfg.planarmethod ft_megplanar
'orig' | 'sincos' | 'fitplane' | 'sourceproject'

cfg.plotbnd ft_headmodelplot
'yes' or 'no'

cfg.plotcoil ft_headmodelplot
'yes' or 'no' plot all gradiometer coils

cfg.plotgrid ft_headmodelplot
'yes' or 'no'

cfg.plotheadsurface ft_headmodelplot
'yes' or 'no', is constructed from head model

cfg.plotinside ft_headmodelplot
'yes' or 'no'

cfg.plotlines ft_headmodelplot
'yes' or 'no' plot lines from sensor to head surface

cfg.plotoutside ft_headmodelplot
'yes' or 'no'

cfg.plotsensors ft_headmodelplot
'yes' or 'no' plot electrodes or gradiometers

cfg.plotspherecenter ft_headmodelplot
'yes' or 'no'

cfg.plotspheres ft_headmodelplot
'yes' or 'no'

cfg.polyorder ft_preprocessing
polynome order (default = 2)

cfg.polyremoval ft_preprocessing
'no' or 'yes', this is done on the complete trial (default = 'no')

cfg.powmethod ft_sourcedescriptives
'regular', 'lambda1', 'trace', 'none'

cfg.precision ft_preprocessing
'single' or 'double' (default = 'double')

cfg.preproc.blc ft_spikedetection, ft_spikedownsample
'no' or 'yes'

cfg.preproc.blcwindow ft_spikedetection, ft_spikedownsample
[begin end] in seconds, the default is the complete trial

cfg.preproc.bpfiltdir ft_spikedetection, ft_spikedownsample
filter direction, 'twopass' (default) or 'onepass'

cfg.preproc.bpfilter ft_spikedetection, ft_spikedownsample
'no' or 'yes' bandpass filter

cfg.preproc.bpfiltord ft_spikedetection, ft_spikedownsample
bandpass filter order

cfg.preproc.bpfilttype ft_spikedetection, ft_spikedownsample
digital filter type, 'but' (default) or 'fir'

cfg.preproc.bpfreq ft_spikedetection, ft_spikedownsample
bandpass frequency range, specified as [low high] in Hz

cfg.preproc.detrend ft_spikedetection, ft_spikedownsample
'no' or 'yes'

cfg.preproc.dftfilter ft_spikedetection, ft_spikedownsample
'no' or 'yes' line noise removal using discrete fourier transform

cfg.preproc.hilbert ft_spikedetection, ft_spikedownsample
'no' or 'yes'

cfg.preproc.hpfiltdir ft_spikedetection, ft_spikedownsample
filter direction, 'twopass' (default) or 'onepass'

cfg.preproc.hpfilter ft_spikedetection, ft_spikedownsample
'no' or 'yes' highpass filter

cfg.preproc.hpfiltord ft_spikedetection, ft_spikedownsample
highpass filter order

cfg.preproc.hpfilttype ft_spikedetection, ft_spikedownsample
digital filter type, 'but' (default) or 'fir'

cfg.preproc.hpfreq ft_spikedetection, ft_spikedownsample
highpass frequency in Hz

cfg.preproc.lnfilter ft_spikedetection, ft_spikedownsample
'no' or 'yes' line noise removal using notch filter

cfg.preproc.lnfiltord ft_spikedetection, ft_spikedownsample
line noise notch filter order

cfg.preproc.lnfreq ft_spikedetection, ft_spikedownsample
line noise frequency in Hz, default 50Hz

cfg.preproc.lpfiltdir ft_spikedetection, ft_spikedownsample
filter direction, 'twopass' (default) or 'onepass'

cfg.preproc.lpfilter ft_spikedetection, ft_spikedownsample
'no' or 'yes' lowpass filter

cfg.preproc.lpfiltord ft_spikedetection, ft_spikedownsample
lowpass filter order

cfg.preproc.lpfilttype ft_spikedetection, ft_spikedownsample
digital filter type, 'but' (default) or 'fir'

cfg.preproc.lpfreq ft_spikedetection, ft_spikedownsample
lowpass frequency in Hz

cfg.preproc.medianfilter ft_spikedetection, ft_spikedownsample
'no' or 'yes' jump preserving median filter

cfg.preproc.medianfiltord ft_spikedetection, ft_spikedownsample
length of median filter

cfg.preproc.rectify ft_spikedetection, ft_spikedownsample
'no' or 'yes'

cfg.previous ft_timelockbaseline

cfg.projection ft_prepare_layout
string, 2D projection method can be 'stereographic', 'orthographic', 'polar', 'gnomic' or 'inverse' (default = 'polar')

cfg.projection ft_layoutplot
string, 2D projection method can be 'stereographic', 'ortographic', 'polar', 'gnomic' or 'inverse' (default = 'orthographic')

cfg.projectmom ft_sourcedescriptives
'yes' or 'no' (default = 'no')

cfg.projectnoise ft_sourceanalysis
'no' or 'yes'

cfg.projmethod ft_sourceplot
projection method, how functional volume data is projected onto surface 'nearest', 'sphere_avg', 'sphere_weighteddistance'

cfg.pruneratio ft_megplanar
for singular values, default is 1e-3

cfg.pseudovalue ft_sourceanalysis
'no' or 'yes' pseudovalue resampling of trials

Q

cfg.queryrange ft_sourceplot
number, in atlas voxels (default 3)

R

cfg.radius ft_prepare_localspheres
number, which points to select for each channel (default = 7 cm)

cfg.randomization ft_sourceanalysis
'no' or 'yes'

cfg.rawtrial ft_sourceanalysis
'no' or 'yes' construct filter from single trials, apply to single trials

cfg.rectify ft_preprocessing
'no' or 'yes' (default = 'no')

cfg.rectify ft_rejectvisual, ft_rejectvisual
'yes'

cfg.reducerank ft_prepare_leadfield, ft_sourceanalysis
'no', or number (default = 3 for EEG, 2 for MEG)

cfg.refchan ft_sourceanalysis
reference channel label (for coherence)

cfg.refchannel ft_preprocessing
cell-array with new EEG reference channel(s)

cfg.refdip ft_sourceanalysis
reference dipole location (for coherence)

cfg.relnoise ft_dipolesimulation
add noise with level relative to simulated signal

cfg.remove ft_analysisprotocol
cell-array with strings, determines which objects will be removed from the configuration prior to writing it to file. For readibility of the script, you may want to remove the large objectssuch as event structure, trial definition, source positions

cfg.removemean ft_timelockanalysis
'no' or 'yes' for covariance computation (default = 'yes')

cfg.renderer ft_sourceplot
'painters', 'zbuffer',' opengl' or 'none' (default = 'opengl') When using opacity the OpenGL renderer is required.

cfg.reref ft_preprocessing
'no' or 'yes' (default = 'no')

cfg.resample ft_sliceinterp
integer value, default is 1 (for resolution reduction)

cfg.resamplefs ft_resampledata
frequency at which the data will be resampled (default = 256 Hz)

cfg.resolution ft_volumereslice
number, in physical units

cfg.resolutionmatrix ft_sourcedescriptives
'yes' or 'no' (default = 'no')

cfg.roi ft_volumelookup
Nx3 vector, coordinates of the points of interest

cfg.roi ft_sourcestatistics, ft_volumelookup
string or cell of strings, region(s) of interest from anatomical atlas

cfg.roi ft_sourceplot
string or cell of strings, region(s) of interest from anatomical atlas (see cfg.atlas above) everything is masked except for ROI

cfg.rotate ft_sliceinterp
number of ccw 90 deg slice rotations (default = 0)

cfg.rotate ft_layoutplot, ft_prepare_layout
number, rotation around the z-axis in degrees (default = [], which means automatic)

cfg.round2nearestvoxel ft_volumelookup
'yes' or 'no' (default = 'no'), voxel closest to point of interest is calculated and box/sphere is centered around coordinates of that voxel

cfg.runica ft_componentanalysis
substructure with additional low-level options for this method

S

cfg.s1.ampl ft_freqsimulation
amplitude of signal 1

cfg.s1.freq ft_freqsimulation
frequency of signal 1

cfg.s1.phase ft_freqsimulation
phase (in rad) relative to cosine of signal 1 (default depends on method) = number or 'random'

cfg.s2.ampl ft_freqsimulation
amplitude of signal 2

cfg.s2.freq ft_freqsimulation
frequency of signal 2

cfg.s2.phase ft_freqsimulation
phase (in rad) relative to cosine of signal 1 (default depends on method) = number or 'random'

cfg.s3.ampl ft_freqsimulation
amplitude of signal 3

cfg.s3.freq ft_freqsimulation
frequency of signal 3

cfg.s3.phase ft_freqsimulation
phase (in rad) relative to cosine of signal 1 (default depends on method) = number or 'random'

cfg.s4.ampl ft_freqsimulation
amplitude of signal 4

cfg.s4.freq ft_freqsimulation
frequency of signal 4

cfg.s4.phase ft_freqsimulation
phase (in rad) relative to cosine of signal 1 (default depends on method) = number or 'random'

cfg.samperframe ft_movieplotER
number, samples per fram (default = 1)

cfg.scaling ft_volumewrite
'yes' or 'no'

cfg.searchrange ft_recodeevent
'anywhere' search anywhere for the event, (default) 'insidetrial' only search inside 'outsidetrial' only search outside 'beforetrial' only search before the trial 'aftertrial' only search after the trial 'beforezero' only search before time t=0 of each trial 'afterzero' only search after time t=0 of each trial

cfg.selcfg ft_databrowser
configuration options for selfun

cfg.selectfeature ft_databrowser
string, name of feature to be selected/added (default = 'visual')

cfg.selectmode ft_databrowser
string, what to do with a selection, can be 'mark', or 'eval' (default = 'mark') 'mark': artfctdef field is updated, 'eval': the function defined in cfg.selfun is evaluated f.i. browse_movieplotER calls movieplotER which makes a movie of the selected data

cfg.selfun ft_databrowser
string, name of function which is evaluated if selectmode is set to 'eval'. The selected data and the selcfg are passed on to this function.

cfg.shading ft_topoplotER
'flat' 'interp' (default = 'flat')

cfg.singlesphere ft_prepare_localspheres
'yes' or 'no', fit only a single sphere (default = 'no')

cfg.singletrial ft_sourceanalysis
'no' or 'yes' construct filter from average, apply to single trials

cfg.slicedim ft_sourceplot
dimension to slice 1 (x-axis) 2(y-axis) 3(z-axis) (default = 3)

cfg.slicerange ft_sourceplot
range of slices in data, (default = 'auto') 'auto', full range of data [min max], coordinates of first and last slice in voxels

cfg.smooth ft_prepare_localspheres, ft_volumedownsample, ft_volumesegment
'no' or the FWHM of the gaussian kernel in voxels (default = 'no')

cfg.smooth ft_prepare_singleshell
'no' or the FWHM of the gaussian kernel in voxels (default = 5)

cfg.sourceunits ft_prepare_localspheres
'mm' or 'cm' (default = 'cm')

cfg.sourceunits ft_prepare_singleshell
'mm' or 'cm' (default is 'cm')

cfg.spacemax ft_sliceinterp
'auto' (default) or integer (last slice position)

cfg.spacemin ft_sliceinterp
'auto' (default) or integer (first slice position)

cfg.sphere ft_volumelookup
radius of each sphere in cm/mm dep on unit of input

cfg.spheremesh ft_megplanar, ft_megrealign
number of dipoles in the source layer (default = 642)

cfg.spheremesh ft_headmodelplot
number of vertices for spheres, either 42, 162 or 642

cfg.sphereradius ft_sourceplot
maximum distance from each voxel to the surface to be included in the sphere projection methods, expressed in mm

cfg.spikechannel ft_spiketriggeredaverage, ft_spiketriggeredinterpolation, ft_spiketriggeredspectrum
string, name of single spike channel to trigger on

cfg.spmversion ft_volumenormalise, ft_volumesegment
'spm8' (default) or 'spm2'

cfg.style ft_topoplotER
plot style (default = 'both') 'straight' colormap only 'contour' contour lines only 'both' (default) both colormap and contour lines 'fill' constant color between lines 'blank' only the head shape

cfg.supchan ft_sourceanalysis
suppressed channel label(s)

cfg.supdip ft_sourceanalysis
suppressed dipole location(s)

cfg.supmethod ft_sourcedescriptives
string

cfg.surfdownsample ft_sourceplot
number (default = 1, i.e. no downsampling)

cfg.surffile ft_sourceplot
string, file that contains the surface (default = 'single_subj_T1.mat') 'single_subj_T1.mat' contains a triangulation that corresponds with the SPM anatomical template in MNI coordinates

cfg.surfinflated ft_sourceplot
string, file that contains the inflated surface (default = [])

cfg.surftype ft_headmodelplot
'edges'or 'faces'

cfg.symmetry ft_dipolefitting
'x', 'y' or 'z' symmetry for two dipoles, can be empty (default = [])

T

cfg.t_ftimwin ft_mvaranalysis
the width of the sliding window on which the coefficients are estimated

cfg.t_ftimwin ft_freqanalysis_mtmconvol, ft_freqanalysis_mtmwelch
vector 1 x numfoi, length of time window (in seconds)

cfg.taper ft_freqanalysis_mtmconvol, ft_freqanalysis_mtmfft, ft_freqanalysis_mtmwelch
'dpss', 'hanning' or many others, see WINDOW (default = 'dpss')

cfg.taper ft_spiketriggeredspectrum
'dpss', 'hanning' or many others, see WINDOW (default = 'hanning')

cfg.tapsmofrq ft_freqanalysis_mtmfft
number, the amount of spectral smoothing through multi-tapering. Note that 4 Hz smoothing means plus-minus 4 Hz, i.e. a 8 Hz smoothing box.

cfg.tapsmofrq ft_freqanalysis_mtmconvol, ft_freqanalysis_mtmwelch
vector 1 x numfoi, the amount of spectral smoothing through multi-tapering. Note that 4 Hz smoothing means plus-minus 4 Hz, i.e. a 8 Hz smoothing box.

cfg.template ft_megrealign

cfg.template ft_megrealign
datasets that are averaged into the standard

cfg.template ft_volumenormalise, ft_volumesegment
filename of the template anatomical MRI (default is the 'T1.mnc' (spm2) or 'T1.nii' (spm8) in the (spm-directory)/templates/)

cfg.template ft_electroderealign
list of electrode sets that are averaged into the standard

cfg.template ft_megrealign
single dataset that serves as template

cfg.template ft_electroderealign
single electrode set that serves as standard

cfg.template.elec ft_interactiverealign

cfg.template.grad ft_interactiverealign

cfg.template.headshape ft_interactiverealign

cfg.template.headshapestyle ft_interactiverealign
'surface' (default), 'vertex' or 'both'

cfg.template.label ft_electroderealign
{nasion', 'lpa', 'rpa'} cfg.template.pnt ft_electroderealign
[0 -90 0] % right ear cfg.template.pnt ft_electroderealign
[0 90 0] % left ear cfg.template.pnt ft_electroderealign
[110 0 0] % location of the nose cfg.template.vol ft_interactiverealign
cfg.threshold ft_prepare_localspheres, ft_prepare_singleshell
0.5, relative to the maximum value in the segmentation cfg.time ft_freqsimulation, ft_resampledata
cell-array with one time axis per trial (i.e. from another dataset) cfg.timestampdefinition ft_spikedetection, ft_spikedownsample
'orig' or 'sample' cfg.timwin ft_spiketriggeredinterpolation
[begin end], time around each spike (default = [-0.001 0.002]) cfg.timwin ft_spiketriggeredaverage, ft_spiketriggeredspectrum
[begin end], time around each spike (default = [-0.1 0.1]) cfg.tissue ft_prepare_bemmodel
[1 2 3], segmentation value of each tissue type cfg.tissue ft_prepare_mesh
list with segmentation values corresponding with each compartment cfg.title ft_sliceinterp
optional title (default is
)

cfg.title ft_sourceplot
string, title of the figure window

cfg.toi ft_spikeanalysis
the spike-rate is computed in a window surrounding the time-points in cfg.toi cfg.timwin = window width

cfg.toi ft_freqanalysis_mtmconvol, ft_freqanalysis_mtmwelch, ft_freqanalysis_wltconvol
vector 1 x numtoi, the times on which the analysis windows should be centered (in seconds)

cfg.toilim ft_freqdescriptives, ft_freqgrandaverage
[tmin tmax] or 'all', to specify a subset of latencies (default = 'all')

cfg.toilim ft_redefinetrial
[tmin tmax] to specify a latency window in seconds

cfg.toolbox ft_mvaranalysis
the name of the toolbox containing the function for the actual computation of the ar-coefficients this can be 'biosig' (default) or 'bsmart' you should have a copy of the specified toolbox in order to use mvaranalysis (both can be downloaded directly).

cfg.topo ft_componentanalysis
NxN matrix with a component topography in each column

cfg.topolabel ft_componentanalysis
Nx1 cell-array with the channel labels

cfg.transform ft_sourcedescriptives
string describing the transformation (default is [])

cfg.trialdef ft_definetrial
structure with details of trial definition, see below

cfg.trialdef.eventtype ft_definetrial
'string'

cfg.trialdef.eventvalue ft_definetrial
number, string or list with numbers or strings

cfg.trialdef.poststim ft_definetrial
number, latency in seconds (optional)

cfg.trialdef.prestim ft_definetrial
number, latency in seconds (optional)

cfg.trialfun ft_definetrial
function name, see below

cfg.triallength ft_connectivitysimulation
in seconds

cfg.triallength ft_dipolesimulation
time in seconds

cfg.trials ft_channelnormalise, ft_channelrepair, ft_componentanalysis, ft_denoise_synthetic, ft_freqanalysis_mtmconvol, ft_freqanalysis_mtmfft, ft_freqanalysis_mtmwelch, ft_freqanalysis_tfr, ft_freqanalysis_wltconvol, ft_freqdescriptives, ft_megplanar, ft_preprocessing, ft_redefinetrial, ft_rejectvisual, ft_resampledata, ft_scalpcurrentdensity, ft_timelockanalysis, ft_topoplotER
'all' or a selection given as a 1xN vector (default = 'all')

cfg.trl ft_artifact_zvalue

cfg.trl ft_preprocessing, ft_redefinetrial
Nx3 matrix with the trial definition, see FT_DEFINETRIAL

cfg.trl ft_artifact_eog, ft_artifact_jump, ft_artifact_muscle, ft_databrowser
structure that defines the data segments of interest. See FT_DEFINETRIAL

cfg.trllen ft_freqsimulation
length of simulated trials in seconds

U

V

cfg.variance ft_freqdescriptives
'yes' or 'no', estimate standard error in the standard way (default = 'no')

cfg.vartrllength ft_timelockanalysis
0, 1 or 2 (see below)

cfg.version ft_timelockbaseline

cfg.viewmode ft_databrowser
string, 'butterfly', 'vertical', 'component' (default = 'butterfly')

cfg.vmpversion ft_volumewrite
1 or 2 (default) version of the vmp-format to use

cfg.vol ft_dipolefitting, ft_dipolesimulation, ft_headmodelplot, ft_prepare_leadfield, ft_sourceanalysis
structure with volume conduction model

cfg.vol.o ft_megplanar, ft_megrealign
[x, y, z] position of origin

cfg.vol.r ft_megplanar, ft_megrealign
radius of sphere

cfg.voxelcoord ft_sourceinterpolate
'yes' (default) or 'no' determines whether the downsampled output anatomical MRI will have the x/y/zgrid converted or the homogenous transformation matrix

W

cfg.ward ft_spikesorting
substructure with additional low-level options for this method

cfg.ward.distance ft_spikesorting
'L1', 'L2', 'correlation', 'cosine'

cfg.warp ft_electroderealign
string describing the spatial transformation for the template method 'rigidbody' apply a rigid-body warp (default) 'globalrescale' apply a rigid-body warp with global rescaling 'traditional' apply a rigid-body warp with individual axes rescaling 'nonlin1' apply a 1st order non-linear warp 'nonlin2' apply a 2nd order non-linear warp 'nonlin3' apply a 3rd order non-linear warp 'nonlin4' apply a 4th order non-linear warp 'nonlin5' apply a 5th order non-linear warp

cfg.waveletwidth ft_freqanalysis_tfr
'width' of wavelets expressed in cycles (default = 7)

cfg.whitebg ft_sliceinterp
'yes' or 'no' (default = 'yes')

cfg.width ft_freqanalysis_wltconvol
'width' of the wavelet, determines the temporal and spectral resolution of the analysis (default = 7) constant, for a 'classical constant-Q' wavelet analysis vector, defining a variable width for each frequency

cfg.widthparam ft_topoplotCC
string, parameter to be used to control the line width

cfg.write ft_volumenormalise
'no' (default) or 'yes', writes the segmented volumes to SPM2 compatible analyze-file, with the suffix _anatomy for the anatomical MRI volumeFT_ _param for each of the functional volumes

X

cfg.xlim ft_movieplotER, ft_topoplotER
'maxmin' or [xmin xmax] (default = 'maxmin')

cfg.xparam ft_topoplotER
first dimension in data in which a selection is made 'time' or 'freq' (default depends on data.dimord)

cfg.xrange ft_volumereslice
[min max], in physical units

Y

cfg.yrange ft_volumereslice
[min max], in physical units

Z

cfg.zlim ft_movieplotER, ft_topoplotER
'maxmin', 'maxabs' or [zmin zmax] (default = 'maxmin')

cfg.zparam ft_topoplotER
field that contains the data to be plotted as color 'avg', 'powspctrm' or 'cohspctrm' (default depends on data.dimord)

cfg.zrange ft_volumereslice
[min max], in physical units

cfg.zscale ft_databrowser
[zmin zmax] or 'auto' (default = 'auto')

cfg.zscore ft_mvaranalysis
'no' (default) or 'yes' specifies whether the channel data are z-transformed prior to the model fit. This may be necessary if the magnitude of the signals is very different e.g. when fitting a model to combined MEG/EMG data

cfg.zthresh.mindist ft_spikedetection
mininum distance in samples between detected peaks

cfg.zthresh.neg ft_spikedetection
negative threshold, e.g. -3

cfg.zthresh.offset ft_spikedetection
number of samples before peak (default = 16)

cfg.zthresh.pos ft_spikedetection
positive threshold, e.g. 3

reference/index.txt · Last modified: 2010/07/29 23:12 (external edit)
Back to top
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0