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 page 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).
cfg.Ftest ft_regressconfound
string array, {N X Nconfounds}, to F-test whether the full model explains more variance than reduced models (e.g. {'1 2'; '3 4'; '5'} where iteratively the added value of regressors 1 and 2, and then 3 and 4, etc., are tested)
cfg.absnoise ft_dipolesimulation
add noise with absolute level
cfg.absnoise ft_connectivitysimulation, ft_connectivitysimulation
scalar (default: 1), specifying the standard deviation of white noise superimposed on top of the simulated signals
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_clusterplot
number, highest cluster p-value to be plotted max 0.3 (default = 0.05)
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.analyze ft_qualitycheck
'yes' or 'no' to analyze the dataset (default = 'yes')
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.crittoilim ft_rejectartifact
when using complete rejection, reject trial only when artifacts occur within this time window (default = whole trial) (only works with in-memory data, since trial time axes are unknown for data on disk)
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
z-value at which to threshold (default = 4)
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
z-value at which to threshold (default = 20)
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.minaccepttim ft_rejectartifact
when using partial rejection, minimum length in seconds of remaining trial (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
8
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
z-value at which to threshold (default = 4)
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.baselinewindow 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.demean ft_artifact_zvalue
'no' or 'yes'
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.interactive ft_artifact_zvalue
'yes', a GUI will be started and you can manually accept/reject detected artifacts, and/or change the threshold
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.atlas ft_prepare_atlas
string, filename of the atlas to use
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.axes ft_multiplotER
'yes', 'no' (default = 'yes') Draw x- and y-axes for each graph
cfg.axis ft_sourceplot
'on' or 'off' (default = 'on')
cfg.axlim ft_spike_plot_jpsth
[begin end] in seconds or 'max' (default), 'prestim' or 'poststim';
cfg.badchannel ft_channelrepair
cell-array, see FT_CHANNELSELECTION for details
cfg.baseline ft_multiplotTFR, ft_singleplotTFR
'yes','no' or [time1 time2] (default = 'no'), see FT_FREQBASELINE
cfg.baseline ft_multiplotER, ft_topoplotER, ft_topoplotTFR
'yes','no' or [time1 time2] (default = 'no'), see FT_TIMELOCKBASELINE or FT_FREQBASELINE
cfg.baseline ft_singleplotER
'yes','no' or [time1 time2] (default = 'no'), see ft_timelockbaseline
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_multiplotER, ft_multiplotTFR, ft_singleplotER, ft_singleplotTFR, ft_topoplotER, ft_topoplotTFR
'absolute' or 'relative' (default = 'absolute')
cfg.baselinetype ft_freqbaseline
'absolute', 'relchange' or 'relative' (default = 'absolute')
cfg.baselinewindow ft_combineplanar
[begin end]
cfg.baselinewindow ft_connectivitysimulation, ft_connectivitysimulation
[begin end] in seconds, the default is the complete trial
cfg.baselinewindow ft_preprocessing
[begin end] in seconds, the default is the complete trial (default = 'all')
cfg.begsample ft_redefinetrial
single number or Nx1 vector, expressed in samples relative to the start of the input trial
cfg.biased ft_spike_xcorr
'yes' or 'no' (default). If 'no', we scale the cross-correlogram by M/(M-abs(lags)), where M = 2*N -1 with N the length of the data segment. Although this scaling reduces the bias, it can give a higher variance which might be more problematic in some cases.
cfg.binica.annealdeg ft_componentanalysis
cfg.binica.annealstep ft_componentanalysis
cfg.binica.bias ft_componentanalysis
cfg.binica.blocksize ft_componentanalysis
cfg.binica.extended ft_componentanalysis
cfg.binica.filenum ft_componentanalysis
cfg.binica.lrate ft_componentanalysis
cfg.binica.maxsteps ft_componentanalysis
cfg.binica.momentum ft_componentanalysis
cfg.binica.pca ft_componentanalysis
cfg.binica.posact ft_componentanalysis
cfg.binica.sphering ft_componentanalysis
cfg.binica.stop ft_componentanalysis
cfg.binica.verbose ft_componentanalysis
cfg.binica.weightsin ft_componentanalysis
cfg.bins ft_spike_isihist
vector of isi bins.
cfg.binsize ft_spike_xcorr
[binsize] in sec (default = 0.001 sec).
cfg.binsize ft_spike_psth
[binsize] in sec (default = 0.025 sec);
cfg.blocksize ft_databrowser
duration in seconds for cutting the data up, only aplicable for continuous data
cfg.bootstrap ft_sourceanalysis
'no' or 'yes' bootstrap resampling of trials
cfg.box ft_multiplotTFR
'yes', 'no' (default = 'no' if maskparameter given default = 'yes') Draw a box around each graph
cfg.box ft_multiplotER
'yes', 'no' (default = 'no') Draw a box around each graph
cfg.box ft_volumelookup
Nx3 vector, size of each box in cm/mm dep on unit of input
cfg.bpfilter ft_preprocessing
'no' or 'yes' bandpass filter (default = 'no')
cfg.bpfilter ft_connectivitysimulation, ft_connectivitysimulation
'yes' (or 'no')
cfg.bpfiltord ft_preprocessing
bandpass filter order (default set in low-level function)
cfg.bpfilttype ft_preprocessing
digital filter type, 'but' or 'fir' or 'firls' (default = 'but')
cfg.bpfreq ft_connectivitysimulation, ft_connectivitysimulation
[bplow bphigh] (default: [15 25])
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 set in low-level function)
cfg.bsfilttype ft_preprocessing
digital filter type, 'but' or 'fir' or 'firls' (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)
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, ft_sensorrealign
'yes' or 'no', determines whether string comparisons between electrode labels are case sensitive (default = 'yes')
cfg.chanavg ft_spike_phaselockstat
'yes' or 'no' (default).
cfg.chanavg ft_spiketriggeredspectrum_tfr
'yes' or 'no' (default): average over chans.
cfg.channel ft_mvaranalysis
'all' (default) or list of channels for which an mvar model is fitted. (Do NOT specify if cfg.channelcmb is defined)
cfg.channel ft_stratify
'all' or list with indices ( default = 'all')
cfg.channel ft_connectivityanalysis
Nx1 cell-array containing a list of channels which are used for the subsequent computations. This only has an effect when the input data is univariate. See FT_CHANNELSELECTION
cfg.channel ft_spike_phaselockstat
Nx1 cell-array or numerical array with selection of channels (default = 'all'),See CHANNELSELECTION for details
cfg.channel ft_spiketriggeredspectrum_tfr
Nx1 cell-array or numerical array with selection of channels (default = 'all'). See FT_CHANNELSELECTION for details
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, ft_freqdescriptives, ft_freqgrandaverage, ft_freqstatistics, ft_multiplotER, ft_multiplotTFR, ft_prepare_leadfield, ft_preprocessing, ft_rejectvisual, ft_sensorrealign, ft_singleplotTFR, ft_sourceanalysis, ft_spikedownsample, ft_spikesplitting, ft_spiketriggeredaverage, ft_spiketriggeredinterpolation, ft_spiketriggeredspectrum, ft_timelockanalysis, ft_timelockgrandaverage, ft_timelockstatistics, ft_topoplotER, ft_topoplotTFR
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.channel ft_connectivityplot
list of channels to be included for the plotting (default = 'all'), see FT_CHANNELSELECTION for details
cfg.channel ft_singleplotER
nx1 cell-array with selection of channels (default = 'all'), see ft_channelselection for details
cfg.channel ft_denoise_pca
the channels to be denoised (default = 'MEG')
cfg.channelcmb ft_freqanalysis, ft_spike_jpsth, ft_spike_xcorr
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_connectivityanalysis
Nx2 cell-array containing the channel combinations on which to compute the connectivity. This only has an effect when the input data is univariate. See FT_CHANNELCOMBINATION
cfg.channelcmb ft_mvaranalysis
specify channel combinations as a two-column cell array with channels in each column between which a bivariate model will be fit (overrides cfg.channel)
cfg.channelcmb ft_spike_plot_jpsth
string or index of single channel combination to trigger on. See SPIKESTATION_FT_SUB_CHANNELCOMBINATION for details.
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.chanscale ft_databrowser
Nx1 vector with scaling factors, one per channel specified in cfg.channel
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.cmapneurons ft_spike_plot_raster
'auto' (default), or nUnits-by-3 matrix, or cell array with color strings (e.g., {'k' 'r' 'b'}). If 'auto', we are using a private colormap that has good visibility on white background.
cfg.cohmethod ft_sourcedescriptives
'regular', 'lambda1', 'canonical'
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, ft_topoplotIC, ft_topoplotTFR
'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_spike_plot_jpsth
'yes' (default) or 'no'
cfg.colorbar ft_sourceplot
'yes' or 'no' (default = 'yes')
cfg.colorbar ft_multiplotTFR
'yes', 'no' (default = 'no')
cfg.colorbar ft_singleplotTFR
'yes', 'no' (default = 'yes')
cfg.colorgroups ft_databrowser
'sequential' 'allblack' 'labelcharx' (x = xth character in label), 'chantype' or vector with length(data/hdr.label) defining groups (default = 'sequential')
cfg.colormap ft_spike_plot_isireturn
N-by-3 colormap (see COLORMAP). Default = hot(256);
cfg.colormap ft_spike_plot_jpsth
N-by-3 colormap (see COLORMAP). or 'auto' (default,hot(256))
cfg.colormap ft_multiplotTFR, ft_singleplotTFR, ft_topoplotER, ft_topoplotIC, ft_topoplotTFR
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_topoplotTFR
string 'no' 'auto' or 'xlim' (default = 'auto') 'auto': date, xparam and parameter limits are printed 'xlim': only xparam limits are printed
cfg.comment ft_topoplotER, ft_topoplotIC
string 'no' 'auto' or 'xlim' (default = 'auto') 'auto': date, xparam and zparam limits are printed 'xlim': only xparam limits are printed
cfg.comment ft_multiplotER
string of text (default = date + colors) Add 'comment' to graph (according to COMNT in the layout)
cfg.comment ft_multiplotTFR
string of text (default = date + zlimits) Add 'comment' to graph (according to COMNT in the layout)
cfg.commentpos ft_topoplotER, ft_topoplotIC, ft_topoplotTFR
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.comparisontype ft_freqcomparison
'absolute' 'relchange' 'relative' (default = 'absolute')
cfg.complex ft_connectivityanalysis
'abs' (default), 'angle', 'complex', 'imag', 'real', '-logabs', support for method 'coh', 'csd', 'plv'
cfg.component ft_dipolefitting
array with numbers (can be empty → all)
cfg.component ft_topoplotIC
field that contains the independent component(s) to be plotted as color
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_surface Couter_skull_surface Cinner_skull_surface]
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.confound ft_regressconfound
matrix, [Ntrials X Nconfounds]
cfg.continuous ft_artifact_zvalue
cfg.continuous ft_databrowser
'yes' or 'no' whether the data should be interpreted as continuous or trial-based
cfg.continuous ft_artifact_clip, ft_artifact_ecg, ft_artifact_eog, ft_artifact_jump, ft_artifact_muscle, ft_artifact_threshold
'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
'spm, 'ctf' or empty for interactive (default = [])
cfg.coordsys ft_volumerealign
'ctf' (default when specifying cfg.method = 'interactive' or 'fiducial') or 'spm' (default when specifying cfg.method = 'landmark'). Specifies the coordinate system of the head. This string specifies the origin and the axes of the coordinate system. supported coordinate systems are: 'ctf', '4d', 'yokogawa', 'neuromag', 'itab' 'spm', 'tal'.
cfg.coordsys ft_sourceplot
'mni' or 'tal', coordinate system of the input data, used to lookup the label from the atlas
cfg.coordsys ft_volumewrite
'spm' or 'ctf', this will only affect the functionality in case filetype = 'analyze', 'vmp', or 'vmr'
cfg.coordsys ft_volumesegment
string, specifying the coordinate system in which the anatomical data is defined. This will be used if the input mri does not contain a coordsys-field. (default = '', which results in the user being forced to evaluate the coordinate system)
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')
cfg.csp.classlabels ft_componentanalysis
vector that assigns a trial to class 1 or 2.
cfg.csp.numfilters ft_componentanalysis
the number of spatial filters to use (default: 6).
cfg.datafile ft_artifact_clip, ft_artifact_ecg, ft_artifact_eog, ft_artifact_jump, ft_artifact_muscle, ft_artifact_threshold, ft_artifact_zvalue
cfg.datafile ft_databrowser, ft_preprocessing
string with the filename
cfg.dataformat ft_artifact_zvalue
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_muscle, ft_artifact_threshold
cfg.dataset ft_qualitycheck
a string (e.g. 'dataset.ds')
cfg.dataset ft_definetrial
pathname to dataset from which to read the events
cfg.dataset ft_databrowser, ft_headmovement, 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_volumewrite
'bit1', 'uint8', 'int16', 'int32', 'float' or 'double'
cfg.delay ft_connectivitysimulation
delay vector between the signals in samples
cfg.delay ft_connectivitysimulation
matrix, [nsignal x number of unobserved signals] specifying the time shift (in samples) between the unobserved signals and the observed signals
cfg.demean ft_componentanalysis
'no' or 'yes' (default = 'yes')
cfg.demean ft_resampledata
'no' or 'yes', baseline correct the data prior to resampling (default = 'no')
cfg.demean ft_preprocessing
'no' or 'yes', whether to apply baseline correction (default = 'no')
cfg.demean ft_rejectcomponent
'no' or 'yes', whether to demean the input data (default = 'yes')
cfg.demean ft_mvaranalysis
'yes' (default) or 'no' explicit removal of DC-offset
cfg.demean ft_connectivitysimulation, ft_connectivitysimulation
'yes' (or 'no')
cfg.demean ft_combineplanar
'yes' or 'no' (default)
cfg.density ft_spike_plot_isireturn
'yes' or 'no', if 'yes', we will use color shading on top of the individual datapoints to indicate the density.
cfg.derivative ft_preprocessing
'no' or 'yes', computes the first order derivative of the data (default = 'no')
cfg.design ft_freqstatistics
Nxnumobservations: design matrix (for examples/advice, please see the Fieldtrip wiki, especially cluster-permutation tutorial and the 'walkthrough' design-matrix section)
cfg.design ft_spike_rate_condition
should be an 1 x nTrials array, with an integer value for every condition
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', remove linear trend from the data (done per 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_volumereslice
[nx ny nz], size of the volume in each direction
cfg.dim ft_sliceinterp
integer value, default is 3 (dimension to slice)
cfg.dip.amplitude ft_dipolesimulation
per dipole
cfg.dip.frequency ft_dipolesimulation
in Hz
cfg.dip.mom ft_dipolesimulation
[Qx Qy Qz] (size 3xN)
cfg.dip.phase ft_dipolesimulation
in radians
cfg.dip.pos ft_dipolesimulation
[Rx Ry Rz] (size Nx3)
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.directionality ft_multiplotER, ft_multiplotTFR, ft_singleplotER, ft_singleplotTFR, ft_topoplotER, ft_topoplotTFR
'', 'inflow' or 'outflow' specifies for connectivity measures whether the inflow into a node, or the outflow from a node is plotted. The (default) behavior of this option depends on the dimor of the input data (see below).
cfg.distmat ft_sourceplot
precomputed distance matrix (default = [])
cfg.downsample ft_prepare_mesh_new
(optional) integer (1,2, …) defines the level of refinement of the mri data
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_volumesegment
integer, amount of downsampling before segmentation (default = 1; i.e., no downsampling)
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.denf.function ft_componentanalysis
cfg.dss.denf.params ft_componentanalysis
cfg.dt ft_spike_plot_isireturn
resolution of the 2-D histogram, or of the kernel plot. Since we have to smooth for a finite number of values, cfg.dt determines the resolution of our smooth density plot.
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_prepare_sourcemodel
electrode definition
cfg.elec ft_neighbourplot, ft_prepare_neighbours
structure with EEG electrode positions
cfg.elec ft_scalpcurrentdensity
structure with electrode definition
cfg.elec ft_layoutplot, ft_prepare_layout
structure with electrode positions, or
cfg.elecfile ft_neighbourplot, ft_prepare_neighbours
filename containing EEG electrode positions
cfg.elecfile ft_layoutplot, ft_prepare_layout
filename containing electrode positions
cfg.elecfile ft_scalpcurrentdensity
string, file containing the electrode definition
cfg.emgscale ft_databrowser, ft_rejectvisual
number, scaling to apply to the EMG channels prior to display
cfg.ems ft_mvaranalysis
'no' (default) or 'yes' explicit removal ensemble mean
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.equalbinavg ft_stratify
'yes'
cfg.errorbars ft_spike_plot_psth
'no', 'std', 'sem' (default), 'conf95%' (requires statistic toolbox, according to student-T distribution), 'var'
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)
cfg.fastica.a1 ft_componentanalysis
cfg.fastica.a2 ft_componentanalysis
cfg.fastica.approach ft_componentanalysis
cfg.fastica.dewhiteMat ft_componentanalysis
cfg.fastica.displayInterval ft_componentanalysis
cfg.fastica.displayMode ft_componentanalysis
cfg.fastica.epsilon ft_componentanalysis
cfg.fastica.finetune ft_componentanalysis
cfg.fastica.firstEig ft_componentanalysis
cfg.fastica.g ft_componentanalysis
cfg.fastica.initGuess ft_componentanalysis
cfg.fastica.interactivePCA ft_componentanalysis
cfg.fastica.lastEig ft_componentanalysis
cfg.fastica.maxFinetune ft_componentanalysis
cfg.fastica.maxNumIterations ft_componentanalysis
cfg.fastica.mu ft_componentanalysis
cfg.fastica.numOfIC ft_componentanalysis
cfg.fastica.only ft_componentanalysis
cfg.fastica.pcaD ft_componentanalysis
cfg.fastica.pcaE ft_componentanalysis
cfg.fastica.sampleSize ft_componentanalysis
cfg.fastica.stabilization ft_componentanalysis
cfg.fastica.verbose ft_componentanalysis
cfg.fastica.whiteMat ft_componentanalysis
cfg.fastica.whiteSig ft_componentanalysis
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_freqanalysis_mvar
'none', or any of the methods supported by FT_PROGRESS, for providing feedback to the user in the command window.
cfg.feedback ft_electroderealign, ft_prepare_neighbours, ft_sensorrealign
'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.feedback ft_connectivityanalysis
string, specifying the feedback presented to the user. Default is 'none'. See FT_PROGRESS
cfg.fiducial ft_electroderealign, ft_sensorrealign
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_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.fiducial.zpoint ft_volumerealign
[i j k], a point on the positive z-axis. This is an optional 'fiducial', and can be used to determine whether the input voxel coordinate axes are left-handed (i.e. flipped in one of the dimensions). If this additional point is specified, and the voxel coordinate axes are left handed, the volume is flipped to yield right handed voxel axes.
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.filename ft_sourcewrite
string, name of the file
cfg.filetype ft_volumewrite
'analyze', 'nifti', 'nifti_img', 'analyze_spm', 'mgz', 'vmp' or 'vmr'
cfg.fitind ft_prepare_headmodel
(optional)
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_spike_phaselockstat
'all' or numerical vector that specifies a subset of frequencies in Hz (and not in indices!).
cfg.foi ft_topoplotCC
the frequency of interest which is to be plotted (default is the first frequency bin)
cfg.foi ft_freqanalysis, ft_freqanalysis
vector 1 x numfoi, frequencies of interest
cfg.foi ft_freqanalysis, ft_freqanalysis
vector 1 x numfoi, frequencies of interest OR
cfg.foi ft_freqanalysis_mvar
vector with the frequencies at which the spectral quantities are estimated (in Hz). Default: 0:1:Nyquist
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, ft_freqanalysis
[begin end], frequency band of interest
cfg.foilim ft_spiketriggeredspectrum
[begin end], frequency band of interest (default = [0 150])
cfg.foilim ft_freqanalysis, ft_freqanalysis
[begin end], frequency band of interest OR
cfg.foilim ft_spiketriggeredspectrum_tfr
[fbeg fend] in Hz.
cfg.foilim ft_freqdescriptives, ft_freqgrandaverage
[fmin fmax] or 'all', to specify a subset of frequencies (default = 'all')
cfg.fontsize ft_multiplotER, ft_multiplotTFR
font size of comment and labels (if present) (default = 8)
cfg.fontsize ft_singleplotER, ft_singleplotTFR
font size of title (default = 8)
cfg.format ft_spikesplitting
'int16' or 'int32' (default = 'int32')
cfg.framesfile ft_movieplotTFR
[] (optional), no file saved, or 'string', filename of saved frames.mat (default = []);
cfg.framesfile ft_movieplotER
[], no file saved, or 'string', filename of saved frames.mat (default = []);
cfg.framespersec ft_movieplotER, ft_movieplotTFR
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_spikedensity
additional user input that can be used when input is a SPIKE structure, in that case a continuous representation is created using cfg.fsample (default = 1000);
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_spiketriggeredspectrum_tfr
sampling frequency of time-axis: e.g., cfg.fsample = 1000 will make time-points to be separated with 1/1000 = 0.001 sec.
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 = [])
cfg.funparameter ft_sourcemovie
string, functional parameter that is color coded (default = 'avg.pow')
cfg.gammafit ft_spike_isihist
'yes', or 'no' (default), if 'yes', we fit a gamma distribution to the raw isi times.
cfg.gaussvar ft_spike_plot_isireturn, ft_spike_plot_jpsth
variance (default = 1/16 of window length in sec).
cfg.grad ft_prepare_headmodel
cfg.feedback (optional) cfg.radius (optional) cfg.maxradius (optional) cfg.baseline (optional)
cfg.grad ft_prepare_sourcemodel
gradiometer definition
cfg.grad ft_neighbourplot, ft_prepare_neighbours
structure with MEG gradiometer positions
cfg.grad ft_layoutplot, ft_prepare_layout, ft_prepare_localspheres
structure with gradiometer definition, or
cfg.gradfile ft_neighbourplot, ft_prepare_neighbours
filename containing MEG gradiometer positions
cfg.gradfile ft_layoutplot, ft_prepare_layout, ft_prepare_localspheres
filename containing gradiometer definition
cfg.gradient ft_denoise_synthetic
'none', 'G1BR', 'G2BR' or 'G3BR' specifies the gradiometer type to which the data should be changed
cfg.gradscale ft_multiplotTFR
number, scaling to apply to the MEG gradiometer channels prior to display
cfg.gradscale ft_databrowser, ft_rejectvisual
number, scaling to apply to the MEG gradiometer channels prior to display (in addition to the cfg.megscale factor)
cfg.graphcolor ft_multiplotER
color(s) used for plotting the dataset(s) (default = 'brgkywrgbkywrgbkywrgbkyw') alternatively, colors can be specified as Nx3 matrix of RGB values
cfg.graphcolor ft_singleplotER
color(s) used for plotting the dataset(s) (default = 'brgkywrgbkywrgbkywrgbkyw') alternatively, colors can be specified as nx3 matrix of rgb values
cfg.grid ft_dipolefitting
structure, see FT_PREPARE_LEADFIELD
cfg.grid.dim ft_dipolefitting, ft_headmodelplot, ft_prepare_leadfield, ft_prepare_sourcemodel, ft_sourceanalysis
[Nx Ny Nz] vector with dimensions in case of 3-D grid (optional)
cfg.grid.filter ft_prepare_sourcemodel
or alternatively cfg.grid.avg.filter
cfg.grid.inside ft_dipolefitting, ft_headmodelplot, ft_prepare_leadfield, ft_prepare_sourcemodel, ft_sourceanalysis
vector with indices of the sources inside the brain (optional)
cfg.grid.lbex ft_prepare_sourcemodel
cfg.grid.leadfield ft_prepare_sourcemodel
cfg.grid.outside ft_dipolefitting, ft_headmodelplot, ft_prepare_leadfield, ft_prepare_sourcemodel, ft_sourceanalysis
vector with indices of the sources outside the brain (optional)
cfg.grid.pos ft_prepare_sourcemodel
N*3 matrix with position of each source
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_prepare_sourcemodel, ft_sourceanalysis
number (e.g. 1 cm) for automatic grid generation
cfg.grid.subspace ft_prepare_sourcemodel
cfg.grid.tight ft_prepare_sourcemodel
'yes' or 'no' (default is automatic)
cfg.grid.xgrid ft_dipolefitting, ft_headmodelplot, ft_prepare_leadfield, ft_prepare_sourcemodel, ft_sourceanalysis
vector (e.g. -20:1:20) or 'auto' (default = 'auto')
cfg.grid.ygrid ft_dipolefitting, ft_headmodelplot, ft_prepare_leadfield, ft_prepare_sourcemodel, ft_sourceanalysis
vector (e.g. -20:1:20) or 'auto' (default = 'auto')
cfg.grid.zgrid ft_dipolefitting, ft_headmodelplot, ft_prepare_leadfield, ft_prepare_sourcemodel, ft_sourceanalysis
vector (e.g. 0:1:20) or 'auto' (default = 'auto')
cfg.gridscale ft_topoplotER, ft_topoplotIC, ft_topoplotTFR
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
determines the length of the used wavelets in standard deviations of the implicit Gaussian kernel and should be choosen >= 3; (default = 3)
cfg.gwidth ft_freqanalysis
determines the length of the used wavelets in standard deviations of the implicit Gaussian kernel and should be choosen >= 3; (default = 3) The standard deviation in the frequency domain (sf) at frequency f0 is defined as: sf = f0/width The standard deviation in the temporal domain (st) at frequency f0 is defined as: st = width/f0 = 1/sf
cfg.hdmfile ft_prepare_bemmodel
string, file containing the volume conduction model (can be empty)
cfg.headerfile ft_artifact_muscle, ft_artifact_threshold, ft_artifact_zvalue
cfg.headerfile ft_databrowser, ft_preprocessing
string with the filename
cfg.headerformat ft_artifact_zvalue
cfg.headshape ft_prepare_mesh
(optional) a filename containing headshape, a Nx3 matrix with surface points, or a structure with a single or multiple boundaries
cfg.headshape ft_prepare_concentricspheres, ft_prepare_mesh_new
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, ft_prepare_sourcemodel, ft_sensorrealign
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.headshape ft_prepare_sourcemodel
string, should be a *.fif file
cfg.hemisphere ft_sourcestatistics
'left', 'right', 'both', 'combined', specifying this is required when averaging over regions
cfg.highlight ft_topoplotIC, ft_topoplotTFR
'on', 'labels', 'numbers', 'off'
cfg.highlightchannel ft_topoplotIC, ft_topoplotTFR
Nx1 cell-array with selection of channels, or vector containing channel indices see FT_CHANNELSELECTION
cfg.highlightcolor ft_topoplotER, ft_topoplotIC, ft_topoplotTFR
highlight marker color (default = [0 0 0] (black))
cfg.highlightcolorneg ft_clusterplot
color of highlight marker for negative clusters default = [0 0 0]
cfg.highlightcolorpos ft_clusterplot
color of highlight marker for positive clusters default = [0 0 0]
cfg.highlightfontsize ft_topoplotER, ft_topoplotIC, ft_topoplotTFR
highlight marker size (default = 8)
cfg.highlightseries ft_clusterplot
1×5 cell-array, highlight option series ('on','labels','numbers') default {'on','on','on','on','on'} for p < [0.01 0.05 0.1 0.2 0.3]
cfg.highlightsize ft_topoplotER, ft_topoplotIC, ft_topoplotTFR
highlight marker size (default = 6)
cfg.highlightsizeseries ft_clusterplot
1×5 vector, highlight marker size series default [6 6 6 6 6] for p < [0.01 0.05 0.1 0.2 0.3]
cfg.highlightsymbol ft_topoplotER, ft_topoplotIC, ft_topoplotTFR
highlight marker symbol (default = 'o')
cfg.highlightsymbolseries ft_clusterplot
1×5 vector, highlight marker symbol series default ['*','x','+','o','.'] for p < [0.01 0.05 0.1 0.2 0.3]
cfg.hilbert ft_preprocessing
'no', 'abs', 'complex', 'real', 'imag', 'absreal', 'absimag' or 'angle' (default = 'no')
cfg.hotkeys ft_multiplotTFR, ft_singleplotTFR, ft_topoplotER, ft_topoplotTFR
enables hotkeys (up/down arrows) for dynamic colorbar adjustment
cfg.hotkeys ft_singleplotER
enables hotkeys (up/down/left/right arrows) for dynamic x/y axis translation (Ctrl+) and zoom adjustment
cfg.hpfilter ft_preprocessing
'no' or 'yes' highpass filter (default = 'no')
cfg.hpfiltord ft_preprocessing
highpass filter order (default set in low-level function)
cfg.hpfilttype ft_preprocessing
digital filter type, 'but' or 'fir' or 'firls' (default = 'but')
cfg.hpfreq ft_preprocessing
highpass frequency in Hz
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_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_appenddata, ft_artifact_clip, ft_artifact_ecg, ft_artifact_eog, ft_artifact_jump, ft_artifact_muscle, ft_artifact_threshold, ft_channelnormalise, ft_channelrepair, ft_clusterplot, ft_combineplanar, ft_componentanalysis, ft_connectivityanalysis, ft_denoise_synthetic, ft_dipolefitting, ft_examplefunction, ft_freqanalysis, ft_freqanalysis_mvar, ft_freqdescriptives, ft_freqgrandaverage, ft_freqinterpolate, ft_freqstatistics, ft_headmodelplot, ft_lateralizedpotential, ft_layoutplot, ft_megplanar, ft_megrealign, ft_movieplotER, ft_movieplotTFR, ft_multiplotER, ft_multiplotTFR, ft_mvaranalysis, ft_prepare_leadfield, ft_prepare_localspheres, ft_prepare_mesh, ft_prepare_mesh_new, ft_prepare_singleshell, ft_preprocessing, ft_redefinetrial, ft_regressconfound, ft_rejectartifact, ft_rejectcomponent, ft_rejectvisual, ft_resampledata, ft_scalpcurrentdensity, ft_singleplotER, ft_sourceanalysis, ft_sourcedescriptives, ft_sourcegrandaverage, ft_sourceinterpolate, ft_sourcemovie, ft_sourceplot, ft_sourcewrite, ft_timelockanalysis, ft_timelockbaseline, ft_timelockgrandaverage, ft_timelockstatistics, ft_topoplotCC, ft_topoplotTFR, ft_volumedownsample, ft_volumenormalise, ft_volumereslice, ft_volumesegment, ft_volumewrite
…
cfg.inputfile ft_networkanalysis, ft_volumerealign
… cfg.outputfile = …
cfg.interactive ft_prepare_mesh, ft_prepare_mesh_new
'no' (default) or 'yes' (manual interaction)
cfg.interactive ft_movieplotTFR
'no' or 'yes', make it interactive
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_multiplotER, ft_multiplotTFR, ft_singleplotTFR, ft_topoplotER, ft_topoplotTFR
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.interactive ft_singleplotER
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, ft_topoplotIC, ft_topoplotTFR
limits for interpolation (default = 'head') 'electrodes' to furthest electrode 'head' to edge of head
cfg.interpmethod ft_sourceinterpolate
'linear', 'cubic', 'nearest' or 'spline' when interpolating two 3D volumes onto each other (default = 'linear')
cfg.interpmethod ft_sourceinterpolate
'nearest', 'sphere_avg' or 'smudge' when interpolating a point cloud onto a 3D volume, a 3D volume onto a point cloud, or a point cloud with another point cloud (default = 'nearest')
cfg.interpolate ft_spike_plot_isireturn, ft_spike_plot_jpsth
'yes' or 'no', determines whether we interpolate the density plot
cfg.interpolation ft_topoplotER, ft_topoplotIC, ft_topoplotTFR
'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_prepare_sourcemodel
depth of the bounding layer for the source space, relative to the head model surface (default = 0)
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_headmodel
(optional)
cfg.isolatedsource ft_prepare_bemmodel
compartment number, or 0
cfg.jackknife ft_mvaranalysis
'no' (default) or 'yes' specifies whether the coefficients are estimated for all leave-one-out sets of trials
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')
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
'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_spike_xcorr
'yes' or 'no' (default)
cfg.keeptrials ft_spike_jpsth, ft_spike_psth, ft_spike_rate
'yes' or 'no' (default).
cfg.keeptrials ft_spikedensity
'yes' or 'no' (default). If 'yes', we store the trials in a matrix in output SDF as well.
cfg.keeptrials ft_freqdescriptives
'yes' or 'no', estimate single trial power (useful for fourier data) (default = 'no')
cfg.keeptrials ft_freqanalysis, ft_spiketriggeredaverage, ft_timelockanalysis
'yes' or 'no', return individual trials or average (default = 'no')
cfg.kernel ft_spike_plot_isireturn, ft_spike_plot_jpsth
'gausswin' or 'boxcar', or N-by-N matrix containing window values with which we convolve the scatterplot that is binned with resolution cfg.dt. N should be uneven, so it can be centered at each point of the lattice. 'gausswin' is N-by-N multivariate gaussian, where the diagonal of the covariance matrix is set by cfg.gaussvar. 'boxcar' is N-by-N rectangular window. If cfg.kernel is numeric, it should be of size N-by-N.
cfg.kmeans ft_spikesorting
substructure with additional low-level options for this method
cfg.kurtosis ft_sourcedescriptives
'yes' or 'no' (default = 'no')
cfg.lambda ft_sourceanalysis
number or empty for automatic default
cfg.landmark.ac ft_volumerealign
[i j k], position of anterior commissure
cfg.landmark.pc ft_volumerealign
[i j k], position of posterior commissure
cfg.landmark.xzpoint ft_volumerealign
[i j k], point on the midsagittal-plane with positive Z-coordinate, i.e. interhemispheric point above ac and pc
cfg.latency ft_spikedetection, ft_spikedownsample
[b1 e1; b2 e2; …]
cfg.latency ft_spiketriggeredspectrum_tfr
[beg end] in sec, or 'maxperiod' (default), 'poststim' or 'prestim'. This determines the start and end of time-vector.
cfg.latency ft_spike_phaselockstat
[beg end] in sec, or 'maxperiod', 'poststim' or 'prestim'. This determines the start and end of time-vector.
cfg.latency ft_spike_rate
[begin end] in seconds 'maxperiod' (default) 'minperiod', i.e., the minimal period all trials share 'prestim' (all t⇐0) 'poststim' (all t>=0).
cfg.latency ft_spike_psth
[begin end] in seconds 'maxperiod' (default), i.e., maximum period available 'minperiod', i.e., the minimal period all trials share 'prestim' (all t⇐0) 'poststim' (all t>=0).
cfg.latency ft_dipolefitting, ft_freqstatistics, ft_timelockgrandaverage, ft_timelockstatistics
[begin end] in seconds or 'all' (default = 'all')
cfg.latency ft_spike_isihist
[begin end] in seconds, 'max' (default), 'min', 'prestim'(t⇐0), or 'poststim' (t>=0). If 'max', we use all available latencies. If 'min', we use only the time window contained by all trials. If 'prestim' or 'poststim', we use time to or from 0.
cfg.latency ft_spike_xcorr
[begin end] in seconds, 'max' (default), 'min', 'prestim'(t⇐0), or 'poststim' (t>=0).%
cfg.latency ft_spikedensity
[begin end] in seconds, 'maxperiod' (default), 'minperiod', 'prestim'(t>=0), or 'poststim' (t>=0).
cfg.latency ft_spike_jpsth, ft_spike_plot_psth
[begin end] in seconds, 'maxperiod' (default), 'prestim'(t⇐0), or 'poststim' (t>=0).
cfg.latency ft_rejectvisual
[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_spike_plot_raster
[begin end]` in seconds, 'maxperiod' (default), 'minperiod', 'prestim' (all t⇐0), or 'poststim' (all t>=0).
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_neighbourplot, ft_prepare_neighbours
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_movieplotTFR, ft_topoplotIC
specification of the layout, see below
cfg.layout ft_multiplotER, ft_multiplotTFR, ft_topoplotER, ft_topoplotTFR
specify the channel layout for plotting using one of the supported ways (see below).
cfg.length ft_redefinetrial
single number (in unit of time, typically seconds) of the required snippets
cfg.linefreq ft_qualitycheck
scalar, frequency of power line (default = 50)
cfg.linestyle ft_multiplotER
linestyle/marker type, see options of the matlab PLOT function (default = '-') can be a single style for all datasets, or a cell-array containing one style for each dataset
cfg.linestyle ft_singleplotER
linestyle/marker type, see options of the matlab plot function (default = '-') can be a single style for all datasets, or a cell-array containing one style for each dataset
cfg.linewidth ft_multiplotER, ft_singleplotER
linewidth in points (default = 0.5)
cfg.linewidth ft_spike_plot_raster
number indicating the width of the lines (default = 1);
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 set in low-level function)
cfg.lpfilttype ft_preprocessing
digital filter type, 'but' or 'fir' or 'firls' (default = 'but')
cfg.lpfreq ft_preprocessing
lowpass frequency in Hz
cfg.magscale ft_multiplotTFR
number, scaling to apply to the MEG magnetometer channels prior to display
cfg.magscale ft_databrowser, ft_rejectvisual
number, scaling to apply to the MEG magnetometer channels prior to display (in addition to the cfg.megscale factor)
cfg.markcorner ft_volumewrite
'yes' or 'no', mark the first corner of the volume
cfg.marker ft_topoplotIC, ft_topoplotTFR
'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, ft_topoplotIC, ft_topoplotTFR
channel marker color (default = [0 0 0] (black))
cfg.markerfontsize ft_topoplotIC, ft_topoplotTFR
font size of channel labels (default = 8 pt)
cfg.markersize ft_topoplotER, ft_topoplotIC, ft_topoplotTFR
channel marker size (default = 2)
cfg.markersize ft_sliceinterp
radius of markers (default = 5);
cfg.markersymbol ft_topoplotER, ft_topoplotIC, ft_topoplotTFR
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.maskalpha ft_multiplotTFR, ft_singleplotTFR
alpha value used for masking areas dictated by cfg.maskparameter (0 - 1, default = 1)
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.masknans ft_multiplotTFR, ft_singleplotTFR
'yes' or 'no' (default = 'yes')
cfg.maskparameter ft_singleplotTFR
field in the data to be used for masking of data (not possible for mean over multiple channels, or when input contains multiple subjects or trials)
cfg.maskparameter ft_multiplotTFR
field in the data to be used for opacity masking of data
cfg.maskparameter ft_multiplotER
field in the first dataset to be used for marking significant data
cfg.maskparameter ft_singleplotER
field in the first dataset to be used for masking of data (not possible for mean over multiple channels, or when input contains multiple subjects or trials)
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.maskparameter ft_sourcemovie
string, functional parameter that is used for opacity (default = [])
cfg.maskstyle ft_multiplotER, ft_singleplotER
style used for masking of data, 'box', 'thickness' or 'saturation' (default = 'box')
cfg.maskstyle ft_singleplotTFR
style used to mask nans, 'opacity' or 'saturation' (default = 'opacity') use 'saturation' when saving to vector-format (like *.eps) to avoid all sorts of image-problems
cfg.maskstyle ft_multiplotTFR
style used to mask nans, 'opacity' or 'saturation' (default = 'opacity') use 'saturation' when saving to vector-format (like *.eps) to avoid all sorts of image-problems (currently only possible with a white backgroud)
cfg.match ft_recodeevent
'exact' or 'nearest'
cfg.matfile ft_qualitycheck
a string (e.g. 'previousoutput.mat'), preferably in combination with analyze = 'no'
cfg.maxlag ft_spike_xcorr
number in seconds, indicating the maximum lag for the cross-correlation function in sec (default = 0.1 sec).
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.memory ft_artifact_zvalue
'low' or 'high', whether to be computationally or memory efficient (default = 'high')
cfg.method ft_prepare_bemmodel
'dipoli', 'openmeeg', 'brainstorm' or 'bemcp'
cfg.method ft_prepare_neighbours
'distance', 'triangulation' or 'template' (default = 'distance')
cfg.method ft_scalpcurrentdensity
'finite' for finite-difference method or 'spline' for spherical spline method 'hjorth' for Hjorth approximation method
cfg.method ft_stratify
'histogram' 'splithilo' 'splitlohi' 'splitlolo' 'splithihi' 'equatespike'
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_freqinterpolate
'nan', 'linear' (default = 'nan')
cfg.method ft_componentanalysis
'runica', 'fastica', 'binica', 'pca', 'svd', 'jader', 'varimax', 'dss', 'cca', 'sobi', 'white' or 'csp' (default = 'runica')
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 volume 'interactive', 'fiducial', 'landmark' (see below)
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, 'stats' (soon deprecated) 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, 'crossvalidate' use crossvalidation to compute predictive performance
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. 'wavelet', 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. 'mvar', does a fourier transform on the coefficients of an estimated multivariate autoregressive model, obtained with FT_MVARANALYSIS. In this case, the output will contain a spectral transfer matrix, the cross-spectral density matrix, and the covariance matrix of the innovatio noise.
cfg.method ft_resampledata
interpolation method, see INTERP1 (default = 'pchip')
cfg.method ft_spike_rate_orituning
model to apply, implemented are 'orientation' and 'direction'
cfg.method ft_spikedownsample
resampling method, can be 'resample', 'decimate' or 'downsample'
cfg.method ft_sensorrealign
string representing the method for aligning or placing the electrodes 'fiducial' realign using three fiducials (e.g. NAS, LPA and RPA) 'template' realign the sensors to match a template set 'headshape' realign the sensors to fit the head surface 'interactive' realign manually using a graphical user interface 'manual' manual positioning of the electrodes by clicking in a graphical user interface
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_prepare_headmodel
string that specifies the forward solution, see below cfg.conductivity a number or a vector containing the conductivities of the compartments
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_connectivityanalysis
string, can be '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, support for freq and freqmvar data 'plv', phase-locking value, support for freq and freqmvar data 'powcorr', power correlation, support for freq and source data 'amplcorr', amplitude correlation, support for freq and source data 'granger', granger causality, support for freq and freqmvar data 'dtf', directed transfer function, support for freq and freqmvar data 'pdc', partial directed coherence, support for freq and freqmvar data 'psi', phaseslope index, support for freq and freqmvar data 'wpli', weighted phase lag index (signed one, still have to take absolute value to get indication of strength of interaction. Note: measure has positive bias. Use wpli_debiased to avoid this. 'wpli_debiased' debiased weighted phase lag index (estimates squared wpli) 'ppc' pairwise phase consistency 'wppc' weighted pairwise phase consistency
cfg.method ft_connectivitysimulation
string, can be 'linear_mix', 'mvnrnd', 'ar' (see below)
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 'zvalue' mean and std computed over all time and trials, per channel
cfg.minlength ft_redefinetrial
length in seconds, can be 'maxperlen' (default = [])
cfg.missingchannel ft_channelrepair
cell-array, see FT_CHANNELSELECTION for details
cfg.mix ft_connectivitysimulation
matrix, [nsignal x number of unobserved signals] specifying the mixing from the unobserved signals to the observed signals, or = matrix, [nsignal x number of unobserved signals x number of samples] specifying the mixing from the unobserved signals to the observed signals which changes as a function of time within the trial = cell-arry, [1 x ntrials] with each cell a matrix as specified above, when a trial-specific mixing is required
cfg.model ft_dipolefitting
'moving' or 'regional'
cfg.model ft_regressconfound
string, 'yes' or 'no', whether to add the model to the output (default = 'no')
cfg.montage ft_layoutplot, ft_prepare_layout, ft_preprocessing
'no' or a montage structure (default = 'no')
cfg.moviefreq ft_movieplotTFR
number, movie frames are all time points at the fixed frequency moviefreq (default = []);
cfg.movietime ft_movieplotTFR
number, movie frames are all frequencies at the fixed time movietime (default = []);
cfg.mri ft_prepare_sourcemodel
can be filename, MRI structure or segmented MRI structure
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
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_prepare_neighbours
number, maximum distance between neighbouring sensors (only for 'distance')
cfg.neighbours ft_channelrepair
ft_prepare_neighbours(cfg);
cfg.neighbours ft_freqstatistics, ft_megplanar, ft_scalpcurrentdensity
neighbourhood structure, see FT_PREPARE_NEIGHBOURS
cfg.neighbours ft_neighbourplot
neighbourhood structure, see FT_PREPARE_NEIGHBOURS (optional)
cfg.neighbours ft_channelrepair
neighbourhoodstructure, see also FT_PREPARE_NEIGHBOURS
cfg.noise.ampl ft_freqsimulation
amplitude of noise
cfg.noisecov ft_connectivitysimulation
matrix, [nsignal x nsignal] specifying the covariance matrix of the innovation process
cfg.nonlinear ft_volumenormalise
'yes' (default) or 'no', estimates a nonlinear transformation in addition to the linear affine registration. 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 defined 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.normalization ft_spike_jpsth
'no' (default), or 'yes'. If requested (see cfg.normalization), the joint psth is normalized as in van Aertsen et al. (1989), by D(u,v)/sqrt(D(u,u)*D(v,v) w here D(u,v) is the difference of the average jpsth with the predicted jpsth (see ref. for details), giving a quantity between -1 and 1. Since this method normalizes by the mean across all trials, it can be confounded by latency drifs over trials.
cfg.normalize ft_sourceanalysis
'no' or 'yes' (default = 'no')
cfg.normalize ft_prepare_leadfield
'yes' or 'no' (default = 'no')
cfg.normalize ft_regressconfound
string, 'yes' or 'no', normalization to make the confounds orthogonal (default = 'yes')
cfg.normalizeparam ft_prepare_leadfield
depth normalization parameter (default = 0.5)
cfg.normalizevar 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, number of trials
cfg.numbin ft_stratify
10
cfg.numbootstrap ft_sourceanalysis
number of bootstrap replications (e.g. number of original trials)
cfg.numchans ft_spikefixdmafile
number of channels (default = 256)
cfg.numclusters ft_headmovement
number of segments with constant headposition in which to split the data (default = 12)
cfg.numcomponent ft_componentanalysis
'all' or number (default = 'all')
cfg.numdipoles ft_dipolefitting
number, default is 1
cfg.numiter ft_stratify
2000
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_mesh
1000 800];
cfg.numvertices ft_prepare_mesh_new
[2000 1000 800]; bnd = ft_prepare_mesh(cfg, segment);
cfg.numvertices ft_prepare_bemmodel
[Nskin_surface Nouter_skull_surface Ninner_skull_surface]
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
cfg.numvertices ft_prepare_mesh, ft_prepare_mesh_new
vector, length equal cfg.tissue. e.g. [2000 1000 800];
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.option1 ft_examplefunction
value, explain the value here (default = something)
cfg.option2 ft_examplefunction
value, describe the value here and if needed continue here to allow automatic parsing of the help
cfg.option3 ft_examplefunction
value, explain it here (default is automatic)
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
'pow' return the power-spectra 'powandcsd' return the power and the cross-spectra 'fourier' return the complex Fourier-spectra
cfg.output ft_prepare_mesh
'skull', 'brain'}; segment=ft_volumesegment(cfg, mri); scalp=(segment.scalp)&~(segment.skull | segment.brain); skull=2*(segment.skull); brain=3*(segment.brain); segment.seg=scalp+skull+brain;
cfg.output ft_volumesegment
'skullstrip'; segment = ft_volumesegment(cfg, mri) will generate a skullstripped anatomy based on a brainmask generated from the probabilistic tissue maps. The skull-stripped anatomy is be stored in the field segment.anatomy.
cfg.output ft_volumesegment
'tpm' (default), 'brain', 'skull', 'skullstrip', 'scalp', or any combination of these in a cell-array
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.output ft_volumesegment
{'brain' 'scalp' 'skull'}; segment = ft_volumesegment(cfg, mri) will produce a volume with 3 binary masks, representing the brain surface, scalp surface, and skull
cfg.output ft_prepare_mesh_new
{'scalp', 'skull', 'brain'};
cfg.outputfile ft_appenddata, ft_channelnormalise, ft_channelrepair, ft_combineplanar, ft_componentanalysis, ft_connectivityanalysis, ft_denoise_synthetic, ft_dipolefitting, ft_examplefunction, ft_freqanalysis, ft_freqanalysis_mvar, ft_freqdescriptives, ft_freqgrandaverage, ft_freqinterpolate, ft_freqstatistics, ft_lateralizedpotential, ft_megplanar, ft_megrealign, ft_mvaranalysis, ft_prepare_localspheres, ft_prepare_mesh, ft_preprocessing, ft_redefinetrial, ft_regressconfound, ft_rejectcomponent, ft_rejectvisual, ft_resampledata, ft_scalpcurrentdensity, ft_sourceanalysis, ft_sourcedescriptives, ft_sourcegrandaverage, ft_sourceinterpolate, ft_timelockanalysis, ft_timelockbaseline, ft_timelockgrandaverage, ft_timelockstatistics, ft_volumedownsample, ft_volumenormalise, ft_volumereslice, ft_volumesegment
…
cfg.outputunit ft_spike_xcorr
'proportion' (value in each bin indicates proportion of occurence) 'center' (values are scaled to center value which is set to 1) 'raw' (default) unnormalized crosscorrelogram.
cfg.outputunit ft_spike_psth, ft_spike_rate
'rate' (default) or 'spike'. If 'rate', we convert the output per trial to firing rates (spikes/sec). If 'spike', we count the number spikes per trial.
cfg.outputunit ft_spikedensity
'rate' (default) or 'spikecount'. This determines the physical unit of our spikedensityfunction, either in firing rate or in spikecount.
cfg.outputunit ft_spike_isihist
'spikecount' (default) or 'proportion' (sum of all bins = 1).
cfg.overlap ft_redefinetrial
single number (between 0 and 1 (exclusive)) specifying the fraction of overlap between snippets (0 = no overlap)
cfg.pad ft_freqanalysis
number or 'maxperlen', length in seconds to which the data can be padded out (default = 'maxperlen') The padding will determine your spectral resolution. If you want to compare spectra from data pieces of different lengths, you should use the same cfg.pad for both, in order to spectrally interpolate them to the same spectral resolution. Note that this will run very slow if you specify cfg.pad as maxperlen AND the number of samples turns out to have a large prime factor sum. This is because the FFTs will then be computed very inefficiently.
cfg.padding ft_preprocessing
length to which the trials are padded for filtering (default = 0)
cfg.pairtrials ft_stratify
'spikesort', 'linkage' or 'no' (default = 'spikesort')
cfg.param ft_freqbaseline
field for which to apply baseline normalization, or cell array of strings to specify multiple fields to normalize (default = 'powspctrm')
cfg.parameter ft_volumerealign
'anatomy' the parameter which is used for the visualization
cfg.parameter ft_volumenormalise
cell-array with the functional data which has to be normalised (default = 'all')
cfg.parameter ft_topoplotER, ft_topoplotTFR
field that contains the data to be plotted as color 'avg', 'powspctrm' or 'cohspctrm' (default depends on data.dimord)
cfg.parameter ft_multiplotER, ft_singleplotER
field to be plotted on y-axis (default depends on data.dimord) 'avg', 'powspctrm' or 'cohspctrm'
cfg.parameter ft_singleplotTFR
field to be plotted on z-axis, e.g. 'powspcrtrm' (default depends on data.dimord)
cfg.parameter ft_freqstatistics
string (default = 'powspctrm')
cfg.parameter ft_timelockstatistics
string (default = 'trial' or 'avg')
cfg.parameter ft_freqgrandaverage
string or cell-array of strings indicating which parameter(s) to average. default is set to 'powspctrm', if it is present in the data.
cfg.parameter ft_networkanalysis
string specifying the bivariate parameter in the data for which the graph measure will be computed.
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.parameter ft_sourcewrite
string, functional parameter to be written to file
cfg.parameter ft_movieplotER, ft_movieplotTFR
string, parameter that is color coded (default = 'avg')
cfg.parameter ft_connectivityplot
string, the functional parameter to be plotted (default = 'cohspctrm')
cfg.params ft_connectivitysimulation
matrix, [nsignal x nsignal x number of lags] specifying the autoregressive coefficient parameters. A non-zero element at cfg.params(i,j,k) means a directional influence from signal j onto signal i (at lag k).
cfg.partchannel ft_connectivityanalysis
cell-array containing a list of channels that need to be partialized out, support for method 'coh', 'csd', 'plv'
cfg.permutation ft_sourceanalysis
'no' or 'yes'
cfg.pertrial ft_denoise_pca
'no' (default) or 'yes'. Regress out the references on a per trial basis
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.ploteventlabels ft_databrowser
'type=value', 'colorvalue' (default = 'type=value');
cfg.plotfit ft_spike_plot_isi
'yes' (default) or 'no'. This requires that when calling FT_SPIKESTATION_ISI, cfg.gammafit = 'yes'.
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.plotlabels ft_databrowser
'yes' (default), 'no', 'some'; whether to plot channel labels in vertical viewmode ('some' plots one in every ten labels; useful when plotting a large number of channels at a time)
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.plotunit ft_qualitycheck
the length of time to be plotted in one panel (default = 3600)
cfg.polyorder ft_preprocessing
polynome order for poly trend removal (default = 2; note that all lower-order trends will also be removed when using cfg.polyremoval)
cfg.polyremoval ft_preprocessing
'no' or 'yes', remove higher order trend from the data (done per trial) (default = 'no')
cfg.polyremoval ft_freqanalysis
number (default = 0), specifying the order of the polynome which is fitted and subtracted from the time domain data prior to the spectral analysis. For example, a value of 1 corresponds to a linear trend. The default is a mean subtraction, thus a value of 0. If no removal is requested, specify -1. see FT_PREPROC_POLYREMOVAL for details
cfg.powmethod ft_sourcedescriptives
'regular', 'lambda1', 'trace', 'none'
cfg.powweighted ft_spike_phaselockstat
'yes' or 'no' (default). If 'yes', we average across channels by weighting by the LFP power.
cfg.precision ft_preprocessing
'single' or 'double' (default = 'double')
cfg.preproc.baselinewindow ft_spikedetection, ft_spikedownsample
[begin end] in seconds, the default is the complete trial
cfg.preproc.boxcar ft_rejectvisual
0.2
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.bpfilter ft_rejectvisual, ft_rejectvisual
'yes'
cfg.preproc.bpfiltord ft_rejectvisual
4
cfg.preproc.bpfiltord ft_rejectvisual
8
cfg.preproc.bpfiltord ft_spikedetection, ft_spikedownsample
bandpass filter order
cfg.preproc.bpfilttype ft_rejectvisual, ft_rejectvisual
'but'
cfg.preproc.bpfilttype ft_spikedetection, ft_spikedownsample
digital filter type, 'but' (default) or 'fir'
cfg.preproc.bpfreq ft_rejectvisual
[1 15]
cfg.preproc.bpfreq ft_rejectvisual
[110 140]
cfg.preproc.bpfreq ft_spikedetection, ft_spikedownsample
bandpass frequency range, specified as [low high] in Hz
cfg.preproc.demean ft_spikedetection, ft_spikedownsample
'no' or 'yes'
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.preproc.rectify ft_rejectvisual, ft_rejectvisual
'yes'
cfg.projcomb ft_sourceplot
'mean', 'max', method to combine the different
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', 'project', 'sphere_avg', 'sphere_weighteddistance'
cfg.projthresh ft_sourceplot
implements thresholding on the surface level (cfg.projthresh = 0.7 means 70% of maximum)
cfg.projvec ft_sourceplot
vector (in mm) to allow different projections that are combined with the method specified in cfg.projcomb
cfg.projweight ft_sourceplot
vector of weights for the different projections (default: 1)
cfg.pruneratio ft_megplanar
for singular values, default is 1e-3
cfg.pseudovalue ft_sourceanalysis
'no' or 'yes' pseudovalue resampling of trials
cfg.psth ft_spike_plot_jpsth
'yes' (default) or 'no'. If 'yes', the psth histogram is down the x and left from the y axis.
cfg.queryrange ft_sourceplot
number, in atlas voxels (default 3)
cfg.radius ft_prepare_localspheres
number, which points to select for each channel (default = 7 cm)
cfg.randomization ft_sourceanalysis
'no' or 'yes'
cfg.randomseed ft_componentanalysis
comp.cfg.callinfo.randomseed (from previous call)
cfg.randomseed ft_componentanalysis
integer seed value of user's choice
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.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.refchannel ft_multiplotER, ft_multiplotTFR, ft_singleplotER, ft_singleplotTFR, ft_topoplotER, ft_topoplotTFR
name of reference channel for visualising connectivity, can be 'gui'
cfg.refchannel ft_denoise_pca
the channels used as reference signal (default = 'MEGREF')
cfg.refdip ft_sourceanalysis
reference dipole location (for coherence)
cfg.reject ft_regressconfound
vector, [1 X Nconfounds], listing the confounds that are to be rejected (default = 'all')
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.removemean ft_connectivityanalysis
'yes' (default), or 'no', support for method 'powcorr' and 'amplcorr'.
cfg.renderer ft_sourceplot
'painters', 'zbuffer',' opengl' or 'none' (default = 'opengl') When using opacity the OpenGL renderer is required.
cfg.renderer ft_multiplotER, ft_multiplotTFR, ft_singleplotER, ft_singleplotTFR
'painters', 'zbuffer',' opengl' or 'none' (default = [])
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.anneal ft_componentanalysis
cfg.runica.annealdeg ft_componentanalysis
cfg.runica.bias ft_componentanalysis
cfg.runica.block ft_componentanalysis
cfg.runica.extended ft_componentanalysis
cfg.runica.interput ft_componentanalysis
cfg.runica.logfile ft_componentanalysis
cfg.runica.lrate ft_componentanalysis
cfg.runica.maxsteps ft_componentanalysis
cfg.runica.momentum ft_componentanalysis
cfg.runica.pca ft_componentanalysis
cfg.runica.posact ft_componentanalysis
cfg.runica.specgram ft_componentanalysis
cfg.runica.sphering ft_componentanalysis
cfg.runica.stop ft_componentanalysis
cfg.runica.verbose ft_componentanalysis
cfg.runica.weights ft_componentanalysis
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, ft_movieplotTFR
number, samples per fram (default = 1)
cfg.samplepoint ft_prepare_headmodel
cfg.conductivity
cfg.saveaspng ft_clusterplot
string, filename of the output figures (default = 'no')
cfg.savemat ft_qualitycheck
'yes' or 'no' to save the analysis (default = 'yes')
cfg.saveplot ft_qualitycheck
'yes' or 'no' to save the visualization (default = 'yes')
cfg.scaling ft_volumewrite
'yes' or 'no'
cfg.scatter ft_spike_plot_isireturn
'yes' (default) or 'no'. If 'yes', we plot the individual values.
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, ft_topoplotIC, ft_topoplotTFR
'flat' 'interp' (default = 'flat')
cfg.shiftpredictor ft_spike_jpsth
'no' (default) or 'yes'. If 'yes', then JPSTH.AVG, JPSTH.VAR AND JPSTH.DOF will apply to the shiftpredictor, not the jpsth proper.
cfg.shiftpredictor ft_spike_xcorr
'no' (default) or 'yes'. The shift-predictor is calculated from channel x in every trial to the channel y in the previous trial. If two channels are independent, then the shift predictor should give the same correlogram as the raw correlogram calculated from the same trials. Typically, the shift predictor is subtracted from the correlogram.
cfg.showinfo ft_analysisprotocol
string or cell array of strings, information to display in the gui boxes, can be any combination of 'functionname', 'revision', 'matlabversion', 'computername', 'username', 'calltime', 'timeused', 'memused', 'workingdir', 'scriptpath' (default = 'functionname', only display function name). Can also be 'all', show all info. Please note that if you want to show a lot of information, this will require a lot of screen real estate.
cfg.showlabels ft_multiplotER, ft_multiplotTFR
'yes', 'no' (default = 'no')
cfg.showoutline ft_multiplotER, ft_multiplotTFR
'yes', 'no' (default = 'no')
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
'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.smooth ft_volumesegment
'no', or scalar, the FWHM of the gaussian kernel in voxels, default depends on the requested output
cfg.smooth ft_spike_plot_jpsth
'yes' or 'no' (default) If 'yes', we overlay a smooth density plot calculated by non-parametric symmetric kernel smoothing with cfg.kernel.
cfg.smooth ft_prepare_sourcemodel
5, smoothing in voxels
cfg.smoothmethod ft_spike_plot_isireturn
'kernel' (default) or 'hist'. If 'kernel', we overlay a smooth density plot calculated by non-parametric kernel smoothing with cfg.kernel. If 'hist', we overlay a 2-D histogram.
cfg.sobi.n_sources ft_componentanalysis
cfg.sobi.p_correlations ft_componentanalysis
cfg.sourceunits ft_prepare_sourcemodel
'auto' (in which case the sourceunits default to the unit in the sensor description), or 'mm'/'cm'/'dm'/'m'
cfg.sourceunits ft_prepare_sourcemodel
'auto' (in which case the sourceunits default to the unit in the sensor description, if provided). otherwise it defaults to 'cm'
cfg.sourceunits ft_prepare_localspheres
'mm' or 'cm' (default = 'cm')
cfg.sourceunits ft_prepare_singleshell
'mm' or 'cm' (default is 'cm')
cfg.sourceunits ft_prepare_mesh
bnd = ft_prepare_mesh(cfg, segment);
cfg.sourceunits ft_prepare_mesh
e.g. 'mm'
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_spike_psth
See FT_CHANNELSELECTION for details.
cfg.spikechannel ft_spike_phaselockstat
label of ONE unit, according to FT_CHANNELSELECTION
cfg.spikechannel ft_spike_plot_raster, ft_spike_rate
see FT_CHANNELSELECTION for details
cfg.spikechannel ft_spiketriggeredspectrum_tfr
string or cell of single channel to compute stats for
cfg.spikechannel ft_spike_isihist
string or index of single spike channel to trigger on (default = 'all') See FT_CHANNELSELECTION for details
cfg.spikechannel ft_spike_plot_isireturn, ft_spike_plot_psth
string or index of single spike channel to trigger on (default = 1) Only one spikechannel can be plotted at a time.
cfg.spikechannel ft_spike_plot_isi
string or index or logical array to to select 1 spike channel. (default = 1).
cfg.spikechannel ft_spiketriggeredaverage, ft_spiketriggeredinterpolation, ft_spiketriggeredspectrum
string, name of single spike channel to trigger on
cfg.spikelength ft_spike_plot_raster
number >0 and ⇐1 indicating the length of the spike. If cfg.spikelength = 1, then no space will be left between subsequent rows representing trials (row-unit is 1).
cfg.spikesel ft_spike_phaselockstat, ft_spiketriggeredspectrum_tfr
'all' (default) or numerical or logical selection of spikes.
cfg.spmversion ft_volumesegment
'spm8' (default) or 'spm2'
cfg.spmversion ft_volumenormalise
'spm8' or 'spm2' (default = 'spm8')
cfg.statistics ft_regressconfound
string, 'yes' or 'no', whether to add the statistics on the regression weights to the output (default = 'no')
cfg.stimuli ft_spike_rate_orituning
should be an 1 x nConditions array of orientations or directions
cfg.style ft_topoplotER, ft_topoplotIC, ft_topoplotTFR
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, ft_prepare_sourcemodel
'x', 'y' or 'z' symmetry for two dipoles, can be empty (default = [])
cfg.t_ftimwin ft_mvaranalysis
the width of the sliding window on which the coefficients are estimated
cfg.t_ftimwin ft_freqanalysis
vector 1 x numfoi, length of time window (in seconds)
cfg.taper ft_freqanalysis, ft_freqanalysis
'dpss', 'hanning' or many others, see WINDOW (default = 'dpss') For cfg.output='powandcsd', you should specify the channel combinations between which to compute the cross-spectra as cfg.channelcmb. Otherwise you should specify only the channels in cfg.channel.
cfg.taper ft_spiketriggeredspectrum
'dpss', 'hanning' or many others, see WINDOW (default = 'hanning')
cfg.tapsmofrq ft_freqanalysis
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_spiketriggeredspectrum
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. Note: multitapering rotates phases (no problem for consistency)
cfg.tapsmofrq ft_freqanalysis
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.tapsmofrq ft_spike_triggeredspectrum
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.foi = vector 1 x numfoi, frequencies of interest cfg.taper = 'dpss', 'hanning' or many others, see WINDOW (default = 'dpss') cfg.t_ftimwin = vector 1 x numfoi, length of time window (in seconds) cfg.spikechannel = cell-array with selection of channels (default = 'all') see FT_CHANNELSELECTION for details cfg.channel = Nx1 cell-array with selection of channels (default = 'all'), see FT_CHANNELSELECTION for details cfg.borderspikes = 'yes' (default) or 'no'. If 'yes', we process the spikes falling at the border using an LFP that is not centered on the spike. cfg.taperopt = parameter that goes in WINDOW function (only applies to windows like KAISER)
cfg.target ft_sensorrealign
list of electrode or gradiometer sets that are averaged into the standard
cfg.target ft_sensorrealign
single electrode or gradiometer set that serves as standard
cfg.target.label ft_sensorrealign
{'NAS', 'LPA', 'RPA'}
cfg.target.pnt ft_sensorrealign
[0 -90 0] % location of the right ear
cfg.target.pnt ft_sensorrealign
[0 90 0] % location of the left ear
cfg.target.pnt ft_sensorrealign
[110 0 0] % location of the nose
cfg.template ft_megrealign
cfg.template ft_megrealign
datasets that are averaged into the standard
cfg.template ft_volumenormalise
filename of the template anatomical MRI (default = 'T1.mnc' for spm2 or 'T1.nii' for spm8)
cfg.template ft_volumesegment
filename of the template anatomical MRI (default is the 'T1.nii' (spm8) or 'T1.mnc' (spm2) in the (spm-directory)/templates/)
cfg.template ft_electroderealign
list of electrode sets that are averaged into the standard
cfg.template ft_prepare_neighbours
name of the template file, e.g. CTF275_neighb.mat
cfg.template ft_megrealign
single dataset that serves as template
cfg.template ft_electroderealign
single electrode set that serves as standard
cfg.template.chanpos ft_electroderealign
[0 -90 0] % right ear
cfg.template.chanpos ft_electroderealign
[0 90 0] % left ear
cfg.template.chanpos ft_electroderealign
[110 0 0] % location of the nose
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.vol ft_interactiverealign
cfg.threshold ft_prepare_sourcemodel
0.1, relative to the maximum value in the segmentation
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.timestampspersecond ft_spike_maketrials
number of timestaps per second. cfg.timestampspersecond should always be explicitly specified.
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.timwin ft_spikedensity
[begin end], time of the smoothing kernel (default = [-0.1 0.1]) If cfg.winfunc = @alphawin, cfg.timwin(1) will be set to 0.
cfg.tissue ft_prepare_mesh
2 3];
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.tissue ft_prepare_mesh_new
list with segmentation values/names 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_mvaranalysis
[t1 t2 … tx] the time points at which the windows are centered
cfg.toi ft_freqanalysis, ft_freqanalysis
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.topdata ft_spike_plot_raster
output structure from FT_SPIKE_PSTH or FT_SPIKEDENSITY or FT_TIMELOCKANALYSIS. See those functions for more info.
cfg.topolabel ft_componentanalysis
Nx1 cell-array with the channel labels
cfg.topplotfunc ft_spike_plot_raster
'bar' (default) or 'line'.
cfg.topplotsize ft_spike_plot_raster
number ranging from 0 to 1, indicating the proportion of the rasterplot that the top plot will take (e.g., with 0.7 the top plot will be 70% of the rasterplot in size). Default = 0.5.
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.trialdef.triallength ft_definetrial
duration in seconds (can also be 1 or Inf) cfg.trialdef.ntrials = number of trials (can also be 1 or Inf)
cfg.trialfun ft_definetrial
function name, see below (default = 'trialfun_general')
cfg.triallength ft_connectivitysimulation
in seconds
cfg.triallength ft_dipolesimulation
time in seconds
cfg.trials ft_spike_jpsth
'all' (default) or numerical or logical array of to be selected trials.
cfg.trials ft_channelnormalise, ft_channelrepair, ft_componentanalysis, ft_denoise_synthetic, ft_freqanalysis, ft_freqdescriptives, ft_megplanar, ft_multiplotER, ft_multiplotTFR, ft_preprocessing, ft_redefinetrial, ft_rejectvisual, ft_resampledata, ft_scalpcurrentdensity, ft_singleplotTFR, ft_timelockanalysis, ft_topoplotER, ft_topoplotTFR
'all' or a selection given as a 1xN vector (default = 'all')
cfg.trials ft_singleplotER
'all' or a selection given as a 1xn vector (default = 'all')
cfg.trials ft_connectivityanalysis
Nx1 vector specifying which trials to include for the computation. This only has an effect when the input data contains repetitions.
cfg.trials ft_denoise_pca
list of trials that are used (default = 'all')
cfg.trials ft_spikedensity
numeric or logical selection of trials (default = 'all')
cfg.trials ft_spike_isihist, ft_spike_xcorr
numeric selection of trials (default = 'all')
cfg.trials ft_freqstatistics
trials to be included or 'all' (default = 'all')
cfg.trials ft_spike_phaselockstat, ft_spike_psth
vector of indices (e.g., 1:2:10) logical selection of trials (e.g., [1010101010]) 'all' (default), selects all trials
cfg.trials ft_spike_rate
vector of indices (e.g., 1:2:10) logical selection of trials (e.g., [1010101010]) 'all' (default), selects all trials% cfg.trials
cfg.trl ft_artifact_zvalue
cfg.trl ft_headmovement, ft_preprocessing, ft_redefinetrial
Nx3 matrix with the trial definition, see FT_DEFINETRIAL
cfg.trl ft_spike_maketrials
is an nTrials-by-3 matrix. Every row contains start (col 1), end (col 2) and offset of the event trigger in the trial. For example, an offset of -1000 means that the trigger (t = 0 sec) occurred 1000 timestamps after the trial start.
cfg.trl ft_databrowser
structure that defines the data segments of interest, only applicable for trial-based data
cfg.trl ft_artifact_threshold
structure that defines the data segments of interest, see FT_DEFINETRIAL
cfg.trl ft_artifact_ecg, ft_artifact_eog, ft_artifact_jump, ft_artifact_muscle
structure that defines the data segments of interest. See FT_DEFINETRIAL
cfg.trllen ft_freqsimulation
length of simulated trials in seconds
cfg.truncate ft_denoise_pca
optional truncation of the singular value spectrum (default = 'no')
cfg.unit ft_prepare_mesh_new
e.g. 'mm'
cfg.units ft_volumesegment
the physical units in which the output will be expressed. (default = 'mm')
cfg.unmixing ft_componentanalysis
NxN unmixing matrix
cfg.variance ft_freqdescriptives
'yes' or 'no', estimate standard error in the standard way (default = 'no')
cfg.vartriallen ft_spike_psth
'yes' (default) Accept variable trial lengths and use all available trials and the samples in every trial. Missing values will be ignored in the computation of the average and the variance and stored as NaNs in the output PSTH.TRIAL. 'no' Only select those trials that fully cover the window as specified by cfg.latency and discard those trials that do not.
cfg.vartriallen ft_spikedensity
'yes' (default) or 'no'. 'yes' - accept variable trial lengths and use all available trials and the samples in every trial. Missing values will be ignored in the computation of the average and the variance. 'no' - only select those trials that fully cover the window as specified by cfg.latency.
cfg.vartriallen ft_spike_rate, ft_spike_xcorr
'yes' (default) or 'no'. If 'yes' - accept variable trial lengths and use all available trials and the samples in every trial. If 'no' - only select those trials that fully cover the window as specified by cfg.latency and discard those trials that do not.
cfg.vartrllength ft_timelockanalysis
0, 1 or 2 (see below)
cfg.verbose ft_neighbourplot
'yes' or 'no', if 'yes' then the plot callback will include text output
cfg.viewmode ft_databrowser
string, 'butterfly', 'vertical', 'component' for visualizing components e.g. from an ICA (default is 'butterfly')
cfg.visualize ft_qualitycheck
'yes' or 'no' to visualize the analysis (default = 'yes')
cfg.vmpversion ft_volumewrite
1 or 2 (default) version of the vmp-format to use
cfg.vol ft_prepare_sourcemodel
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.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, ft_sensorrealign
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.whitebg ft_sliceinterp
'yes' or 'no' (default = 'yes')
cfg.width ft_freqanalysis, ft_freqanalysis
'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.winfunc ft_spikedensity
(a) string or function handle, type of window to convolve with (def = @gauss). Options should be set with cfg.winfuncopt - @gauss (default) - @alphawin, given by win = x*exp(-x/timeconstant) - For standard window functions in the signal processing toolbox see WINDOW. (b) vector of length nSamples, used directly as window
cfg.winfuncopt ft_spikedensity
options that go with cfg.winfunc For cfg.winfunc = @alpha: the timeconstant in seconds (default = 0.005s) For cfg.winfunc = @gauss: the standard devision in seconds (default = 1/4 of window duration in seconds) For cfg.winfunc = @wname with @wname any standard window function see window opts in that function and add as cell array
cfg.winlen ft_spiketriggeredspectrum_tfr
length of the window in which we compute ppc/phase in seconds.
cfg.winlen ft_spike_plot_jpsth
window length in seconds (default = 5*binwidth). The total length of our window is 2*round*(cfg.winlen/binwidth) where binwidth is the binwidth of the jpsth (jpsth.time(2) - jpsth.time(1)).
cfg.winlen ft_spike_plot_isireturn
window length in seconds (default = 5*cfg.dt). The total length of our window is 2*round*(cfg.winlen/cfg.dt) +1;
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 volume _param for each of the functional volumes
cfg.xlim ft_movieplotER, ft_multiplotER, ft_multiplotTFR, ft_singleplotER, ft_singleplotTFR
'maxmin' or [xmin xmax] (default = 'maxmin')
cfg.xlim ft_movieplotTFR, ft_topoplotER, ft_topoplotTFR
selection boundaries over first dimension in data (e.g., time) 'maxmin' or [xmin xmax] (default = 'maxmin')
cfg.xrange ft_volumereslice
[min max], in physical units
cfg.ylim ft_multiplotER, ft_multiplotTFR, ft_singleplotER, ft_singleplotTFR
'maxmin' or [ymin ymax] (default = 'maxmin')
cfg.ylim ft_spike_plot_isi
[min max] or 'auto' (default) If 'auto', we plot from 0 to 110% of maximum plotted value);
cfg.ylim ft_spike_plot_psth
[min max] or 'auto' (default) If 'standard', we plot from 0 to 110% of maximum plotted value);
cfg.ylim ft_movieplotTFR, ft_topoplotER
selection boundaries over second dimension in data (e.g., freq) 'maxmin' or [xmin xmax] (default = 'maxmin')
cfg.ylim ft_databrowser
vertical scaling, can be 'maxmin', 'maxabs' or [ymin ymax] (default = 'maxabs')
cfg.yrange ft_volumereslice
[min max], in physical units
cfg.zlim ft_movieplotER, ft_topoplotIC
'maxmin', 'maxabs' or [zmin zmax] (default = 'maxmin')
cfg.zlim ft_multiplotTFR, ft_singleplotTFR
'maxmin','maxabs' or [zmin zmax] (default = 'maxmin')
cfg.zlim ft_connectivityplot
[lower upper]
cfg.zlim ft_movieplotTFR, ft_topoplotER, ft_topoplotTFR
plotting limits for color dimension, 'maxmin', 'maxabs' or [zmin zmax] (default = 'maxmin')
cfg.zrange ft_volumereslice
[min max], in physical units
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.zscore ft_denoise_pca
standardise reference data prior to PCA (default = 'no')
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
Share this page: