Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
reference:index [2009/03/16 21:25]
127.0.0.1 external edit
reference:index [2018/03/28 10:27] (current)
Line 1: Line 1:
 ====== Index of configuration options ====== ====== Index of configuration options ======
  
-detailled ​description of each function is available in the [[fieldtrip:​documentation:​reference|reference documentation]].+detailed ​description of each function is available in the [[:​reference|reference documentation]].
  
-This index to the reference documentation is automatically generated from the Matlab ​code every day. Therefore you should not edit this pages manually, since your changes would be overwritten automatically. If you want to suggest corrections to the documentation,​ please send them by email to the mailing list or to one of the main developers (see [[fieldtrip:​contact]]).+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]]).
  
 ===== A ===== ===== A =====
  
-** cfg.absnoise ** // dipolesimulation ​//\\+** cfg.absdiff ** // [[reference:​ft_preprocessing]] //\\ 
 +'​no'​ or '​yes',​ computes absolute derivative (i.e. first derivative then rectify) 
 + 
 +** cfg.absnoise ** // [[reference:​ft_dipolesimulation]] ​//\\
 add noise with absolute level add noise with absolute level
  
-** cfg.alim ** // rejectvisual ​//\\+** cfg.absnoise ** // [[reference:​ft_connectivitysimulation]],​ [[reference:​ft_connectivitysimulation]] //\\ 
 +scalar (default: 1), specifying the standard deviation of white noise superimposed on top of the simulated signals 
 + 
 +** cfg.alim ** // [[reference:​ft_rejectvisual]] ​//\\
 value that determines the amplitude scaling for the channel and trial display, if empty then the amplitude scaling is automatic (default = []) value that determines the amplitude scaling for the channel and trial display, if empty then the amplitude scaling is automatic (default = [])
  
-** cfg.anaparameter ** // sourceplot ​//\\+** cfg.alpha ** // [[reference:​ft_statistics_analytic]],​ [[reference:​ft_statistics_stats]] //\\ 
 +number, critical value for rejecting the null-hypothesis (default = 0.05) 
 + 
 +** cfg.alpha ** // [[reference:​ft_statistics_montecarlo]] //\\ 
 +number, critical value for rejecting the null-hypothesis per tail (default = 0.05) 
 + 
 +** cfg.alpha ** // [[reference:​ft_clusterplot]] //\\ 
 +number, highest cluster p-value to be plotted max 0.3 (default = 0.05) 
 + 
 +** cfg.alpha ** // [[reference:​ft_sliceinterp]] //\\ 
 +value between 0 and 1 or '​adaptive'​ (default) 
 + 
 +** cfg.alphaparam ** // [[reference:​ft_topoplotCC]] //\\ 
 +string, parameter to be used to control the opacity (see below) 
 + 
 +** cfg.analyze ** // [[reference:​ft_qualitycheck]] //\\ 
 +string, '​yes'​ or '​no'​ to analyze the dataset (default = '​yes'​) 
 + 
 +** cfg.anaparameter ** // [[reference:​ft_sourceplot]] ​//\\
 string, field in data with the anatomical data (default = '​anatomy'​ if present in data) string, field in data with the anatomical data (default = '​anatomy'​ if present in data)
  
-** cfg.artfctdef.eog.artifact ​** // rejectartifact ​//\\ +** cfg.anonimize ​** // [[reference:​ft_audiovideobrowser]] ​//\\ 
-Nx2 matrix with artifact segmentsthis is added to the cfg by using ARTIFACT_EOG+[x1 x2 y1 y2]range in pixels for placing a bar over the eyes (default = [])
  
-** cfg.artfctdef.feedback ​** // rejectartifact ​//\\ +** cfg.appenddim ​** // [[reference:​ft_appendfreq]] ​//\\ 
-'​yes'​ or '​no' ​(default ​= '​no'​)+string, the dimension to concatenate over (default ​is automatic)
  
-** cfg.artfctdef.jump.artifact ​** // rejectartifact ​//\\ +** cfg.appenddim ​** // [[reference:​ft_appendtimelock]] ​//\\ 
-Nx2 matrix with artifact segments, this is added to the cfg by using ARTIFACT_JUMP+string, the dimension to concatenate over which to append, this can be '​chan'​ and '​rpt'​ (default ​is automatic)
  
-** cfg.artfctdef.minaccepttim ​** // rejectartifact ​//\\ +** cfg.arrowhead ​** // [[reference:​ft_topoplotCC]] ​//\\ 
-length ​in seconds ​(default = 0.1)+string, '​none',​ '​stop',​ '​start',​ '​both'​ (default = '​none'​) cfg.arrowsize = scalar, size of the arrow head in figure units, i.e. the same units as the layout (default is automatically determined) cfg.arrowoffset = scalar, amount that the arrow is shifted to the side in figure units, i.e. the same units as the layout (default is automatically determined) cfg.arrowlength = scalar, amount by which the length is reduced relative to the complete line (default = 0.8)
  
-** cfg.artfctdef.muscle.artifact ​** // rejectartifact ​//\\ +** cfg.artfctdef.clip.amplthreshold ​** // [[reference:​ft_artifact_clip]] ​//\\ 
-Nx2 matrix with artifact segmentsthis is added to the cfg by using ARTIFACT_MUSCLE+numberminimum amplitude difference in consecutive samples ​to be considered as '​clipped'​ (default = 0) string, percent of the amplitude range considered as '​clipped'​ (i.e. '​1%'​)
  
-** cfg.artfctdef.reject ​** // rejectartifact ​//\\ +** cfg.artfctdef.clip.channel ​** // [[reference:​ft_artifact_clip]] ​//\\ 
-'​none'​'​partial'​ or '​complete'​ (default = '​complete'​)+Nx1 cell-array with selection of channelssee FT_CHANNELSELECTION for details
  
-** cfg.artfctdef.xxx.artifact ​** // rejectartifact ​//\\ +** cfg.artfctdef.clip.pretim ​** // [[reference:​ft_artifact_clip]] ​//\\ 
-Nx2 matrix with artifact segments, this should be added by your own artifact ​detection function+0.000; pre-artifact ​rejection-interval in seconds
  
-** cfg.artfctdef.zvalue.artifact ​** // rejectartifact ​//\\ +** cfg.artfctdef.clip.psttim ​** // [[reference:​ft_artifact_clip]] ​//\\ 
-Nx2 matrix with artifact ​segments, this is added to the cfg by using ARTIFACT_ZVALUE+0.000; post-artifact ​rejection-interval in seconds
  
-** cfg.atlas ** // sourcestatistics ​//\\ +** cfg.artfctdef.clip.timethreshold ​** // [[reference:​ft_artifact_clip]] ​//\\ 
-filename ​of the atlas+number, minimum duration in seconds ​of a datasegment with consecutive identical samples to be considered as '​clipped'​
  
-** cfg.atlas ** // sourceplot ​//\\ +** cfg.artfctdef.crittoilim ​** // [[reference:​ft_rejectartifact]] ​//\\ 
-stringfilename of atlas to use (default = []SEE PREPARE_ATLAS for ROI masking (see "​masking"​ below) or in interactive mode (see "ortho-plotting"​ below)+when using complete rejectionreject trial only when artifacts occur within this time window ​(default = whole trial). This only works with in-memory data, since trial time axes are unknown for data on disk.
  
-** cfg.atlas ** // volumelookup,​ volumelookup ​//\\ +** cfg.artfctdef.ecg.channel ​** // [[reference:​ft_artifact_ecg]] ​//\\ 
-string, filename ​of atlas to useeither 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 PREPARE_ATLAS+Nx1 cell-array with selection ​of channels, see FT_CHANNELSELECTION for details
  
-** cfg.avgoverchan ​** // freqstatisticstimelockstatistics ​//\\+** cfg.artfctdef.ecg.cutoff ​** // [[reference:​ft_artifact_ecg]] //\\ 
 +3; peak-threshold 
 + 
 +** cfg.artfctdef.ecg.inspect ** // [[reference:​ft_artifact_ecg]] //\\ 
 +Nx1 list of channels which will be shown in a QRS-locked average 
 + 
 +** cfg.artfctdef.ecg.method ** // [[reference:​ft_artifact_ecg]] //\\ 
 +'​zvalue';​ peak-detection method 
 + 
 +** cfg.artfctdef.ecg.pretim ** // [[reference:​ft_artifact_ecg]] //\\ 
 +0.05; pre-artifact rejection-interval in seconds 
 + 
 +** cfg.artfctdef.ecg.psttim ** // [[reference:​ft_artifact_ecg]] //\\ 
 +0.3; post-artifact rejection-interval in seconds 
 + 
 +** cfg.artfctdef.eog.artifact ** // [[reference:​ft_rejectartifact]] //\\ 
 +Nx2 matrix with artifact segmentsthis is added to the cfg by using FT_ARTIFACT_EOG 
 + 
 +** cfg.artfctdef.eog.artpadding ** // [[reference:​ft_artifact_eog]] //\\ 
 +0.1 
 + 
 +** cfg.artfctdef.eog.bpfilter ** // [[reference:​ft_artifact_eog]] //\\ 
 +'​yes'​ 
 + 
 +** cfg.artfctdef.eog.bpfiltord ** // [[reference:​ft_artifact_eog]] //\\ 
 +
 + 
 +** cfg.artfctdef.eog.bpfilttype ** // [[reference:​ft_artifact_eog]] //\\ 
 +'​but'​ 
 + 
 +** cfg.artfctdef.eog.bpfreq ** // [[reference:​ft_artifact_eog]] //\\ 
 +[1 15] 
 + 
 +** cfg.artfctdef.eog.channel ** // [[reference:​ft_artifact_eog]] //\\ 
 +Nx1 cell-array with selection of channels, see FT_CHANNELSELECTION for details 
 + 
 +** cfg.artfctdef.eog.cutoff ** // [[reference:​ft_artifact_eog]] //\\ 
 +z-value at which to threshold (default = 4) 
 + 
 +** cfg.artfctdef.eog.fltpadding ** // [[reference:​ft_artifact_eog]] //\\ 
 +0.1 
 + 
 +** cfg.artfctdef.eog.hilbert ** // [[reference:​ft_artifact_eog]] //\\ 
 +'​yes'​ 
 + 
 +** cfg.artfctdef.eog.trlpadding ** // [[reference:​ft_artifact_eog]] //\\ 
 +0.5 
 + 
 +** cfg.artfctdef.feedback ** // [[reference:​ft_rejectartifact]] ​//\\
 '​yes'​ or '​no'​ (default = '​no'​) '​yes'​ or '​no'​ (default = '​no'​)
  
-** cfg.avgoverfreq ​** // freqstatistics ​//\\+** cfg.artfctdef.invert ​** // [[reference:​ft_rejectartifact]] ​//\\
 '​yes'​ or '​no'​ (default = '​no'​) '​yes'​ or '​no'​ (default = '​no'​)
  
-** cfg.avgoverroi ​** // sourcestatistics ​//\\+** cfg.artfctdef.jump.absdiff ​** // [[reference:​ft_artifact_jump]] //\\ 
 +'​yes'​ 
 + 
 +** cfg.artfctdef.jump.artifact ** // [[reference:​ft_rejectartifact]] //\\ 
 +Nx2 matrix with artifact segments, this is added to the cfg by using FT_ARTIFACT_JUMP 
 + 
 +** cfg.artfctdef.jump.artpadding ** // [[reference:​ft_artifact_jump]] //\\ 
 +automatically determined based on the filter padding (cfg.padding) 
 + 
 +** cfg.artfctdef.jump.channel ** // [[reference:​ft_artifact_jump]] //\\ 
 +Nx1 cell-array with selection of channels, see FT_CHANNELSELECTION for details 
 + 
 +** cfg.artfctdef.jump.cutoff ** // [[reference:​ft_artifact_jump]] //\\ 
 +z-value at which to threshold (default = 20) 
 + 
 +** cfg.artfctdef.jump.medianfilter ** // [[reference:​ft_artifact_jump]] //\\ 
 +'​yes'​ 
 + 
 +** cfg.artfctdef.jump.medianfiltord ** // [[reference:​ft_artifact_jump]] //\\ 
 +
 + 
 +** cfg.artfctdef.jump.trlpadding ** // [[reference:​ft_artifact_jump]] //\\ 
 +automatically determined based on the filter padding (cfg.padding) 
 + 
 +** cfg.artfctdef.minaccepttim ** // [[reference:​ft_rejectartifact]] //\\ 
 +when using partial rejection, minimum length in seconds of remaining trial (default = 0.1) 
 + 
 +** cfg.artfctdef.muscle.artifact ** // [[reference:​ft_rejectartifact]] //\\ 
 +Nx2 matrix with artifact segments, this is added to the cfg by using FT_ARTIFACT_MUSCLE 
 + 
 +** cfg.artfctdef.muscle.artpadding ** // [[reference:​ft_artifact_muscle]] //\\ 
 +0.1 
 + 
 +** cfg.artfctdef.muscle.boxcar ** // [[reference:​ft_artifact_muscle]] //\\ 
 +0.2 
 + 
 +** cfg.artfctdef.muscle.bpfilter ** // [[reference:​ft_artifact_muscle]] //\\ 
 +'​yes'​ 
 + 
 +** cfg.artfctdef.muscle.bpfiltord ** // [[reference:​ft_artifact_muscle]] //\\ 
 +
 + 
 +** cfg.artfctdef.muscle.bpfilttype ** // [[reference:​ft_artifact_muscle]] //\\ 
 +'​but'​ 
 + 
 +** cfg.artfctdef.muscle.bpfreq ** // [[reference:​ft_artifact_muscle]] //\\ 
 +[110 140] 
 + 
 +** cfg.artfctdef.muscle.channel ** // [[reference:​ft_artifact_muscle]] //\\ 
 +Nx1 cell-array with selection of channels, see FT_CHANNELSELECTION for details 
 + 
 +** cfg.artfctdef.muscle.cutoff ** // [[reference:​ft_artifact_muscle]] //\\ 
 +z-value at which to threshold (default = 4) 
 + 
 +** cfg.artfctdef.muscle.fltpadding ** // [[reference:​ft_artifact_muscle]] //\\ 
 +0.1 
 + 
 +** cfg.artfctdef.muscle.hilbert ** // [[reference:​ft_artifact_muscle]] //\\ 
 +'​yes'​ 
 + 
 +** cfg.artfctdef.muscle.trlpadding ** // [[reference:​ft_artifact_muscle]] //\\ 
 +0.1 
 + 
 +** cfg.artfctdef.nan.channel ** // [[reference:​ft_artifact_nan]] //\\ 
 +Nx1 cell-array with selection of channels, see FT_CHANNELSELECTION for details 
 + 
 +** cfg.artfctdef.reject ** // [[reference:​ft_rejectartifact]] //\\ 
 +'​none',​ '​partial','​nan',​ or '​complete'​ (default = '​complete'​) 
 + 
 +** cfg.artfctdef.threshold.bpfilter ** // [[reference:​ft_artifact_threshold]] //\\ 
 +'​no'​ or '​yes'​ (default = '​yes'​) 
 + 
 +** cfg.artfctdef.threshold.bpfiltord ** // [[reference:​ft_artifact_threshold]] //\\ 
 +
 + 
 +** cfg.artfctdef.threshold.bpfreq ** // [[reference:​ft_artifact_threshold]] //\\ 
 +[0.3 30] 
 + 
 +** cfg.artfctdef.threshold.channel ** // [[reference:​ft_artifact_threshold]] //\\ 
 +cell-array with channel labels 
 + 
 +** cfg.artfctdef.threshold.max ** // [[reference:​ft_artifact_threshold]] //\\ 
 +value in uV or T, default inf 
 + 
 +** cfg.artfctdef.threshold.min ** // [[reference:​ft_artifact_threshold]] //\\ 
 +value in uV or T, default -inf 
 + 
 +** cfg.artfctdef.threshold.offset ** // [[reference:​ft_artifact_threshold]] //\\ 
 +value in uV or T, default inf 
 + 
 +** cfg.artfctdef.threshold.onset ** // [[reference:​ft_artifact_threshold]] //\\ 
 +value in uV or T, default inf 
 + 
 +** cfg.artfctdef.threshold.range ** // [[reference:​ft_artifact_threshold]] //\\ 
 +value in uV or T, default inf 
 + 
 +** cfg.artfctdef.tms.channel ** // [[reference:​ft_artifact_tms]] //\\ 
 +Nx1 cell-array with selection of channels, see FT_CHANNELSELECTION for details 
 + 
 +** cfg.artfctdef.tms.cutoff ** // [[reference:​ft_artifact_tms]] //\\ 
 +z-value at which to threshold (default = 4) 
 + 
 +** cfg.artfctdef.tms.derivative ** // [[reference:​ft_artifact_tms]] //\\ 
 +'​yes'​ 
 + 
 +** cfg.artfctdef.tms.fltpadding ** // [[reference:​ft_artifact_tms]] //\\ 
 +0.1 
 + 
 +** cfg.artfctdef.tms.trlpadding ** // [[reference:​ft_artifact_tms]] //\\ 
 +0.1 
 + 
 +** cfg.artfctdef.visual.artifact ** // [[reference:​ft_rejectartifact]] //\\ 
 +Nx2 matrix with artifact segments, this is added to the cfg by using FT_DATABROWSER 
 + 
 +** cfg.artfctdef.xxx.artifact ** // [[reference:​ft_databrowser]] //\\ 
 +Nx2 matrix with artifact segments see FT_ARTIFACT_xxx functions 
 + 
 +** cfg.artfctdef.xxx.artifact ** // [[reference:​ft_rejectartifact]] //\\ 
 +Nx2 matrix with artifact segments, this could be added by your own artifact detection function 
 + 
 +** cfg.artfctdef.zvalue.artfctpeak ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +'​yes'​ or '​no'​ 
 + 
 +** cfg.artfctdef.zvalue.artifact ** // [[reference:​ft_rejectartifact]] //\\ 
 +Nx2 matrix with artifact segments, this is added to the cfg by using FT_ARTIFACT_ZVALUE 
 + 
 +** cfg.artfctdef.zvalue.artpadding ** // [[reference:​ft_artifact_zvalue]] //\\ 
 + 
 + 
 +** cfg.artfctdef.zvalue.baselinewindow ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +[begin end] in seconds, the default is the complete trial 
 + 
 +** cfg.artfctdef.zvalue.bpfilter ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +'​no'​ or '​yes'​ bandpass filter 
 + 
 +** cfg.artfctdef.zvalue.bpfiltord ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +bandpass filter order 
 + 
 +** cfg.artfctdef.zvalue.bpfilttype ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +digital filter type, '​but'​ (default) or '​firws'​ or '​fir'​ or '​firls'​ 
 + 
 +** cfg.artfctdef.zvalue.bpfreq ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +bandpass frequency range, specified as [low high] in Hz 
 + 
 +** cfg.artfctdef.zvalue.bsfilter ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +'​no'​ or '​yes'​ bandstop filter for line noise removal 
 + 
 +** cfg.artfctdef.zvalue.bsfiltord ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +bandstop filter order 
 + 
 +** cfg.artfctdef.zvalue.bsfilttype ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +digital filter type, '​but'​ (default) or '​firws'​ or '​fir'​ or '​firls'​ 
 + 
 +** cfg.artfctdef.zvalue.bsfreq ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +bandstop frequency range, specified as [low high] in Hz 
 + 
 +** cfg.artfctdef.zvalue.channel ** // [[reference:​ft_artifact_zvalue]] //\\ 
 + 
 + 
 +** cfg.artfctdef.zvalue.cutoff ** // [[reference:​ft_artifact_zvalue]] //\\ 
 + 
 + 
 +** cfg.artfctdef.zvalue.demean ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +'​no'​ or '​yes'​ 
 + 
 +** cfg.artfctdef.zvalue.detrend ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +'​no'​ or '​yes'​ 
 + 
 +** cfg.artfctdef.zvalue.dftfilter ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +'​no'​ or '​yes'​ line noise removal using discrete fourier transform 
 + 
 +** cfg.artfctdef.zvalue.fltpadding ** // [[reference:​ft_artifact_zvalue]] //\\ 
 + 
 + 
 +** cfg.artfctdef.zvalue.hilbert ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +'​no'​ or '​yes'​ 
 + 
 +** cfg.artfctdef.zvalue.hpfilter ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +'​no'​ or '​yes'​ highpass filter 
 + 
 +** cfg.artfctdef.zvalue.hpfiltord ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +highpass filter order 
 + 
 +** cfg.artfctdef.zvalue.hpfilttype ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +digital filter type, '​but'​ (default) or '​firws'​ or '​fir'​ or '​firls'​ 
 + 
 +** cfg.artfctdef.zvalue.hpfreq ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +highpass frequency in Hz 
 + 
 +** cfg.artfctdef.zvalue.interactive ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +'​yes'​ or '​no'​ 
 + 
 +** cfg.artfctdef.zvalue.lpfilter ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +'​no'​ or '​yes'​ lowpass filter 
 + 
 +** cfg.artfctdef.zvalue.lpfiltord ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +lowpass filter order 
 + 
 +** cfg.artfctdef.zvalue.lpfilttype ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +digital filter type, '​but'​ (default) or '​firws'​ or '​fir'​ or '​firls'​ 
 + 
 +** cfg.artfctdef.zvalue.lpfreq ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +lowpass frequency in Hz 
 + 
 +** cfg.artfctdef.zvalue.medianfilter ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +'​no'​ or '​yes'​ jump preserving median filter 
 + 
 +** cfg.artfctdef.zvalue.medianfiltord ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +length of median filter 
 + 
 +** cfg.artfctdef.zvalue.rectify ** // [[reference:​ft_artifact_zvalue]] //\\ 
 +'​no'​ or '​yes'​ 
 + 
 +** cfg.artfctdef.zvalue.trlpadding ** // [[reference:​ft_artifact_zvalue]] //\\ 
 + 
 + 
 +** cfg.artifact ** // [[reference:​ft_removetemplateartifact]] //\\ 
 +Mx2 matrix with sample numbers of the artifact segments, e.g. obtained from FT_ARTIFACT_EOG 
 + 
 +** cfg.asymmetry ** // [[reference:​ft_freqsimulation]] //\\ 
 +amount of asymmetry (default = 0, which is none) 
 + 
 +** cfg.atlas ** // [[reference:​ft_sourceplot]] //\\ 
 +string, filename of atlas to use (default = []) see FT_READ_ATLAS for ROI masking (see '​masking'​ below) or for orthogonal plots (see method='​ortho'​ below) 
 + 
 +** cfg.atlas ** // [[reference:​ft_volumelookup]],​ [[reference:​ft_volumelookup]],​ [[reference:​ft_volumelookup]] //\\ 
 +string, filename of atlas to use, see FT_READ_ATLAS 
 + 
 +** cfg.audiofile ** // [[reference:​ft_audiovideobrowser]] //\\ 
 +string with the filename 
 + 
 +** cfg.audiohdr ** // [[reference:​ft_audiovideobrowser]] //\\ 
 +header structure of the audio data, see FT_READ_HEADER 
 + 
 +** cfg.avgoverchan ** // [[reference:​ft_freqstatistics]],​ [[reference:​ft_timelockstatistics]] ​//\\
 '​yes'​ or '​no'​ (default = '​no'​) '​yes'​ or '​no'​ (default = '​no'​)
  
-** cfg.avgovertime ​** // freqstatistics,​ timelockstatistics ​//\\+** cfg.avgoverfreq ​** // [[reference:​ft_freqstatistics]] ​//\\
 '​yes'​ or '​no'​ (default = '​no'​) '​yes'​ or '​no'​ (default = '​no'​)
  
-** cfg.axis ** // sourceplot ​//\\+** cfg.avgoverfreq ** // [[reference:​ft_sourceplot]] //\\ 
 +string, can be '​yes'​ or '​no'​ (default = '​no'​) 
 + 
 +** cfg.avgovertime ** // [[reference:​ft_freqstatistics]],​ [[reference:​ft_timelockstatistics]] //\\ 
 +'​yes'​ or '​no'​ (default = '​no'​) 
 + 
 +** cfg.avgovertime ** // [[reference:​ft_sourceplot]] //\\ 
 +string, can be '​yes'​ or '​no'​ (default = '​no'​) 
 + 
 +** cfg.axes ** // [[reference:​ft_multiplotER]] //\\ 
 +string, '​yes'​ or '​no'​ whether to draw x- and y-axes for each graph (default = '​yes'​) 
 + 
 +** cfg.axis ** // [[reference:​ft_sourceplot]] ​//\\
 '​on'​ or '​off'​ (default = '​on'​) '​on'​ or '​off'​ (default = '​on'​)
 +
 +** cfg.axisfontsize ** // [[reference:​ft_databrowser]] //\\
 +number, fontsize along the axes (default = 10)
 +
 +** cfg.axisfontunits ** // [[reference:​ft_databrowser]] //\\
 +string, can be '​normalized',​ '​points',​ '​pixels',​ '​inches'​ or '​centimeters'​ (default = '​points'​)
  
 ===== B ===== ===== B =====
  
-** cfg.badchannel ​** // channelrepair ​//\\ +** cfg.backproject ​** // [[reference:​ft_prepare_leadfield]] ​//\\ 
-cell-arraysee CHANNELSELECTION for details+'​yes'​ or '​no'​ (default = '​yes'​) determines when reducerank is applied whether the lower rank leadfield is projected back onto the original linear subspaceor not.
  
-** cfg.baseline ​** // topoplotER ​//\\ +** cfg.badchannel ​** // [[reference:​ft_channelrepair]] ​//\\ 
-'​yes','​no'​ or [time1 time2] (default = '​no'​), see TIMELOCKBASELINE or FREQBASELINE+cell-array, see FT_CHANNELSELECTION for details
  
-** cfg.baseline ​** // prepare_localspheres ​//\\ +** cfg.bandwidth ​** // [[reference:​ft_connectivityanalysis]] ​//\\ 
-numberbaseline of axial/​planar gradiometer ​(default = 5 cm)+scalar, (default = Rayleigh frequency), needed for
  
-** cfg.baselinetype ​** // topoplotER ​//\\ +** cfg.baseline ​** // [[reference:​ft_multiplotTFR]],​ [[reference:​ft_singleplotTFR]] ​//\\ 
-'absolute' ​or 'relative' (default = 'absolute')+'yes''no' ​or [time1 time2] ​(default = 'no'), see FT_FREQBASELINE
  
-** cfg.begsample ​** // redefinetrial ​//\\ +** cfg.baseline ​** // [[reference:​ft_multiplotER]] ​//\\ 
-single number ​or Nx1 vectorexpressed in samples relative to the start of the input trial+'​yes',​ '​no' ​or [time1 time2] (default = '​no'​)see FT_TIMELOCKBASELINE or FT_FREQBASELINE
  
-** cfg.biascorrect ​** // freqdescriptives ​//\\ +** cfg.baseline ​** // [[reference:​ft_singleplotER]] ​//\\ 
-'​yes' ​or '​no'​, calculate jackknife bias-corrected power and coherence ​(default = '​no'​) ​this option can only chosen if cfg.jackknife = '​yes'​+'​yes'​'​no' ​or [time1 time2] ​(default = '​no'​), see ft_timelockbaseline
  
-** cfg.blc ** // preprocessing ​//\\ +** cfg.baseline ​** // [[reference:​ft_movieplotER]],​ [[reference:​ft_movieplotTFR]],​ [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotTFR]] ​//\\ 
-'​no'​ or 'yes'+'​yes',​'​no'​ or [time1 time2] (default = 'no'), see FT_TIMELOCKBASELINE or FT_FREQBASELINE
  
-** cfg.blc ** // resampledata ​//\\ +** cfg.baseline ​** // [[reference:​ft_prepare_headmodel]] ​//\\ 
-'​no'​ or '​yes',​ baseline correct the data prior to resampling ​(default = '​no'​)+(optional)
  
-** cfg.blcovariance ​** // timelockanalysis ​//\\ +** cfg.baseline ​** // [[reference:​ft_timelockbaseline]] ​//\\ 
-'​no'​ or 'yes'+[begin end] (default = 'no') 
 + 
 +** cfg.baseline ** // [[reference:​ft_freqbaseline]] //\\ 
 +[begin end] (default = '​no'​),​ alternatively an Nfreq x 2 matrix can be specified, that provides frequency specific baseline windows. 
 + 
 +** cfg.baseline ** // [[reference:​ft_timelocksimulation]] //\\ 
 +number (default = 0.3) 
 + 
 +** cfg.baseline ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +scalar, baseline length in seconds (default = 0) 
 + 
 +** cfg.baselinetype ** // [[reference:​ft_movieplotER]],​ [[reference:​ft_movieplotTFR]],​ [[reference:​ft_singleplotER]],​ [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotTFR]] //\\ 
 +'​absolute' or 'relative'​ (default = '​absolute'​) 
 + 
 +** cfg.baselinetype ** // [[reference:​ft_multiplotTFR]],​ [[reference:​ft_singleplotTFR]] //\\ 
 +'​absolute',​ '​relative',​ '​relchange'​ or '​db'​ (default = '​absolute'​) 
 + 
 +** cfg.baselinetype ** // [[reference:​ft_freqbaseline]] //\\ 
 +'​absolute',​ '​relative',​ '​relchange',​ '​normchange'​ or '​db'​ (default = '​absolute')
  
-** cfg.blcovariancewindow ​** // timelockanalysis ​//\\+** cfg.baselinewindow ​** // [[reference:​ft_combineplanar]] ​//\\
 [begin end] [begin end]
  
-** cfg.blcwindow ​** // preprocessing ​//\\+** cfg.baselinewindow ​** // [[reference:​ft_connectivitysimulation]],​ [[reference:​ft_connectivitysimulation]] ​//\\
 [begin end] in seconds, the default is the complete trial [begin end] in seconds, the default is the complete trial
  
-** cfg.bootstrap ** // sourceanalysis ​//\\+** cfg.baselinewindow ** // [[reference:​ft_preprocessing]],​ [[reference:​ft_resampledata]] //\\ 
 +[begin end] in seconds, the default is the complete trial (default = '​all'​) 
 + 
 +** cfg.begsample ** // [[reference:​ft_redefinetrial]] //\\ 
 +single number or Nx1 vector, expressed in samples relative to the start of the input trial 
 + 
 +** cfg.binica.annealdeg ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.binica.annealstep ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.binica.bias ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.binica.blocksize ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.binica.extended ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.binica.filenum ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.binica.lrate ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.binica.maxsteps ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.binica.momentum ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.binica.pca ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.binica.posact ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.binica.sphering ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.binica.stop ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.binica.verbose ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.binica.weightsin ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.blocksize ** // [[reference:​ft_databrowser]] //\\ 
 +duration in seconds for cutting the data up 
 + 
 +** cfg.bootstrap ** // [[reference:​ft_sourceanalysis]] ​//\\
 '​no'​ or '​yes'​ bootstrap resampling of trials '​no'​ or '​yes'​ bootstrap resampling of trials
  
-** cfg.box ** // volumelookup ​//\\+** cfg.box ** // [[reference:​ft_multiplotTFR]] //\\ 
 +'​yes',​ '​no'​ (default = '​no'​ if maskparameter given default = '​yes'​) Draw a box around each graph 
 + 
 +** cfg.box ** // [[reference:​ft_volumelookup]] ​//\\
 Nx3 vector, size of each box in cm/mm dep on unit of input Nx3 vector, size of each box in cm/mm dep on unit of input
  
-** cfg.boxcar ​** // rejectvisual ​//\\ +** cfg.box ** // [[reference:​ft_layoutplot]] ​//\\ 
-0.2+string, '​yes'​ or '​no'​ whether box should be plotted around electrode (default = '​yes'​)
  
-** cfg.bpfiltdir ​** // preprocessing ​//\\ +** cfg.box ** // [[reference:​ft_multiplotER]] ​//\\ 
-filter direction, 'twopass' (default), 'onepass'​ or '​onepass-reverse'+string, 'yes' ​or '​no'​ whether to draw a box around each graph (default ​'no')
  
-** cfg.bpfilter ​** // preprocessing ​//\\ +** cfg.boxchannel ​** // [[reference:​ft_prepare_layout]] ​//\\ 
-'no' or 'yes' ​bandpass filter+'all'or Nx1 cell-array with selection of channels, see FT_CHANNELSELECTION for details specificies channels to use for determining channel box size (default = 'all', recommended for MEG/EEG, a selection is recommended for iEEG)
  
-** cfg.bpfilter ​** // rejectvisual,​ rejectvisual ​//\\ +** cfg.bpfiltdev ​** // [[reference:​ft_preprocessing]] ​//\\ 
-'yes'+bandpass max passband deviation (firws with 'kaiser' ​window, default 0.001 set in low-level function)
  
-** cfg.bpfiltord ​** // rejectvisual ​//\\ +** cfg.bpfiltdf ​** // [[reference:​ft_preprocessing]] ​//\\ 
-10+bandpass transition width (firws, overrides order, default set in low-level function)
  
-** cfg.bpfiltord ​** // rejectvisual ​//\\ +** cfg.bpfiltdir ​** // [[reference:​ft_preprocessing]] ​//\\ 
-4+filter direction, '​twopass'​ (default), '​onepass'​ or '​onepass-reverse'​ or '​onepass-zerophase'​ (default for firws) or '​onepass-minphase'​ (firws, non-linear!)
  
-** cfg.bpfiltord ​** // preprocessing ​//\\ +** cfg.bpfilter ​** // [[reference:​ft_preprocessing]] ​//\\ 
-bandpass filter ​order+'​no'​ or '​yes' ​bandpass filter ​(default = '​no'​)
  
-** cfg.bpfilttype ​** // rejectvisualrejectvisual ​//\\ +** cfg.bpfilter ​** // [[reference:​ft_connectivitysimulation]][[reference:​ft_connectivitysimulation]] ​//\\ 
-'but'+'yes' ​(or '​no'​)
  
-** cfg.bpfilttype ​** // preprocessing ​//\\ +** cfg.bpfiltord ​** // [[reference:​ft_preprocessing]] ​//\\ 
-digital ​filter ​type, '​but' ​(default) ​or '​fir'​+bandpass ​filter ​order (default ​set in low-level function)
  
-** cfg.bpfreq ​** // rejectvisual ​//\\ +** cfg.bpfilttype ​** // [[reference:​ft_preprocessing]] ​//\\ 
-[1 15]+digital filter type, '​but'​ or '​firws'​ or '​fir'​ or '​firls'​ (default = '​but'​)
  
-** cfg.bpfreq ​** // rejectvisual ​//\\ +** cfg.bpfiltwintype ​** // [[reference:​ft_preprocessing]] ​//\\ 
-[110 140]+bandpass window type, '​hann'​ or '​hamming'​ (default) or '​blackman'​ or '​kaiser'​ (firws)
  
-** cfg.bpfreq ** // preprocessing ​//\\ +** cfg.bpfreq ** // [[reference:​ft_connectivitysimulation]],​ [[reference:​ft_connectivitysimulation]] ​//\\ 
-bandpass frequency range, specified as [low highin Hz+[bplow bphigh] (default: [15 25])
  
-** cfg.bsfiltdir ​** // preprocessing ​//\\ +** cfg.bpfreq ​** // [[reference:​ft_preprocessing]] ​//\\ 
-filter direction'​twopass'​ (default), '​onepass'​ or '​onepass-reverse'​+bandpass frequency rangespecified as [lowFreq highFreq] in Hz
  
-** cfg.bsfilter ​** // preprocessing ​//\\ +** cfg.bpfreq ​** // [[reference:​ft_connectivitysimulation]] ​//\\ 
-'​no'​ or '​yes'​ bandstop filter+nxnx2 matrix, specifying the lower and upper frequencies of the bands that are transmitted,​ rows causing column
  
-** cfg.bsfiltord ​** // preprocessing ​//\\ +** cfg.bpinstabilityfix ​** // [[reference:​ft_preprocessing]] ​//\\ 
-bandstop ​filter ​order+deal with filter ​instability,​ '​no',​ '​reduce',​ '​split'​ (default = '​no'​)
  
-** cfg.bsfilttype ​** // preprocessing ​//\\ +** cfg.brainsmooth ​** // [[reference:​ft_volumesegment]] ​//\\ 
-digital filter type, 'but' (default) ​or '​fir'​+'no', or scalar, the FWHM of the gaussian kernel in voxels, ​(default ​= 5)
  
-** cfg.bsfreq ** // preprocessing ​//\\ +** cfg.brainthreshold ** // [[reference:​ft_volumesegment]] //\\ 
-bandstop frequency range, specified as [low high] in Hz+'​no',​ or scalar, relative threshold value which is used to threshold the tpm in order to create a volumetric brainmask (see below), (default = 0.5) 
 + 
 +** cfg.bsfiltdev ** // [[reference:​ft_preprocessing]] //\\ 
 +bandstop max passband deviation (firws with '​kaiser'​ window, default 0.001 set in low-level function) 
 + 
 +** cfg.bsfiltdf ** // [[reference:​ft_preprocessing]] //\\ 
 +bandstop transition width (firws, overrides order, default set in low-level function) 
 + 
 +** cfg.bsfiltdir ** // [[reference:​ft_preprocessing]] //\\ 
 +filter direction, '​twopass'​ (default), '​onepass'​ or '​onepass-reverse'​ or '​onepass-zerophase'​ (default for firws) or '​onepass-minphase'​ (firws, non-linear!) 
 + 
 +** cfg.bsfilter ** // [[reference:​ft_preprocessing]] //\\ 
 +'​no'​ or '​yes'​ bandstop filter (default = '​no'​) 
 + 
 +** cfg.bsfiltord ** // [[reference:​ft_preprocessing]] //\\ 
 +bandstop filter order (default set in low-level function) 
 + 
 +** cfg.bsfilttype ** // [[reference:​ft_preprocessing]] //\\ 
 +digital filter type, '​but'​ or '​firws'​ or '​fir'​ or '​firls'​ (default = '​but'​) 
 + 
 +** cfg.bsfiltwintype ** // [[reference:​ft_preprocessing]] //\\ 
 +bandstop window type, '​hann'​ or '​hamming'​ (default) or '​blackman'​ or '​kaiser'​ (firws) 
 + 
 +** cfg.bsfreq ** // [[reference:​ft_preprocessing]] ​//\\ 
 +bandstop frequency range, specified as [low high] in Hz (or as Nx2 matrix for notch filter) 
 + 
 +** cfg.bsinstabilityfix ** // [[reference:​ft_preprocessing]] //\\ 
 +deal with filter instability,​ '​no',​ '​reduce',​ '​split'​ (default = '​no'​) 
 + 
 +** cfg.bw ** // [[reference:​ft_prepare_layout]] //\\ 
 +'​yes'​ or '​no',​ if an image is used and this option is true, the image is transformed in black and white (default = '​no',​ i.e. do not transform)
  
 ===== C ===== ===== C =====
  
-** cfg.camlight ** // sourceplot ​//\\+** cfg.camlight ** // [[reference:​ft_sourceplot]] ​//\\
 '​yes'​ or '​no'​ (default = '​yes'​) '​yes'​ or '​no'​ (default = '​yes'​)
  
-** cfg.channel ​** // dipolefitting,​ dipolesimulation,​ freqanalysis_mtmconvol,​ freqanalysis_mtmfft,​ freqanalysis_mtmwelch,​ freqanalysis_tfr,​ freqanalysis_wltconvol,​ freqdescriptives,​ freqgrandaverage,​ freqstatistics,​ preprocessing,​ rejectvisual,​ sourceanalysis,​ timelockanalysis,​ timelockgrandaverage,​ timelockstatistics ​//\\ +** cfg.casesensitive ​** // [[reference:​ft_electroderealign]] ​//\\ 
-Nx1 cell-array with selection of channels ​(default = 'all'), see CHANNELSELECTION for details+'​yes'​ or '​no',​ determines whether string comparisons between electrode labels are case sensitive ​(default = 'yes')
  
-** cfg.channel ** // prepare_leadfield,​ prepare_leadfield ​//\\ +** cfg.channel ** // [[reference:​ft_mvaranalysis]] ​//\\ 
-cell-array ​(optional, see CHANNELSELECTION)+'​all' ​(default) or list of channels for which an mvar model is fitted. (Do NOT specify if cfg.channelcmb is defined)
  
-** cfg.channelcmb ​** // freqanalysis_mtmconvol,​ freqanalysis_mtmfft,​ freqanalysis_mtmwelch,​ freqanalysis_wltconvol,​ freqdescriptives ​//\\ +** cfg.channel ​** // [[reference:​ft_stratify]] ​//\\ 
-Mx2 cell-array ​with selection of channel pairs (default = {'​all' ​'​all'​}), see CHANNELCOMBINATION for details+'​all'​ or list with indices ​( default = '​all'​)
  
-** cfg.cohmethod ​** // freqdescriptives ​//\\ +** cfg.channel ​** // [[reference:​ft_prepare_layout]] ​//\\ 
-'coh' or '​plv'​ computes coherence or phase-locking-value (default = '​coh'​)+'all'or Nx1 cell-array with selection of channels, see FT_CHANNELSELECTION for details
  
-** cfg.cohmethod ** // sourcedescriptives ​//\\+** cfg.channel ** // [[reference:​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 ** // [[reference:​ft_megplanar]] //\\ 
 +Nx1 cell-array with selection of channels (default = '​MEG'​),​ see FT_CHANNELSELECTION for details 
 + 
 +** cfg.channel ** // [[reference:​ft_dipolefitting]],​ [[reference:​ft_dipolesimulation]],​ [[reference:​ft_electroderealign]],​ [[reference:​ft_freqanalysis]],​ [[reference:​ft_freqdescriptives]],​ [[reference:​ft_freqgrandaverage]],​ [[reference:​ft_freqstatistics]],​ [[reference:​ft_globalmeanfield]],​ [[reference:​ft_multiplotER]],​ [[reference:​ft_multiplotTFR]],​ [[reference:​ft_prepare_leadfield]],​ [[reference:​ft_preprocessing]],​ [[reference:​ft_rejectvisual]],​ [[reference:​ft_removetemplateartifact]],​ [[reference:​ft_singleplotTFR]],​ [[reference:​ft_sourceanalysis]],​ [[reference:​ft_timelockanalysis]],​ [[reference:​ft_timelockgrandaverage]],​ [[reference:​ft_timelockstatistics]],​ [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotTFR]] //\\ 
 +Nx1 cell-array with selection of channels (default = '​all'​),​ see FT_CHANNELSELECTION for details 
 + 
 +** cfg.channel ** // [[reference:​ft_electrodeplacement]] //\\ 
 +Nx1 cell-array with selection of channels (default = {'​1'​ '​2'​ ...}) 
 + 
 +** cfg.channel ** // [[reference:​ft_detect_movement]] //\\ 
 +Nx1 cell-array with selection of channels, see FT_CHANNELSELECTION for details, (default = '​all'​) 
 + 
 +** cfg.channel ** // [[reference:​ft_databrowser]] //\\ 
 +cell-array with channel labels, see FT_CHANNELSELECTION 
 + 
 +** cfg.channel ** // [[reference:​ft_componentanalysis]] //\\ 
 +cell-array with channel selection (default = '​all'​),​ see FT_CHANNELSELECTION for details 
 + 
 +** cfg.channel ** // [[reference:​ft_crossfrequencyanalysis]] //\\ 
 +cell-array with selection of channels, see FT_CHANNELSELECTION 
 + 
 +** cfg.channel ** // [[reference:​ft_timelockbaseline]] //\\ 
 +cell-array, see FT_CHANNELSELECTION 
 + 
 +** cfg.channel ** // [[reference:​ft_prepare_neighbours]] //\\ 
 +channels for which neighbours should be found 
 + 
 +** cfg.channel ** // [[reference:​ft_connectivityplot]] //\\ 
 +list of channels to be included for the plotting (default = '​all'​),​ see FT_CHANNELSELECTION for details 
 + 
 +** cfg.channel ** // [[reference:​ft_singleplotER]] //\\ 
 +nx1 cell-array with selection of channels (default = '​all'​) see ft_channelselection for details 
 + 
 +** cfg.channel ** // [[reference:​ft_electrodermalactivity]],​ [[reference:​ft_heartrate]] //\\ 
 +selected channel for processing, see FT_CHANNELSELECTION 
 + 
 +** cfg.channel ** // [[reference:​ft_denoise_pca]] //\\ 
 +the channels to be denoised (default = '​MEG'​) 
 + 
 +** cfg.channelclamped ** // [[reference:​ft_databrowser]] //\\ 
 +cell-array with channel labels, that (when using the '​vertical'​ viewmode) will always be shown at the bottom. This is useful for showing ECG/EOG channels along with the other channels 
 + 
 +** cfg.channelcmb ** // [[reference:​ft_freqanalysis]] //\\ 
 +Mx2 cell-array with selection of channel pairs (default = {'​all'​ '​all'​}),​ see FT_CHANNELCOMBINATION for details 
 + 
 +** cfg.channelcmb ** // [[reference:​ft_lateralizedpotential]] //\\ 
 +Nx2 cell array 
 + 
 +** cfg.channelcmb ** // [[reference:​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 ** // [[reference:​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 ** // [[reference:​ft_lateralizedpotential]] //\\ 
 +{'​Fp1'​ '​Fp2'​ '​F7'​ '​F8'​ '​F3'​ '​F4'​ '​T7'​ '​T8'​ '​C3'​ '​C4'​ '​P7'​ '​P8'​ '​P3'​ '​P4'​ '​O1'​ '​O2'​} 
 + 
 +** cfg.channelcolormap ** // [[reference:​ft_databrowser]] //\\ 
 +COLORMAP (default = customized lines map with 15 colors) 
 + 
 +** cfg.chanscale ** // [[reference:​ft_databrowser]] //\\ 
 +Nx1 vector with scaling factors, one per channel specified in cfg.channel 
 + 
 +** cfg.chantype ** // [[reference:​ft_preprocessing]] //\\ 
 +string or Nx1 cell-array with channel types to be read (only for NeuroOmega) 
 + 
 +** cfg.chanunit ** // [[reference:​ft_dipolesimulation]] //\\ 
 +units for the channel data 
 + 
 +** cfg.clim ** // [[reference:​ft_volumerealign]] //\\ 
 +[min max], scaling of the anatomy color (default is to adjust to the minimum and maximum) 
 + 
 +** cfg.clim ** // [[reference:​ft_electrodeplacement]] //\\ 
 +color range of the data (default = [0 1], i.e. the full range) 
 + 
 +** cfg.clim ** // [[reference:​ft_sourceplot]] //\\ 
 +lower and upper anatomical MRI limits (default = [0 1]) 
 + 
 +** cfg.clipmax ** // [[reference:​ft_sliceinterp]] //\\ 
 +value or '​auto'​ (clipping of source data) 
 + 
 +** cfg.clipmin ** // [[reference:​ft_sliceinterp]] //\\ 
 +value or '​auto'​ (clipping of source data) 
 + 
 +** cfg.clipsym ** // [[reference:​ft_sliceinterp]] //\\ 
 +'​yes'​ or '​no'​ (default) symmetrical clipping 
 + 
 +** cfg.cloudtype ** // [[reference:​ft_sourceplot]] //\\ 
 +'​point'​ plots a single point at each sensor position '​cloud'​ (default) plots each a group of spherically arranged points at each sensor position '​surf'​ plots a single spherical surface mesh at each sensor position 
 + 
 +** cfg.clusteralpha ** // [[reference:​ft_statistics_montecarlo]] //\\ 
 +for either parametric or nonparametric thresholding per tail (default = 0.05) 
 + 
 +** cfg.clustercritval ** // [[reference:​ft_statistics_montecarlo]] //\\ 
 +for parametric thresholding (default is determined by the statfun) 
 + 
 +** cfg.clusterstatistic ** // [[reference:​ft_statistics_montecarlo]] //\\ 
 +how to combine the single samples that belong to a cluster, '​maxsum',​ '​maxsize',​ '​wcm'​ (default = '​maxsum'​) option '​wcm'​ refers to '​weighted cluster mass', a statistic that combines cluster size and intensity; see Hayasaka & Nichols (2004) NeuroImage for details 
 + 
 +** cfg.clustertail ** // [[reference:​ft_statistics_montecarlo]] //\\ 
 +-1, 1 or 0 (default = 0) 
 + 
 +** cfg.clusterthreshold ** // [[reference:​ft_statistics_montecarlo]] //\\ 
 +method for single-sample threshold, '​parametric',​ '​nonparametric_individual',​ '​nonparametric_common'​ (default = '​parametric'​) 
 + 
 +** cfg.cohmethod ** // [[reference:​ft_sourcedescriptives]] ​//\\
 '​regular',​ '​lambda1',​ '​canonical'​ '​regular',​ '​lambda1',​ '​canonical'​
  
-** cfg.colorbar ** // topoplot ​//\\+** cfg.coilaccuracy ** // [[reference:​ft_preprocessing]] //\\ 
 +can be empty or a number (0, 1 or 2) to specify the accuracy (default = []) 
 + 
 +** cfg.colmax ** // [[reference:​ft_sliceinterp]] //\\ 
 +source value mapped to the highest color (default = '​auto'​) 
 + 
 +** cfg.colmin ** // [[reference:​ft_sliceinterp]] //\\ 
 +source value mapped to the lowest color (default = '​auto'​) 
 + 
 +** cfg.colorbar ** // [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotIC]],​ [[reference:​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 '​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 ** // sourceplot ​//\\+** cfg.colorbar ** // [[reference:​ft_sourceplot]] ​//\\
 '​yes'​ or '​no'​ (default = '​yes'​) '​yes'​ or '​no'​ (default = '​yes'​)
  
-** cfg.colormap ** // topoplot ​//\\+** cfg.colorbar ** // [[reference:​ft_movieplotER]],​ [[reference:​ft_movieplotTFR]],​ [[reference:​ft_multiplotTFR]] //\\ 
 +'​yes',​ '​no'​ (default = '​no'​) 
 + 
 +** cfg.colorbar ** // [[reference:​ft_singleplotTFR]] //\\ 
 +'​yes',​ '​no'​ (default = '​yes'​) 
 + 
 +** cfg.colorgrad ** // [[reference:​ft_sourceplot]] //\\ 
 +'​white'​ or a scalar (e.g. 1), degree to which color of points in cloud changes from its center 
 + 
 +** cfg.colorgroups ** // [[reference:​ft_databrowser]] //\\ 
 +'​sequential'​ '​allblack'​ '​labelcharx'​ (x = xth character in label), '​chantype'​ or vector with length(data/​hdr.label) defining groups (default = '​sequential'​) 
 + 
 +** cfg.colormap ** // [[reference:​ft_multiplotTFR]],​ [[reference:​ft_singleplotTFR]],​ [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotIC]],​ [[reference:​ft_topoplotTFR]] ​//\\
 any sized colormap, see COLORMAP any sized colormap, see COLORMAP
  
-** cfg.combinechan ​** // freqdescriptives ​//\\ +** cfg.colormap ​** // [[reference:​ft_sliceinterp]] ​//\\ 
-'​no'​ or '​planar' ​(default ​= '​no'​), see below+colormap for source overlay ​(default ​is jet(128))
  
-** cfg.combinemethod ​** // freqdescriptives ​//\\ +** cfg.colorparam ​** // [[reference:​ft_topoplotCC]] ​//\\ 
-'​svdfft'​algorithm that is used to combine planar channels: the gradients are projected on the direction in which the average power over trials is maximal+stringparameter to be used to control ​the line color
  
-** cfg.comment ** // topoplotER ​//\\ +** cfg.comment ** // [[reference:​ft_topoplotER]] ​//\\ 
-string ​'​no'​ '​auto'​ or '​xlim'​ (default = '​auto'​) '​auto':​ date, xparam and zparam limits are printed '​xlim':​ only xparam limits are printed+'​no'​'​auto'​ or '​xlim'​ (default = '​auto'​) '​auto':​ date, xparam and zparam limits are printed '​xlim':​ only xparam limits are printed
  
-** cfg.comment ** // topoplot ​//\\ +** cfg.comment ** // [[reference:​ft_topoplotTFR]] ​//\\ 
-string of text+'​no',​ '​auto'​ or '​xlim'​ (default = '​auto'​) '​auto':​ date, xparam, yparam and parameter limits are printed '​xlim':​ only xparam limits are printed '​ylim':​ only yparam limits are printed
  
-** cfg.commentpos ​** // topoplot ​//\\ +** cfg.comment ​** // [[reference:​ft_annotate]] ​//\\ 
-position of comment (default = '​leftbottom'​) '​lefttop'​ '​leftbottom'​ '​middletop'​ '​middlebottom'​ '​righttop'​ '​rightbottom'​ or [x y] coordinates or '​title'​ to place comment as title+string
  
-** cfg.commentpos ** // topoplotER ​//\\+** cfg.comment ** // [[reference:​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 ** // [[reference:​ft_multiplotER]],​ [[reference:​ft_multiplotTFR]] //\\ 
 +string of text (default = date + limits) Add '​comment'​ to graph (according to COMNT in the layout) 
 + 
 +** cfg.commentpos ** // [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotIC]],​ [[reference:​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 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.complex ** // freqdescriptives ​//\\ +** cfg.complex ** // [[reference:​ft_connectivityanalysis]] ​//\\ 
-'​abs',​ 'complex', 'real', '​imag',​ 'absreal', 'absimag' ​or 'angle' ​(default = 'abs')+'​abs' ​(default), 'angle', 'complex', '​imag',​ 'real', '-logabs', support for method ​'coh''csd', 'plv'
  
-** cfg.component ** // dipolefitting ​//\\+** cfg.component ** // [[reference:​ft_dipolefitting]] ​//\\
 array with numbers (can be empty -> all) array with numbers (can be empty -> all)
  
-** cfg.conductivity ​** // prepare_bemmodel ​//\\ +** cfg.component ​** // [[reference:​ft_topoplotIC]] ​//\\ 
-[Cskin Cskull Cbrain]+field that contains the independent component(s) to be plotted as color
  
-** cfg.contcolor ​** // topoplot ​//\\ +** cfg.component ​** // [[reference:​ft_rejectcomponent]] ​//\\ 
-Contourline color (default = [0 0 0])+list of components to remove, e.g. [1 4 7or see FT_CHANNELSELECTION
  
-** cfg.continuous ** // preprocessing ​//\\+** cfg.compscale ** // [[reference:​ft_databrowser]] //\\ 
 +string, '​global'​ or '​local',​ defines whether the colormap for the topographic scaling is applied per topography or on all visualized components (default '​global'​) 
 + 
 +** cfg.conductivity ** // [[reference:​ft_prepare_headmodel]],​ [[reference:​ft_prepare_headmodel]] //\\ 
 + 
 + 
 +** cfg.conductivity ** // [[reference:​ft_prepare_headmodel]] //\\ 
 +a number or a vector containing the conductivities of the compartments 
 + 
 +** cfg.conductivity ** // [[reference:​ft_scalpcurrentdensity]],​ [[reference:​ft_scalpcurrentdensity]] //\\ 
 +conductivity of the skin (default = 0.33 S/m) 
 + 
 +** cfg.confound ** // [[reference:​ft_regressconfound]] //\\ 
 +matrix, [Ntrials X Nconfounds],​ may not contain NaNs 
 + 
 +** cfg.continuous ** // [[reference:​ft_databrowser]] //\\ 
 +'​yes'​ or '​no'​ whether the data should be interpreted as continuous or trial-based 
 + 
 +** cfg.continuous ** // [[reference:​ft_artifact_clip]],​ [[reference:​ft_artifact_ecg]],​ [[reference:​ft_artifact_eog]],​ [[reference:​ft_artifact_jump]],​ [[reference:​ft_artifact_muscle]],​ [[reference:​ft_artifact_threshold]] //\\ 
 +'​yes'​ or '​no'​ whether the file contains continuous data 
 + 
 +** cfg.continuous ** // [[reference:​ft_artifact_tms]],​ [[reference:​ft_artifact_zvalue]] //\\ 
 +'​yes'​ or '​no'​ whether the file contains continuous data (default = '​yes'​) 
 + 
 +** cfg.continuous ** // [[reference:​ft_preprocessing]] ​//\\
 '​yes'​ or '​no'​ whether the file contains continuous data (default is determined automatic) '​yes'​ or '​no'​ whether the file contains continuous data (default is determined automatic)
  
-** cfg.contournum ​** // topoplot ​//\\ +** cfg.coordsys ​** // [[reference:​ft_volumerealign]] ​//\\ 
-number ​of contour lines (default = 6)see CONTOUR+string specifying the origin and the axes of the coordinate system. Supported coordinate systems are '​ctf'​'​4d',​ '​bti',​ '​yokogawa',​ '​asa',​ '​itab',​ '​neuromag',​ '​acpc',​ and '​paxinos'​. See http://​tinyurl.com/​ojkuhqz
  
-** cfg.covariance ​** // timelockanalysis ​//\\ +** cfg.coordsys ​** // [[reference:​ft_preprocessing]] ​//\\ 
-'no' or 'yes'+string, ​'head' or 'dewar' ​(default = '​head'​)
  
-** cfg.covariancewindow ​** // timelockanalysis ​//\\ +** cfg.coordsys ​** // [[reference:​ft_meshrealign]] ​//\\ 
-[begin end]+string, can be '​ctf',​ '​neuromag',​ '​4d',​ '​bti',​ '​itab'​
  
-** cfg.crosshair ** // sourceplot ​//\\+** cfg.correctm ** // [[reference:​ft_statistics_analytic]] //\\ 
 +string, apply multiple-comparison correction, '​no',​ '​bonferroni',​ '​holm',​ '​hochberg',​ '​fdr'​ (default = '​no'​) 
 + 
 +** cfg.correctm ** // [[reference:​ft_statistics_montecarlo]] //\\ 
 +string, apply multiple-comparison correction, '​no',​ '​max',​ cluster',​ '​bonferroni',​ '​holm',​ '​hochberg',​ '​fdr'​ (default = '​no'​) 
 + 
 +** cfg.correcttail ** // [[reference:​ft_statistics_montecarlo]] //\\ 
 +string, correct p-values or alpha-values when doing a two-sided test, '​alpha','​prob'​ or '​no'​ (default = '​no'​) 
 + 
 +** cfg.coupling ** // [[reference:​ft_connectivitysimulation]] //\\ 
 +nxn matrix, specifying coupling strength, rows causing column 
 + 
 +** cfg.covariance ** // [[reference:​ft_timelockanalysis]] //\\ 
 +'​no'​ or '​yes'​ (default = '​no'​) 
 + 
 +** cfg.covariancewindow ** // [[reference:​ft_timelockanalysis]] //\\ 
 +'​prestim',​ '​poststim',​ '​all'​ or [begin end] (default = '​all'​) 
 + 
 +** cfg.covmat ** // [[reference:​ft_connectivitysimulation]] //\\ 
 +covariance matrix between the signals 
 + 
 +** cfg.crosshair ** // [[reference:​ft_sourceplot]] ​//\\
 '​yes'​ or '​no'​ (default = '​yes'​) '​yes'​ or '​no'​ (default = '​yes'​)
 +
 +** cfg.csp.classlabels ** // [[reference:​ft_componentanalysis]] //\\
 +vector that assigns a trial to class 1 or 2.
 +
 +** cfg.csp.numfilters ** // [[reference:​ft_componentanalysis]] //\\
 +the number of spatial filters to use (default: 6).
 +
 +** cfg.cvar ** // [[reference:​ft_statistics_montecarlo]] //\\
 +number or list with indices, control variable(s)
  
 ===== D ===== ===== D =====
  
-** cfg.datafile ** // preprocessing ​//\\+** cfg.datafile ** // [[reference:​ft_artifact_clip]],​ [[reference:​ft_artifact_ecg]],​ [[reference:​ft_artifact_eog]],​ [[reference:​ft_artifact_jump]],​ [[reference:​ft_artifact_muscle]],​ [[reference:​ft_artifact_threshold]],​ [[reference:​ft_artifact_tms]],​ [[reference:​ft_artifact_zvalue]],​ [[reference:​ft_databrowser]],​ [[reference:​ft_preprocessing]] ​//\\
 string with the filename string with the filename
  
-** cfg.dataset ** // preprocessing ​//\\+** cfg.dataformat ** // [[reference:​ft_artifact_ecg]],​ [[reference:​ft_artifact_eog]],​ [[reference:​ft_artifact_jump]],​ [[reference:​ft_artifact_muscle]],​ [[reference:​ft_artifact_threshold]],​ [[reference:​ft_artifact_tms]],​ [[reference:​ft_artifact_zvalue]] //\\ 
 + 
 + 
 +** cfg.datahdr ** // [[reference:​ft_audiovideobrowser]] //\\ 
 +header structure of the EEG/MEG data, see FT_READ_HEADER 
 + 
 +** cfg.dataset ** // [[reference:​ft_qualitycheck]] //\\ 
 +a string (e.g. '​dataset.ds'​) 
 + 
 +** cfg.dataset ** // [[reference:​ft_definetrial]] //\\ 
 +pathname to dataset from which to read the events 
 + 
 +** cfg.dataset ** // [[reference:​ft_artifact_clip]],​ [[reference:​ft_artifact_ecg]],​ [[reference:​ft_artifact_eog]],​ [[reference:​ft_artifact_jump]],​ [[reference:​ft_artifact_muscle]],​ [[reference:​ft_artifact_threshold]],​ [[reference:​ft_artifact_tms]],​ [[reference:​ft_artifact_zvalue]],​ [[reference:​ft_databrowser]],​ [[reference:​ft_headmovement]],​ [[reference:​ft_preprocessing]] ​//\\
 string with the filename string with the filename
  
-** cfg.derivative ​** // preprocessing ​//\\ +** cfg.datatype ​** // [[reference:​ft_volumewrite]] ​//\\ 
-'no' ​(default) or 'yes', ​computes the first order derivative of the data+'bit1''uint8', ​'​int16',​ '​int32',​ '​float'​ or '​double'​
  
-** cfg.detrend ** // resampledata ​//\\+** cfg.degree ** // [[reference:​ft_scalpcurrentdensity]] //\\ 
 +degree of legendre polynomials (default for <=32 electrodes = 9, <=64 electrodes = 14, <=128 electrodes = 20, else = 32 
 + 
 +** cfg.delay ** // [[reference:​ft_connectivitysimulation]] //\\ 
 +delay vector between the signals in samples 
 + 
 +** cfg.delay ** // [[reference:​ft_connectivitysimulation]] //\\ 
 +matrix, [nsignal x number of unobserved signals] specifying the time shift (in samples) between the unobserved signals and the observed signals 
 + 
 +** cfg.delay ** // [[reference:​ft_connectivitysimulation]] //\\ 
 +nxn matrix, specifying the delay, in seconds, from one signal'​s spectral component to the other signal, rows causing column 
 + 
 +** cfg.demean ** // [[reference:​ft_preprocessing]],​ [[reference:​ft_resampledata]] //\\ 
 +'​no'​ or '​yes',​ whether to apply baseline correction (default = '​no'​) 
 + 
 +** cfg.demean ** // [[reference:​ft_componentanalysis]],​ [[reference:​ft_rejectcomponent]] //\\ 
 +'​no'​ or '​yes',​ whether to demean the input data (default = '​yes'​) 
 + 
 +** cfg.demean ** // [[reference:​ft_mvaranalysis]] //\\ 
 +'​yes'​ (default) or '​no'​ explicit removal of DC-offset 
 + 
 +** cfg.demean ** // [[reference:​ft_connectivitysimulation]],​ [[reference:​ft_connectivitysimulation]] //\\ 
 +'​yes'​ (or '​no'​) 
 + 
 +** cfg.demean ** // [[reference:​ft_combineplanar]] //\\ 
 +'​yes'​ or '​no'​ (default = '​no'​) 
 + 
 +** cfg.demean ** // [[reference:​ft_channelnormalise]] //\\ 
 +'​yes'​ or '​no'​ (or boolean value) (default = '​yes'​) 
 + 
 +** cfg.derivative ** // [[reference:​ft_preprocessing]] //\\ 
 +'​no'​ or '​yes',​ computes the first order derivative of the data (default = '​no'​) 
 + 
 +** cfg.design ** // [[reference:​ft_freqstatistics]] //\\ 
 +Nxnumobservations:​ design matrix (for examples/​advice,​ please see the Fieldtrip wiki, especially cluster-permutation tutorial and the '​walkthrough'​ design-matrix section) 
 + 
 +** cfg.detrend ** // [[reference:​ft_resampledata]] ​//\\
 '​no'​ or '​yes',​ detrend the data prior to resampling (no default specified, see below) '​no'​ or '​yes',​ detrend the data prior to resampling (no default specified, see below)
  
-** cfg.detrend ** // preprocessing ​//\\ +** cfg.detrend ** // [[reference:​ft_preprocessing]] ​//\\ 
-'​no'​ or '​yes', ​this is done on the complete ​trial+'​no'​ or '​yes', ​remove linear trend from the data (done per trial) (default = '​no'​)
  
-** cfg.dftfilter ** // preprocessing ​//\\ +** cfg.dftbandwidth ** // [[reference:​ft_preprocessing]] //\\ 
-'​no'​ or '​yes'​ line noise removal using discrete fourier transform+bandwidth of line noise frequencies,​ applies to spectrum interpolation,​ in Hz (default = [1 2 3]) 
 + 
 +** cfg.dftfilter ** // [[reference:​ft_preprocessing]] ​//\\ 
 +'​no'​ or '​yes'​ line noise removal using discrete fourier transform ​(default = '​no'​) 
 + 
 +** cfg.dftfreq ** // [[reference:​ft_preprocessing]] //\\ 
 +line noise frequencies in Hz for DFT filter (default = [50 100 150]) 
 + 
 +** cfg.dftneighbourwidth ** // [[reference:​ft_preprocessing]] //\\ 
 +bandwidth of frequencies neighbouring line noise frequencies,​ applies to spectrum interpolation,​ in Hz (default = [2 2 2]) 
 + 
 +** cfg.dftreplace ** // [[reference:​ft_preprocessing]] //\\ 
 +'​zero'​ or '​neighbour',​ method used to reduce line noise, '​zero'​ implies DFT filter, '​neighbour'​ implies spectrum interpolation (default = '​zero'​) 
 + 
 +** cfg.dim ** // [[reference:​ft_volumereslice]] //\\ 
 +[nx ny nz], size of the volume in each direction 
 + 
 +** cfg.dim ** // [[reference:​ft_sliceinterp]] //\\ 
 +integer value, default is 3 (dimension to slice)
  
-** cfg.dftfreq ​** // preprocessing ​//\\ +** cfg.dip.amplitude ​** // [[reference:​ft_dipolesimulation]] ​//\\ 
-line noise frequencies for DFT filter, default [50 100 150] Hz+per dipole
  
-** cfg.dip.frequency ** // dipolesimulation ​//\\+** cfg.dip.frequency ** // [[reference:​ft_dipolesimulation]] ​//\\
 in Hz in Hz
  
-** cfg.dip.mom ** // dipolesimulation ​//\\ +** cfg.dip.mom ** // [[reference:​ft_dipolesimulation]] ​//\\ 
-[Qx Qy Qz]+[Qx Qy Qz] (size 3xN)
  
-** cfg.dip.phase ** // dipolesimulation ​//\\+** cfg.dip.phase ** // [[reference:​ft_dipolesimulation]] ​//\\
 in radians in radians
  
-** cfg.dip.pos ** // dipolesimulation ​//\\ +** cfg.dip.pos ** // [[reference:​ft_dipolesimulation]] ​//\\ 
-[Rx Ry Rz]+[Rx Ry Rz] (size Nx3)
  
-** cfg.dip.pos ** // dipolefitting ​//\\+** cfg.dip.pos ** // [[reference:​ft_dipolefitting]] ​//\\
 initial dipole position, matrix of Ndipoles x 3 initial dipole position, matrix of Ndipoles x 3
  
-** cfg.dip.signal ** // dipolesimulation ​//\\+** cfg.dip.signal ** // [[reference:​ft_dipolesimulation]] ​//\\
  
  
-** cfg.dipfit.display ** // dipolefitting ​//\\+** cfg.dipfit.display ** // [[reference:​ft_dipolefitting]] ​//\\
 level of display, can be '​off',​ '​iter',​ '​notify'​ or '​final'​ (default = '​iter'​) level of display, can be '​off',​ '​iter',​ '​notify'​ or '​final'​ (default = '​iter'​)
  
-** cfg.dipfit.maxiter ** // dipolefitting ​//\\+** cfg.dipfit.maxiter ** // [[reference:​ft_dipolefitting]] ​//\\
 maximum number of function evaluations allowed (default depends on the optimfun) maximum number of function evaluations allowed (default depends on the optimfun)
  
-** cfg.dipfit.optimfun ** // dipolefitting ​//\\+** cfg.dipfit.optimfun ** // [[reference:​ft_dipolefitting]] ​//\\
 function to use, can be '​fminsearch'​ or '​fminunc'​ (default is determined automatic) function to use, can be '​fminsearch'​ or '​fminunc'​ (default is determined automatic)
  
-** cfg.distmat ** // sourceplot ​//\\+** cfg.dipoleunit ** // [[reference:​ft_dipolesimulation]] //\\ 
 +units for dipole amplitude (default nA*m) 
 + 
 +** cfg.directionality ** // [[reference:​ft_multiplotTFR]],​ [[reference:​ft_singleplotER]],​ [[reference:​ft_singleplotTFR]],​ [[reference:​ft_topoplotER]],​ [[reference:​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.directionality ** // [[reference:​ft_multiplotER]] //\\ 
 +%%''​%%,​ '​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 dimord of the input data (see below). 
 + 
 +** cfg.distmat ** // [[reference:​ft_sourceplot]] ​//\\
 precomputed distance matrix (default = []) precomputed distance matrix (default = [])
  
-** cfg.downsample ** // sourceplot ​//\\+** cfg.downsample ** // [[reference:​ft_sourceplot]] ​//\\
 downsampling for resolution reduction, integer value (default = 1) (orig: from surface) downsampling for resolution reduction, integer value (default = 1) (orig: from surface)
  
-** cfg.downsample ** // sourceinterpolate ​//\\+** cfg.downsample ** // [[reference:​ft_sourceinterpolate]],​ [[reference:​ft_volumedownsample]],​ [[reference:​ft_volumenormalise]],​ [[reference:​ft_volumereslice]],​ [[reference:​ft_volumewrite]] ​//\\
 integer number (default = 1, i.e. no downsampling) integer number (default = 1, i.e. no downsampling)
  
-** cfg.downsample ** // freqanalysis_tfr ​//\\ +** cfg.downsample ** // [[reference:​ft_prepare_mesh]] ​//\\ 
-ratio for downsampling, ​which occurs after convolution ​(default = 1)+integer number (default = 1, i.e. no downsampling)see FT_VOLUMEDOWNSAMPLE 
 + 
 +** cfg.downsample ** // [[reference:​ft_volumesegment]] //\\ 
 +integer, amount of downsampling before segmentation ​(default = 1; i.e., no downsampling) 
 + 
 +** cfg.dss.denf.function ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.dss.denf.params ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.duration ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +scalar, trial length in seconds (default = 4.56)
  
 ===== E ===== ===== E =====
  
-** cfg.ecgscale ** // rejectvisual ​//\\+** cfg.ecgscale ** // [[reference:​ft_databrowser]],​ [[reference:​ft_rejectvisual]] ​//\\
 number, scaling to apply to the ECG channels prior to display number, scaling to apply to the ECG channels prior to display
  
-** cfg.ecolor ​** // topoplot ​//\\ +** cfg.edgecolor ​** // [[reference:​ft_sourceplot]] ​//\\ 
-Marker color (default = [0 0 0(black))+[r g bvalues or string, for example '​brain',​ '​cortex',​ '​skin',​ 'black', '​red',​ '​r'​
  
-** cfg.eegscale ** // rejectvisual ​//\\+** cfg.eegscale ** // [[reference:​ft_databrowser]],​ [[reference:​ft_rejectvisual]] ​//\\
 number, scaling to apply to the EEG channels prior to display number, scaling to apply to the EEG channels prior to display
  
-** cfg.efontsize ​** // topoplot ​//\\ +** cfg.elec ** // [[reference:​ft_prepare_headmodel]] ​//\\
-Font size of electrode labels/​numbers (default = 8 pt) when cfg.electrodes = '​numbers'​ or '​labels'​+
  
-** cfg.elec ** // dipolefitting,​ dipolesimulationprepare_leadfieldsourceanalysis ​//\\+ 
 +** cfg.elec ** // [[reference:​ft_electrodeplacement]] //\\ 
 +struct containing previously placed electrodes (this overwrites cfg.channel) 
 + 
 +** cfg.elec ** // [[reference:​ft_layoutplot]][[reference:​ft_neighbourplot]][[reference:​ft_scalpcurrentdensity]] ​//\\
 structure with electrode definition structure with electrode definition
  
-** cfg.elec ** // layoutplot, prepare_layout ​//\\ +** cfg.elec ** // [[reference:​ft_prepare_layout]] ​//\\ 
-structure with electrode ​positions, or+structure with electrode ​definition, or
  
-** cfg.elecfile ​** // layoutplotprepare_layout ​//\\ +** cfg.elec ** // [[reference:​ft_channelrepair]][[reference:​ft_databrowser]],​ [[reference:​ft_dipolefitting]],​ [[reference:​ft_dipolesimulation]],​ [[reference:​ft_electroderealign]],​ [[reference:​ft_prepare_leadfield]],​ [[reference:​ft_prepare_neighbours]],​ [[reference:​ft_prepare_sourcemodel]],​ [[reference:​ft_sourceanalysis]] ​//\\ 
-filename containing ​electrode positions+structure with electrode positions, see FT_DATATYPE_SENS
  
-** cfg.elecfile ** // dipolefitting,​ dipolesimulation,​ prepare_leadfield,​ sourceanalysis ​//\\ +** cfg.elecfile ** // [[reference:​ft_prepare_headmodel]] ​//\\ 
-string, ​file containing ​the electrode definition+(required) ​string, ​filename of electrode configuration for the FEM leadfield
  
-** cfg.electrodes ​** // topoplot ​//\\ +** cfg.elecfile ​** // [[reference:​ft_layoutplot]],​ [[reference:​ft_neighbourplot]],​ [[reference:​ft_prepare_layout]] ​//\\ 
-'​on','​off','​labels','​numbers','​highlights'​ or '​dotnum'​ (default = '​on'​)+filename containing electrode definition
  
-** cfg.emarker ​** // topoplot ​//\\ +** cfg.elecfile ​** // [[reference:​ft_channelrepair]],​ [[reference:​ft_databrowser]],​ [[reference:​ft_dipolefitting]],​ [[reference:​ft_dipolesimulation]],​ [[reference:​ft_electroderealign]],​ [[reference:​ft_prepare_leadfield]],​ [[reference:​ft_prepare_neighbours]],​ [[reference:​ft_prepare_sourcemodel]],​ [[reference:​ft_sourceanalysis]] ​//\\ 
-Marker symbol (default = '​o'​)+name of file containing the electrode positions, see FT_READ_SENS
  
-** cfg.emarkersize ​** // topoplot ​//\\ +** cfg.elecfile ​** // [[reference:​ft_scalpcurrentdensity]] ​//\\ 
-Marker size (default = 2)+string, file containing the electrode definition
  
-** cfg.endsample ** // redefinetrial ​//\\+** cfg.emgscale ** // [[reference:​ft_databrowser]],​ [[reference:​ft_rejectvisual]] //\\ 
 +number, scaling to apply to the EMG channels prior to display 
 + 
 +** cfg.ems ** // [[reference:​ft_mvaranalysis]] //\\ 
 +'​no'​ (default) or '​yes'​ explicit removal ensemble mean 
 + 
 +** cfg.endsample ** // [[reference:​ft_redefinetrial]] ​//\\
 single number or Nx1 vector, expressed in samples relative to the start of the input trial single number or Nx1 vector, expressed in samples relative to the start of the input trial
  
-** cfg.eogscale ** // rejectvisual ​//\\+** cfg.envelopewindow ** // [[reference:​ft_heartrate]] //\\ 
 +scalar, time in seconds 
 + 
 +** cfg.eogscale ** // [[reference:​ft_databrowser]],​ [[reference:​ft_rejectvisual]] ​//\\
 number, scaling to apply to the EOG channels prior to display number, scaling to apply to the EOG channels prior to display
  
-** cfg.eta ** // sourcedescriptives ​//\\+** cfg.equalbinavg ** // [[reference:​ft_stratify]] //\\ 
 +'​yes'​ 
 + 
 +** cfg.eta ** // [[reference:​ft_sourcedescriptives]] ​//\\
 '​yes'​ or '​no'​ (default = '​no'​) '​yes'​ or '​no'​ (default = '​no'​)
  
-** cfg.eventtype ** // recodeevent ​//\\+** cfg.eventtype ** // [[reference:​ft_recodeevent]] ​//\\
 empty, '​string'​ or cell-array with multiple strings empty, '​string'​ or cell-array with multiple strings
  
-** cfg.eventvalue ** // recodeevent ​//\\+** cfg.eventvalue ** // [[reference:​ft_recodeevent]] ​//\\
 empty or a list of event values (can be numeric or string) empty or a list of event values (can be numeric or string)
  
 ===== F ===== ===== F =====
  
-** cfg.feedback ** // resampledatasourceanalysissourcedescriptives ​//\\+** cfg.facecolor ** // [[reference:​ft_sourceplot]] //\\ 
 +[r g b] values or string, for example '​brain',​ '​cortex',​ '​skin',​ '​black',​ '​red',​ '​r',​ or an Nx3 or Nx1 array where N is the number of faces 
 + 
 +** cfg.fastica.a1 ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.fastica.a2 ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.fastica.approach ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.fastica.dewhiteMat ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.fastica.displayInterval ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.fastica.displayMode ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.fastica.epsilon ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.fastica.finetune ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.fastica.firstEig ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.fastica.g ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.fastica.initGuess ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.fastica.interactivePCA ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.fastica.lastEig ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.fastica.maxFinetune ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.fastica.maxNumIterations ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.fastica.mu ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.fastica.numOfIC ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.fastica.only ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.fastica.pcaD ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.fastica.pcaE ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.fastica.sampleSize ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.fastica.stabilization ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.fastica.verbose ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.fastica.whiteMat ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.fastica.whiteSig ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.feedback ** // [[reference:​ft_megplanar]] //\\ 
 + 
 + 
 +** cfg.feedback ** // [[reference:​ft_defacevolume]] //\\ 
 +'​no'​ or '​yes',​ whether to provide graphical feedback (default = '​no'​) 
 + 
 +** cfg.feedback ** // [[reference:​ft_sourcedescriptives]] //\\ 
 +'​no',​ '​text'​ (default), '​textbar',​ '​gui'​ 
 + 
 +** cfg.feedback ** // [[reference:​ft_componentanalysis]][[reference:​ft_resampledata]][[reference:​ft_sourceanalysis]] ​//\\
 '​no',​ '​text',​ '​textbar',​ '​gui'​ (default = '​text'​) '​no',​ '​text',​ '​textbar',​ '​gui'​ (default = '​text'​)
  
-** cfg.feedback ** // prepare_localspheres ​//\\ +** cfg.feedback ** // [[reference:​ft_freqanalysis_mvar]] ​//\\ 
-'yes' or '​no'​ (default = '​yes'​)+'none'or any of the methods supported by FT_PROGRESS,​ for providing feedback to the user in the command window.
  
-** cfg.fixedori ** // sourcedescriptives ​//\\+** cfg.feedback ** // [[reference:​ft_electrodermalactivity]],​ [[reference:​ft_heartrate]] //\\ 
 +'​yes'​ or '​no'​ 
 + 
 +** cfg.feedback ** // [[reference:​ft_electroderealign]],​ [[reference:​ft_prepare_neighbours]] //\\ 
 +'​yes'​ or '​no'​ (default = '​no'​) 
 + 
 +** cfg.feedback ** // [[reference:​ft_electroderealign]] //\\ 
 +'​yes'​ or '​no'​ (default), feedback of the iteration procedure 
 + 
 +** cfg.feedback ** // [[reference:​ft_prepare_headmodel]] //\\ 
 +(optional) 
 + 
 +** cfg.feedback ** // [[reference:​ft_topoplotCC]] //\\ 
 +string (default = '​textbar'​) 
 + 
 +** cfg.feedback ** // [[reference:​ft_statistics_montecarlo]] //\\ 
 +string, '​gui',​ '​text',​ '​textbar'​ or '​no'​ (default = '​text'​) 
 + 
 +** cfg.feedback ** // [[reference:​ft_statistics_stats]] //\\ 
 +string, '​gui',​ '​text',​ '​textbar'​ or '​no'​ (default = '​textbar'​) 
 + 
 +** cfg.feedback ** // [[reference:​ft_analysispipeline]] //\\ 
 +string, '​no',​ '​text',​ '​gui'​ or '​yes',​ whether text and/or graphical feedback should be presented (default = '​yes'​) 
 + 
 +** cfg.feedback ** // [[reference:​ft_interpolatenan]],​ [[reference:​ft_scalpcurrentdensity]] //\\ 
 +string, '​no',​ '​text',​ '​textbar',​ '​gui'​ (default = '​text'​) 
 + 
 +** cfg.feedback ** // [[reference:​ft_electrodeplacement]] //\\ 
 +string, can be '​yes'​ or '​no'​ for detailled feedback (default = '​yes'​) 
 + 
 +** cfg.feedback ** // [[reference:​ft_connectivityanalysis]] //\\ 
 +string, specifying the feedback presented to the user. Default is '​none'​. See FT_PROGRESS 
 + 
 +** cfg.fiducial ** // [[reference:​ft_electroderealign]] //\\ 
 +cell-array with the name of three fiducials used for realigning (default = {'​nasion',​ '​lpa',​ '​rpa'​}) 
 + 
 +** cfg.fiducial.ac ** // [[reference:​ft_volumerealign]] //\\ 
 +[i j k], position of anterior commissure 
 + 
 +** cfg.fiducial.ini ** // [[reference:​ft_electrodeplacement]] //\\ 
 +1x3 vector with coordinates 
 + 
 +** cfg.fiducial.lpa ** // [[reference:​ft_electrodeplacement]] //\\ 
 +1x3 vector with coordinates 
 + 
 +** cfg.fiducial.lpa ** // [[reference:​ft_volumerealign]] //\\ 
 +[i j k], position of LPA 
 + 
 +** cfg.fiducial.lpa ** // [[reference:​ft_volumewrite]] //\\ 
 +[x y z] position of LPA 
 + 
 +** cfg.fiducial.lpa ** // [[reference:​ft_meshrealign]] //\\ 
 +[x y z], position of LPA 
 + 
 +** cfg.fiducial.nas ** // [[reference:​ft_electrodeplacement]] //\\ 
 +1x3 vector with coordinates 
 + 
 +** cfg.fiducial.nas ** // [[reference:​ft_volumerealign]] //\\ 
 +[i j k], position of nasion 
 + 
 +** cfg.fiducial.nas ** // [[reference:​ft_volumewrite]] //\\ 
 +[x y z] position of nasion 
 + 
 +** cfg.fiducial.nas ** // [[reference:​ft_meshrealign]] //\\ 
 +[x y z], position of nasion 
 + 
 +** cfg.fiducial.pc ** // [[reference:​ft_volumerealign]] //\\ 
 +[i j k], position of posterior commissure 
 + 
 +** cfg.fiducial.rpa ** // [[reference:​ft_electrodeplacement]] //\\ 
 +1x3 vector with coordinates 
 + 
 +** cfg.fiducial.rpa ** // [[reference:​ft_volumerealign]] //\\ 
 +[i j k], position of RPA 
 + 
 +** cfg.fiducial.rpa ** // [[reference:​ft_volumewrite]] //\\ 
 +[x y z] position of RPA 
 + 
 +** cfg.fiducial.rpa ** // [[reference:​ft_meshrealign]] //\\ 
 +[x y z], position of RPA 
 + 
 +** cfg.fiducial.xzpoint ** // [[reference:​ft_volumerealign]] //\\ 
 +[i j k], point on the midsagittal-plane with a positive Z-coordinate,​ i.e. an interhemispheric point above ac and pc 
 + 
 +** cfg.fiducial.zpoint ** // [[reference:​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 ** // [[reference:​ft_volumewrite]] //\\ 
 +filename without the extension 
 + 
 +** cfg.filename ** // [[reference:​ft_analysispipeline]],​ [[reference:​ft_sourcewrite]] //\\ 
 +string, filename without the extension 
 + 
 +** cfg.filetype ** // [[reference:​ft_volumewrite]] //\\ 
 +'​analyze',​ '​nifti',​ '​nifti_img',​ '​analyze_spm',​ '​mgz',​ '​vmp'​ or '​vmr'​ 
 + 
 +** cfg.filetype ** // [[reference:​ft_analysispipeline]] //\\ 
 +string, can be '​matlab',​ '​html'​ or '​dot'​ 
 + 
 +** cfg.filetype ** // [[reference:​ft_sourcewrite]] //\\ 
 +string, can be '​nifti',​ '​gifti'​ or '​cifti'​ (default is automatic) 
 + 
 +** cfg.fitind ** // [[reference:​ft_prepare_headmodel]] //\\ 
 +(optional) 
 + 
 +** cfg.fixedori ** // [[reference:​ft_sourcedescriptives]] ​//\\
 '​within_trials'​ or '​over_trials'​ (default = '​over_trials'​) '​within_trials'​ or '​over_trials'​ (default = '​over_trials'​)
  
-** cfg.foi ** // freqanalysis_mtmconvolfreqanalysis_mtmwelch,​ freqanalysis_tfr,​ freqanalysis_wltconvol ​//\\+** cfg.flipdim ​** // [[reference:​ft_sliceinterp]] //\\ 
 +flip data along the sliced dimension'​yes'​ or '​no'​ (default = '​no'​) 
 + 
 +** cfg.foi ** // [[reference:​ft_topoplotCC]] //\\ 
 +the frequency of interest which is to be plotted (default is the first frequency bin) 
 + 
 +** cfg.foi ** // [[reference:​ft_freqanalysis]] ​//\\
 vector 1 x numfoi, frequencies of interest vector 1 x numfoi, frequencies of interest
  
-** cfg.foilim ** // freqanalysis_mtmfft ​//\\+** cfg.foi ** // [[reference:​ft_freqanalysis]],​ [[reference:​ft_freqanalysis]] //\\ 
 +vector 1 x numfoi, frequencies of interest OR 
 + 
 +** cfg.foi ** // [[reference:​ft_freqanalysis_mvar]] //\\ 
 +vector with the frequencies at which the spectral quantities are estimated (in Hz). Default: 0:​1:​Nyquist 
 + 
 +** cfg.foilim ** // [[reference:​ft_freqinterpolate]] //\\ 
 +Nx2 matrix with begin and end of each interval to be interpolated (default = [49 51; 99 101; 149 151]) 
 + 
 +** cfg.foilim ** // [[reference:​ft_freqanalysis]],​ [[reference:​ft_freqanalysis]] ​//\\
 [begin end], frequency band of interest [begin end], frequency band of interest
  
-** cfg.foilim ** // freqdescriptivesfreqgrandaverage ​//\\+** cfg.foilim ** // [[reference:​ft_freqanalysis]] //\\ 
 +[begin end]frequency band of interest OR 
 + 
 +** cfg.foilim ** // [[reference:​ft_freqgrandaverage]] ​//\\
 [fmin fmax] or '​all',​ to specify a subset of frequencies (default = '​all'​) [fmin fmax] or '​all',​ to specify a subset of frequencies (default = '​all'​)
  
-** cfg.fontsize ** // topoplot ​//\\ +** cfg.fontsize ** // [[reference:​ft_multiplotER]] ​//\\ 
-Font size of comment (default = 8 pt)+font size of comment ​and labels ​(default = 8)
  
-** cfg.frequency ** // freqstatistics ​//\\+** cfg.fontsize ** // [[reference:​ft_multiplotTFR]] //\\ 
 +font size of comment and labels (if present) (default = 8) 
 + 
 +** cfg.fontsize ** // [[reference:​ft_singleplotER]],​ [[reference:​ft_singleplotTFR]] //\\ 
 +font size of title (default = 8) 
 + 
 +** cfg.fontsize ** // [[reference:​ft_databrowser]] //\\ 
 +number, fontsize inside the figure (default = 0.03) 
 + 
 +** cfg.fontunits ** // [[reference:​ft_databrowser]] //\\ 
 +string, can be '​normalized',​ '​points',​ '​pixels',​ '​inches'​ or '​centimeters'​ (default = '​normalized'​) 
 + 
 +** cfg.fontweight ** // [[reference:​ft_multiplotTFR]] //\\ 
 +font weight of comment and labels (if present) 
 + 
 +** cfg.framesfile ** // [[reference:​ft_movieplotTFR]] //\\ 
 +[] (optional), no file saved, or '​string',​ filename of saved frames.mat (default = []); 
 + 
 +** cfg.framesfile ** // [[reference:​ft_movieplotER]] //\\ 
 +[], no file saved, or '​string',​ filename of saved frames.mat (default = []); 
 + 
 +** cfg.framespersec ** // [[reference:​ft_movieplotER]],​ [[reference:​ft_movieplotTFR]] //\\ 
 +number, frames per second (default = 5) 
 + 
 +** cfg.freqhigh ** // [[reference:​ft_crossfrequencyanalysis]] //\\ 
 +scalar or vector, selection of frequencies for the high frequency data 
 + 
 +** cfg.freqlow ** // [[reference:​ft_crossfrequencyanalysis]] //\\ 
 +scalar or vector, selection of frequencies for the low frequency data 
 + 
 +** cfg.frequency ** // [[reference:​ft_freqstatistics]] ​//\\
 [begin end], can be '​all'​ (default = '​all'​) [begin end], can be '​all'​ (default = '​all'​)
  
-** cfg.frequency ** // dipolefittingsourceanalysis ​//\\+** cfg.frequency ** // [[reference:​ft_freqdescriptives]] //\\ 
 +[fmin fmax] or '​all'​to specify a subset of frequencies (default = '​all'​) 
 + 
 +** cfg.frequency ** // [[reference:​ft_sourceplot]] //\\ 
 +scalar or string, can be '​all',​ or [beg end], specify frequency range in Hz 
 + 
 +** cfg.frequency ** // [[reference:​ft_dipolefitting]],​ [[reference:​ft_sourceanalysis]] ​//\\
 single number (in Hz) single number (in Hz)
  
-** cfg.fsample ** // dipolesimulation ​//\\+** cfg.fsample ** // [[reference:​ft_connectivitysimulation]] //\\ 
 +in Hz 
 + 
 +** cfg.fsample ** // [[reference:​ft_dipolesimulation]] ​//\\
 sampling frequency in Hz sampling frequency in Hz
  
-** cfg.funcolorlim ​** // sourceplot ​//\\ +** cfg.fsample ​** // [[reference:​ft_steadystatesimulation]] ​//\\ 
-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'​+scalar, sampling frequency in Hz (default = 512)
  
-** cfg.funcolormap ​** // sourceplot ​//\\ +** cfg.fsample ​** // [[reference:​ft_freqsimulation]] ​//\\ 
-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'​+simulated sample frequency
  
-** cfg.funparameter ** // sourceplot ​//\\+** cfg.fsample ** // [[reference:​ft_timelocksimulation]] //\\ 
 +simulated sample frequency (default = 1000) 
 + 
 +** cfg.fshome ** // [[reference:​ft_prepare_mesh]] //\\ 
 +'/​path/​to/​freesurfer dir'; cortex_hull = ft_prepare_mesh(cfg);​ 
 + 
 +** cfg.fshome ** // [[reference:​ft_electroderealign]] //\\ 
 +string, path to freesurfer 
 + 
 +** cfg.fsl.costfun ** // [[reference:​ft_volumerealign]] //\\ 
 +string, specifying the cost-function used for coregistration 
 + 
 +** cfg.fsl.dof ** // [[reference:​ft_volumerealign]] //\\ 
 +scalar, specifying the number of parameters for the affine transformation. 6 (rigid body), 7 (global rescale), 9 (traditional) or 12. 
 + 
 +** cfg.fsl.interpmethod ** // [[reference:​ft_volumerealign]] //\\ 
 +string, specifying the interpolation method, can be '​trilinear',​ '​nearestneighbour',​ or '​sinc'​ 
 + 
 +** cfg.fsl.path ** // [[reference:​ft_volumerealign]] //\\ 
 +string, specifying the path to fsl 
 + 
 +** cfg.fsl.reslice ** // [[reference:​ft_volumerealign]] //\\ 
 +string, specifying whether the output image will be resliced conform the target image (default = '​yes'​) 
 + 
 +** cfg.funcolorlim ** // [[reference:​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(funparameter) '​minzero',​ from min(funparameter) to 0 '​auto',​ if funparameter values are all positive: '​zeromax',​ all negative: '​minzero',​ both possitive and negative: '​maxabs'​ 
 + 
 +** cfg.funcolormap ** // [[reference:​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'​ -> '​default'​ - funcolorlim:​ [min max] if min & max pos-> '​hot',​ neg-> '​cool',​ both-> '​default'​ 
 + 
 +** cfg.funparameter ** // [[reference:​ft_sliceinterp]] //\\ 
 +string with the functional parameter of interest (default = '​source'​) 
 + 
 +** cfg.funparameter ** // [[reference:​ft_sourceplot]] ​//\\
 string, field in data with the functional parameter of interest (default = []) string, field in data with the functional parameter of interest (default = [])
 +
 +** cfg.funparameter ** // [[reference:​ft_sourcemovie]] //\\
 +string, functional parameter that is color coded
  
 ===== G ===== ===== G =====
  
-** cfg.grad ** // dipolefittingdipolesimulationprepare_leadfield,​ sourceanalysis ​//\\+** cfg.grad ** // [[reference:​ft_prepare_headmodel]][[reference:​ft_prepare_headmodel]] //\\ 
 + 
 + 
 +** cfg.grad ** // [[reference:​ft_layoutplot]][[reference:​ft_neighbourplot]] ​//\\
 structure with gradiometer definition structure with gradiometer definition
  
-** cfg.grad ** // layoutplot, prepare_layout,​ prepare_localspheres ​//\\+** cfg.grad ** // [[reference:​ft_prepare_layout]] ​//\\
 structure with gradiometer definition, or structure with gradiometer definition, or
  
-** cfg.gradfile ** // layoutplotprepare_layoutprepare_localspheres ​//\\+** cfg.grad ** // [[reference:​ft_channelrepair]],​ [[reference:​ft_databrowser]],​ [[reference:​ft_dipolefitting]],​ [[reference:​ft_dipolesimulation]],​ [[reference:​ft_prepare_leadfield]],​ [[reference:​ft_prepare_neighbours]],​ [[reference:​ft_prepare_sourcemodel]],​ [[reference:​ft_sourceanalysis]] //\\ 
 +structure with gradiometer definition, see FT_DATATYPE_SENS 
 + 
 +** cfg.gradfile ** // [[reference:​ft_layoutplot]][[reference:​ft_neighbourplot]][[reference:​ft_prepare_layout]] ​//\\
 filename containing gradiometer definition filename containing gradiometer definition
  
-** cfg.gradfile ** // dipolefittingdipolesimulationprepare_leadfieldsourceanalysis ​//\\ +** cfg.gradfile ** // [[reference:​ft_channelrepair]][[reference:​ft_databrowser]][[reference:​ft_dipolefitting]][[reference:​ft_dipolesimulation]],​ [[reference:​ft_prepare_leadfield]],​ [[reference:​ft_prepare_neighbours]],​ [[reference:​ft_prepare_sourcemodel]],​ [[reference:​ft_sourceanalysis]] ​//\\ 
-string, ​file containing the gradiometer definition+name of file containing the gradiometer definition, see FT_READ_SENS
  
-** cfg.grid ** // dipolefitting ​//\\ +** cfg.gradient ​** // [[reference:​ft_denoise_synthetic]] ​//\\ 
-structuresee PREPARE_LEADFIELD+'​none'​'​G1BR',​ '​G2BR'​ or '​G3BR'​ specifies the gradiometer type to which the data should be changed
  
-** cfg.grid.dim ** // dipolefittingprepare_leadfieldsourceanalysis ​//\\+** cfg.gradscale ** // [[reference:​ft_multiplotER]],​ [[reference:​ft_multiplotTFR]] //\\ 
 +number, scaling to apply to the MEG gradiometer channels prior to display 
 + 
 +** cfg.gradscale ** // [[reference:​ft_databrowser]],​ [[reference:​ft_rejectvisual]] //\\ 
 +number, scaling to apply to the MEG gradiometer channels prior to display (in addition to the cfg.megscale factor) 
 + 
 +** cfg.graphcolor ** // [[reference:​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 ** // [[reference:​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 ** // [[reference:​ft_dipolefitting]],​ [[reference:​ft_sourceanalysis]] //\\ 
 +structure, see FT_PREPARE_SOURCEMODEL or FT_PREPARE_LEADFIELD 
 + 
 +** cfg.grid.dim ** // [[reference:​ft_dipolefitting]][[reference:​ft_prepare_leadfield]][[reference:​ft_sourceanalysis]] ​//\\
 [Nx Ny Nz] vector with dimensions in case of 3-D grid (optional) [Nx Ny Nz] vector with dimensions in case of 3-D grid (optional)
  
-** cfg.grid.inside ​** // dipolefitting,​ prepare_leadfield,​ sourceanalysis ​//\\ +** cfg.grid.dim ** // [[reference:​ft_prepare_sourcemodel]] ​//\\ 
-vector with indices ​of the sources inside the brain (optional)+[Nx Ny Nz] vector with dimensions in case of 3D grid (optional)
  
-** cfg.grid.outside ​** // dipolefitting,​ prepare_leadfield,​ sourceanalysis ​//\\ +** cfg.grid.filter ​** // [[reference:​ft_sourceanalysis]] ​//\\
-vector with indices of the sources outside the brain (optional)+
  
-** cfg.grid.pos ** // dipolefitting,​ prepare_leadfield,​ sourceanalysis //\\ 
-Nx3 matrix with position of each source 
  
-** cfg.grid.resolution ** // dipolefittingprepare_leadfieldsourceanalysis ​//\\+** cfg.grid.filter ** // [[reference:​ft_prepare_sourcemodel]] //\\ 
 +or alternatively cfg.grid.avg.filter 
 + 
 +** cfg.grid.inside ** // [[reference:​ft_dipolefitting]],​ [[reference:​ft_prepare_leadfield]],​ [[reference:​ft_prepare_sourcemodel]],​ [[reference:​ft_sourceanalysis]] //\\ 
 +N*1 vector with boolean value whether grid point is inside brain (optional) 
 + 
 +** cfg.grid.lbex ** // [[reference:​ft_prepare_sourcemodel]] //\\ 
 + 
 + 
 +** cfg.grid.leadfield ** // [[reference:​ft_prepare_sourcemodel]],​ [[reference:​ft_sourceanalysis]] //\\ 
 + 
 + 
 +** cfg.grid.nonlinear ** // [[reference:​ft_prepare_sourcemodel]] //\\ 
 +'​no'​ (or '​yes'​),​ use non-linear normalization 
 + 
 +** cfg.grid.pos ** // [[reference:​ft_dipolefitting]],​ [[reference:​ft_prepare_leadfield]],​ [[reference:​ft_prepare_sourcemodel]],​ [[reference:​ft_sourceanalysis]] //\\ 
 +N*3 matrix with position of each source 
 + 
 +** cfg.grid.pos ** // [[reference:​ft_dipolefitting]],​ [[reference:​ft_sourceanalysis]] //\\ 
 +N*3 matrix with the vertex positions of the cortical sheet 
 + 
 +** cfg.grid.resolution ** // [[reference:​ft_dipolefitting]],​ [[reference:​ft_prepare_leadfield]][[reference:​ft_prepare_sourcemodel]][[reference:​ft_sourceanalysis]] ​//\\
 number (e.g. 1 cm) for automatic grid generation number (e.g. 1 cm) for automatic grid generation
  
-** cfg.grid.xgrid ** // dipolefittingprepare_leadfieldsourceanalysis ​//\\+** cfg.grid.resolution ** // [[reference:​ft_prepare_sourcemodel]] //\\ 
 +number (e.g. 6) of the resolution of the template MNI grid, defined in mm 
 + 
 +** cfg.grid.subspace ** // [[reference:​ft_prepare_sourcemodel]] //\\ 
 + 
 + 
 +** cfg.grid.template ** // [[reference:​ft_prepare_sourcemodel]] //\\ 
 +specification of a template grid (grid structure), or a filename of a template grid (defined in MNI space), either cfg.grid.resolution or cfg.grid.template needs to be defined. If both are defined cfg.grid.template prevails 
 + 
 +** cfg.grid.tight ** // [[reference:​ft_prepare_sourcemodel]] //\\ 
 +'​yes'​ or '​no'​ (default is automatic) 
 + 
 +** cfg.grid.tri ** // [[reference:​ft_dipolefitting]],​ [[reference:​ft_sourceanalysis]] //\\ 
 +M*3 matrix that describes the triangles connecting the vertices 
 + 
 +** cfg.grid.unit ** // [[reference:​ft_prepare_sourcemodel]] //\\ 
 +string, can be '​mm',​ '​cm',​ '​m'​ (default is automatic) 
 + 
 +** cfg.grid.warpmni ** // [[reference:​ft_prepare_sourcemodel]] //\\ 
 +'​yes'​ 
 + 
 +** cfg.grid.xgrid ** // [[reference:​ft_dipolefitting]],​ [[reference:​ft_prepare_leadfield]][[reference:​ft_prepare_sourcemodel]][[reference:​ft_sourceanalysis]] ​//\\
 vector (e.g. -20:1:20) or '​auto'​ (default = '​auto'​) vector (e.g. -20:1:20) or '​auto'​ (default = '​auto'​)
  
-** cfg.grid.ygrid ** // dipolefittingprepare_leadfieldsourceanalysis ​//\\+** cfg.grid.ygrid ** // [[reference:​ft_dipolefitting]][[reference:​ft_prepare_leadfield]][[reference:​ft_prepare_sourcemodel]],​ [[reference:​ft_sourceanalysis]] ​//\\
 vector (e.g. -20:1:20) or '​auto'​ (default = '​auto'​) vector (e.g. -20:1:20) or '​auto'​ (default = '​auto'​)
  
-** cfg.grid.zgrid ** // dipolefittingprepare_leadfieldsourceanalysis ​//\\+** cfg.grid.zgrid ** // [[reference:​ft_dipolefitting]][[reference:​ft_prepare_leadfield]][[reference:​ft_prepare_sourcemodel]],​ [[reference:​ft_sourceanalysis]] ​//\\
 vector (e.g. 0:1:20) or '​auto'​ (default = '​auto'​) vector (e.g. 0:1:20) or '​auto'​ (default = '​auto'​)
  
-** cfg.gridscale ** // topoplot ​//\\+** cfg.gridscale ** // [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotIC]],​ [[reference:​ft_topoplotTFR]] ​//\\
 scaling grid size (default = 67) determines resolution of figure scaling grid size (default = 67) determines resolution of figure
  
-** cfg.gridsearch ** // dipolefitting ​//\\+** cfg.gridsearch ** // [[reference:​ft_dipolefitting]] ​//\\
 '​yes'​ or '​no',​ perform global search for initial guess for the dipole parameters (default = '​yes'​) '​yes'​ or '​no',​ perform global search for initial guess for the dipole parameters (default = '​yes'​)
  
-** cfg.gwidth ** // freqanalysis_wltconvol ​//\\+** cfg.gwidth ** // [[reference:​ft_freqanalysis]],​ [[reference:​ft_freqanalysis]] ​//\\
 determines the length of the used wavelets in standard deviations of the implicit Gaussian kernel and should be choosen >= 3; (default = 3) determines the length of the used wavelets in standard deviations of the implicit Gaussian kernel and should be choosen >= 3; (default = 3)
  
 ===== H ===== ===== H =====
  
-** cfg.hdmfile ​** // dipolefittingdipolesimulationprepare_leadfieldsourceanalysis ​//\\ +** cfg.headerfile ​** // [[reference:​ft_artifact_clip]][[reference:​ft_artifact_ecg]][[reference:​ft_artifact_eog]][[reference:​ft_artifact_jump]],​ [[reference:​ft_artifact_muscle]],​ [[reference:​ft_artifact_threshold]],​ [[reference:​ft_artifact_tms]],​ [[reference:​ft_artifact_zvalue]],​ [[reference:​ft_databrowser]],​ [[reference:​ft_preprocessing]] ​//\\ 
-string, file containing ​the volume conduction model+string ​with the filename
  
-** cfg.hdmfile ​** // prepare_bemmodel ​//\\ +** cfg.headerformat ​** // [[reference:​ft_artifact_ecg]],​ [[reference:​ft_artifact_eog]],​ [[reference:​ft_artifact_jump]],​ [[reference:​ft_artifact_muscle]],​ [[reference:​ft_artifact_threshold]],​ [[reference:​ft_artifact_tms]],​ [[reference:​ft_artifact_zvalue]] ​//\\
-string, file containing the volume conduction model (can be empty)+
  
-** cfg.headcolor ** // topoplot //\\ 
-Color of head cartoon (default = [0,0,0]) 
  
-** cfg.headerfile ​** // preprocessing ​//\\ +** cfg.headmodel ​** // [[reference:​ft_prepare_headmodel]] ​//\\ 
-string ​with the filename+(required) ​stringfilename ​of precomputed FEM leadfield
  
-** cfg.headshape ​** // prepare_localspheresprepare_singleshell ​//\\ +** cfg.headmodel ​** // [[reference:​ft_dipolefitting]][[reference:​ft_dipolesimulation]],​ [[reference:​ft_megplanar]],​ [[reference:​ft_prepare_leadfield]],​ [[reference:​ft_prepare_sourcemodel]],​ [[reference:​ft_sourceanalysis]] ​//\\ 
-filename containing headshape, or Nx3 matrix ​with surface points+structure ​with volume conduction model, see FT_PREPARE_HEADMODEL
  
-** cfg.hemisphere ​** // sourcestatistics ​//\\ +** cfg.headmodel ​** // [[reference:​ft_megrealign]] ​//\\ 
-'​left'​'​right',​ '​both',​ '​combined',​ specifying this is required when averaging over regions+structuresee FT_PREPARE_HEADMODEL
  
-** cfg.highlight ​** // topoplot ​//\\ +** cfg.headshape ​** // [[reference:​ft_prepare_mesh]] ​//\\ 
-'off' or the channel numbers you want to highlight (default = '​off'​). These numbers should correspond with the channels in the data, not in the layout file.+'/path/to/surf/lh.pial';
  
-** cfg.hilbert ** // preprocessing ​//\\+** cfg.headshape ** // [[reference:​ft_prepare_mesh]] //\\ 
 +a filename containing headshape, a Nx3 matrix with surface points, or a structure with a single or multiple boundaries 
 + 
 +** cfg.headshape ** // [[reference:​ft_electroderealign]],​ [[reference:​ft_electroderealign]],​ [[reference:​ft_megplanar]],​ [[reference:​ft_megrealign]] //\\ 
 +a filename containing headshape, a structure containing a single triangulated boundary, or a Nx3 matrix with surface points 
 + 
 +** cfg.headshape ** // [[reference:​ft_prepare_sourcemodel]] //\\ 
 +a filename for the headshape, a structure containing a single surface, or a Nx3 matrix with headshape surface points (default = []) 
 + 
 +** cfg.headshape ** // [[reference:​ft_prepare_mesh]] //\\ 
 +sting, filename containing the pial surface computed by freesurfer recon-all 
 + 
 +** cfg.headshape ** // [[reference:​ft_electroderealign]] //\\ 
 +string, filename containing subject headshape (e.g. <path to freesurfer/​surf/​lh.pial>​) 
 + 
 +** cfg.headshape ** // [[reference:​ft_prepare_sourcemodel]] //\\ 
 +string, should be a *.fif file 
 + 
 +** cfg.headshape ** // [[reference:​ft_prepare_layout]] //\\ 
 +surface mesh (e.g. pial, head, etc) to be used for generating an outline, see FT_READ_HEADSHAPE for details 
 + 
 +** cfg.headshape.headshape ** // [[reference:​ft_volumerealign]] //\\ 
 +string pointing to a file describing a headshape or a FieldTrip-structure describing a headshape, see FT_READ_HEADSHAPE 
 + 
 +** cfg.headshape.icp ** // [[reference:​ft_volumerealign]] //\\ 
 +'​yes'​ or '​no',​ use automatic realignment based on the icp-algorithm. If both '​interactive'​ and '​icp'​ are executed, the icp step follows the interactive realignment step (default = '​yes'​) 
 + 
 +** cfg.headshape.interactive ** // [[reference:​ft_volumerealign]] //\\ 
 +'​yes'​ or '​no',​ use interactive realignment to align headshape with scalp surface (default = '​yes'​) 
 + 
 +** cfg.headshape.scalpsmooth ** // [[reference:​ft_volumerealign]] //\\ 
 +scalar, smoothing parameter for the scalp extraction (default = 2) 
 + 
 +** cfg.headshape.scalpthreshold ** // [[reference:​ft_volumerealign]] //\\ 
 +scalar, threshold parameter for the scalp extraction (default = 0.1) 
 + 
 +** cfg.highlight ** // [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotTFR]] //\\ 
 +'​off',​ '​on',​ '​labels',​ '​numbers'​ 
 + 
 +** cfg.highlight ** // [[reference:​ft_topoplotIC]] //\\ 
 +'​on',​ '​labels',​ '​numbers',​ '​off'​ 
 + 
 +** cfg.highlightchannel ** // [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotIC]],​ [[reference:​ft_topoplotTFR]] //\\ 
 +Nx1 cell-array with selection of channels, or vector containing channel indices see FT_CHANNELSELECTION 
 + 
 +** cfg.highlightcolor ** // [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotIC]],​ [[reference:​ft_topoplotTFR]] //\\ 
 +highlight marker color (default = [0 0 0] (black)) 
 + 
 +** cfg.highlightcolorneg ** // [[reference:​ft_clusterplot]] //\\ 
 +color of highlight marker for negative clusters (default = [0 0 0]) 
 + 
 +** cfg.highlightcolorpos ** // [[reference:​ft_clusterplot]] //\\ 
 +color of highlight marker for positive clusters (default = [0 0 0]) 
 + 
 +** cfg.highlightfontsize ** // [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotIC]],​ [[reference:​ft_topoplotTFR]] //\\ 
 +highlight marker size (default = 8) 
 + 
 +** cfg.highlightseries ** // [[reference:​ft_clusterplot]] //\\ 
 +1x5 cell-array, highlight option series with '​on',​ '​labels'​ or '​numbers'​ (default {'​on',​ '​on',​ '​on',​ '​on',​ '​on'​} for p < [0.01 0.05 0.1 0.2 0.3] 
 + 
 +** cfg.highlightsize ** // [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotIC]],​ [[reference:​ft_topoplotTFR]] //\\ 
 +highlight marker size (default = 6) 
 + 
 +** cfg.highlightsizeseries ** // [[reference:​ft_clusterplot]] //\\ 
 +1x5 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 ** // [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotIC]],​ [[reference:​ft_topoplotTFR]] //\\ 
 +highlight marker symbol (default = '​o'​) 
 + 
 +** cfg.highlightsymbolseries ** // [[reference:​ft_clusterplot]] //\\ 
 +1x5 vector, highlight marker symbol series (default ['​*',​ '​x',​ '​+',​ '​o',​ '​.'​] for p < [0.01 0.05 0.1 0.2 0.3] 
 + 
 +** cfg.hilbert ** // [[reference:​ft_preprocessing]] ​//\\
 '​no',​ '​abs',​ '​complex',​ '​real',​ '​imag',​ '​absreal',​ '​absimag'​ or '​angle'​ (default = '​no'​) '​no',​ '​abs',​ '​complex',​ '​real',​ '​imag',​ '​absreal',​ '​absimag'​ or '​angle'​ (default = '​no'​)
  
-** cfg.hlcolor ​** // topoplot ​//\\ +** cfg.hotkeys ​** // [[reference:​ft_singleplotER]] ​//\\ 
-Highlight marker color (default = [0 0 0] (black))+enables hotkeys ​(leftarrow/​rightarrow/​uparrow/​downarrow/​mfor dynamic zoom and translation (ctrl+of the axes
  
-** cfg.hlinewidth ​** // topoplot ​//\\ +** cfg.hotkeys ​** // [[reference:​ft_singleplotTFR]] ​//\\ 
-number, Linewidth of the drawn head, nose and ears (default = 2)+enables hotkeys (leftarrow/​rightarrow/​uparrow/​downarrow/​pageup/​pagedown/​m) for dynamic zoom and translation ​(ctrl+of the axes and color limits
  
-** cfg.hllinewidth ​** // topoplot ​//\\ +** cfg.hotkeys ​** // [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotTFR]] ​//\\ 
-Highlight marker linewidth ​(default = 3)+enables hotkeys ​(pageup/​pagedown/​m) for dynamic zoom and translation (ctrl+of the color limits
  
-** cfg.hlmarker ​** // topoplot ​//\\ +** cfg.hotkeys ​** // [[reference:​ft_multiplotTFR]] ​//\\ 
-Highlight marker symbol ​(default = '​o'​)+enables hotkeys ​(up/down arrowsfor dynamic colorbar adjustment
  
-** cfg.hlmarkersize ​** // topoplot ​//\\ +** cfg.hpfiltdev ​** // [[reference:​ft_preprocessing]] ​//\\ 
-Highlight marker size (default ​= 6)+highpass max passband deviation ​(firws with '​kaiser'​ window, ​default ​0.001 set in low-level function)
  
-** cfg.hpfiltdir ​** // preprocessing ​//\\ +** cfg.hpfiltdf ​** // [[reference:​ft_preprocessing]] ​//\\ 
-filter direction, '​twopass' ​(default)'​onepass'​ or '​onepass-reverse'​+highpass transition width (firwsoverrides order, default set in low-level function)
  
-** cfg.hpfilter ​** // preprocessing ​//\\ +** cfg.hpfiltdir ​** // [[reference:​ft_preprocessing]] ​//\\ 
-'no' or 'yes' ​highpass filter+filter direction, ​'twopass'​ (default), '​onepass' or 'onepass-reverse' ​or '​onepass-zerophase'​ (default for firws) or '​onepass-minphase'​ (firws, non-linear!)
  
-** cfg.hpfiltord ** // preprocessing ​//\\ +** cfg.hpfilter ** // [[reference:​ft_preprocessing]] //\\ 
-highpass filter order+'​no'​ or '​yes'​ highpass filter (default = '​no'​) 
 + 
 +** cfg.hpfiltord ** // [[reference:​ft_preprocessing]] ​//\\ 
 +highpass filter order (default set in low-level function) 
 + 
 +** cfg.hpfilttype ** // [[reference:​ft_preprocessing]] //\\ 
 +digital filter type, '​but'​ or '​firws'​ or '​fir'​ or '​firls'​ (default = '​but'​)
  
-** cfg.hpfilttype ​** // preprocessing ​//\\ +** cfg.hpfiltwintype ​** // [[reference:​ft_preprocessing]] ​//\\ 
-digital filter ​type, 'but' (default) or 'fir'+highpass window ​type, 'hann' or '​hamming' (default) or 'blackman' ​or '​kaiser'​ (firws)
  
-** cfg.hpfreq ** // preprocessing ​//\\+** cfg.hpfreq ** // [[reference:​ft_preprocessing]] ​//\\
 highpass frequency in Hz highpass frequency in Hz
 +
 +** cfg.hpinstabilityfix ** // [[reference:​ft_preprocessing]] //\\
 +deal with filter instability,​ '​no',​ '​reduce',​ '​split'​ (default = '​no'​)
  
 ===== I ===== ===== I =====
  
-** cfg.image ** // layoutplotprepare_layout ​//\\+** cfg.icasso.Niter ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.icasso.mode ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.image ** // [[reference:​ft_prepare_layout]] //\\ 
 +filenameuse an image to construct a layout (e.g. useful for ECoG grids) 
 + 
 +** cfg.image ** // [[reference:​ft_layoutplot]] ​//\\
 filename, use an image to construct a layout (e.g. usefull for ECoG grids) filename, use an image to construct a layout (e.g. usefull for ECoG grids)
  
-** cfg.implicitref ** // preprocessing ​//\\+** cfg.implicitref ** // [[reference:​ft_preprocessing]] ​//\\
 '​label'​ or empty, add the implicit EEG reference as zeros (default = []) '​label'​ or empty, add the implicit EEG reference as zeros (default = [])
  
-** cfg.inputcoord ​** // sourceplot ​//\\ +** cfg.implicitref ​** // [[reference:​ft_prepare_montage]] ​//\\ 
-'​mni'​ or '​tal',​ coordinate system of data used to lookup ​the label from the atlas+string with the label of the implicit reference, or empty (default = [])
  
-** cfg.inputcoord ** // volumelookupvolumelookup ​//\\+** cfg.individual.elec ** // [[reference:​ft_interactiverealign]] //\\ 
 +structure 
 + 
 +** cfg.individual.grad ** // [[reference:​ft_interactiverealign]] //\\ 
 +structure 
 + 
 +** cfg.individual.headmodel ** // [[reference:​ft_interactiverealign]] //\\ 
 +structure, see FT_PREPARE_HEADMODEL 
 + 
 +** cfg.individual.headmodelstyle ** // [[reference:​ft_interactiverealign]] //\\ 
 +'​vertex',​ '​edge',​ '​surface'​ or '​both'​ (default = '​edge'​) 
 + 
 +** cfg.individual.headshape ** // [[reference:​ft_interactiverealign]] //\\ 
 +structure, see FT_READ_HEADSHAPE 
 + 
 +** cfg.individual.headshapestyle ** // [[reference:​ft_interactiverealign]] //\\ 
 +'​vertex',​ '​edge',​ '​surface'​ or '​both'​ (default = '​vertex'​) 
 + 
 +** cfg.individual.mri ** // [[reference:​ft_interactiverealign]] //\\ 
 +structure, see FT_READ_MRI 
 + 
 +** cfg.inputcoord ** // [[reference:​ft_volumelookup]],​ [[reference:​ft_volumelookup]][[reference:​ft_volumelookup]] ​//\\
 '​mni'​ or '​tal',​ coordinate system of the mri/​source/​stat '​mni'​ or '​tal',​ coordinate system of the mri/​source/​stat
  
-** cfg.inputcoord ​** // sourcestatistics ​//\\ +** cfg.inputfile ​** // [[reference:​ft_analysispipeline]],​ [[reference:​ft_annotate]],​ [[reference:​ft_anonimizedata]],​ [[reference:​ft_appenddata]],​ [[reference:​ft_appendfreq]],​ [[reference:​ft_artifact_clip]],​ [[reference:​ft_artifact_ecg]],​ [[reference:​ft_artifact_eog]],​ [[reference:​ft_artifact_jump]],​ [[reference:​ft_artifact_muscle]],​ [[reference:​ft_artifact_nan]],​ [[reference:​ft_artifact_threshold]],​ [[reference:​ft_artifact_tms]],​ [[reference:​ft_channelnormalise]],​ [[reference:​ft_channelrepair]],​ [[reference:​ft_clusterplot]],​ [[reference:​ft_combineplanar]],​ [[reference:​ft_componentanalysis]],​ [[reference:​ft_connectivityanalysis]],​ [[reference:​ft_denoise_synthetic]],​ [[reference:​ft_detect_movement]],​ [[reference:​ft_dipolefitting]],​ [[reference:​ft_examplefunction]],​ [[reference:​ft_freqanalysis]],​ [[reference:​ft_freqanalysis_mvar]],​ [[reference:​ft_freqdescriptives]],​ [[reference:​ft_freqgrandaverage]],​ [[reference:​ft_freqinterpolate]],​ [[reference:​ft_freqstatistics]],​ [[reference:​ft_globalmeanfield]],​ [[reference:​ft_interpolatenan]],​ [[reference:​ft_lateralizedpotential]],​ [[reference:​ft_layoutplot]],​ [[reference:​ft_math]],​ [[reference:​ft_megplanar]],​ [[reference:​ft_megrealign]],​ [[reference:​ft_meshrealign]],​ [[reference:​ft_movieplotER]],​ [[reference:​ft_movieplotTFR]],​ [[reference:​ft_multiplotER]],​ [[reference:​ft_multiplotTFR]],​ [[reference:​ft_mvaranalysis]],​ [[reference:​ft_networkanalysis]],​ [[reference:​ft_prepare_leadfield]],​ [[reference:​ft_prepare_mesh]],​ [[reference:​ft_preprocessing]],​ [[reference:​ft_redefinetrial]],​ [[reference:​ft_regressconfound]],​ [[reference:​ft_rejectartifact]],​ [[reference:​ft_rejectcomponent]],​ [[reference:​ft_rejectvisual]],​ [[reference:​ft_removetemplateartifact]],​ [[reference:​ft_resampledata]],​ [[reference:​ft_scalpcurrentdensity]],​ [[reference:​ft_singleplotER]],​ [[reference:​ft_sourceanalysis]],​ [[reference:​ft_sourcedescriptives]],​ [[reference:​ft_sourcegrandaverage]],​ [[reference:​ft_sourceinterpolate]],​ [[reference:​ft_sourcemovie]],​ [[reference:​ft_sourceplot]],​ [[reference:​ft_sourcewrite]],​ [[reference:​ft_timelockanalysis]],​ [[reference:​ft_timelockbaseline]],​ [[reference:​ft_timelockgrandaverage]],​ [[reference:​ft_timelockstatistics]],​ [[reference:​ft_topoplotCC]],​ [[reference:​ft_topoplotTFR]],​ [[reference:​ft_volumedownsample]],​ [[reference:​ft_volumenormalise]],​ [[reference:​ft_volumerealign]],​ [[reference:​ft_volumereslice]],​ [[reference:​ft_volumesegment]],​ [[reference:​ft_volumewrite]] ​//\\ 
-'​mni'​ or '​tal',​ the coordinate system in which your source reconstruction is expressed+...
  
-** cfg.interactive ** // sourceplot ​//\\ +** cfg.interactive ** // [[reference:​ft_movieplotTFR]] ​//\\ 
-'yes' or 'no' (default = 'no') in interactive ​mode cursor click determines location of cut+'no' or 'yes', make it interactive
  
-** cfg.interactive ** // topoplotER ​//\\ +** cfg.interactive ** // [[reference:​ft_audiovideobrowser]] ​//\\ 
-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.+'​yes'​ or '​no'​ (default = 'yes')
  
-** cfg.interplimits ** // topoplot ​//\\+** cfg.interactive ** // [[reference:​ft_sliceinterp]] //\\ 
 +'​yes'​ or '​no'​ (default), interactive coordinates and source values 
 + 
 +** cfg.interactive ** // [[reference:​ft_multiplotER]] //\\ 
 +'​yes'​ or '​no',​ make the plot interactive (default = '​yes'​) 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 ** // [[reference:​ft_multiplotTFR]],​ [[reference:​ft_singleplotTFR]],​ [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotTFR]] //\\ 
 +Interactive plot '​yes'​ or '​no'​ (default = '​yes'​) 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 ** // [[reference:​ft_singleplotER]] //\\ 
 +interactive plot '​yes'​ or '​no'​ (default = '​yes'​) 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 ** // [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotIC]],​ [[reference:​ft_topoplotTFR]] ​//\\
 limits for interpolation (default = '​head'​) '​electrodes'​ to furthest electrode '​head'​ to edge of head limits for interpolation (default = '​head'​) '​electrodes'​ to furthest electrode '​head'​ to edge of head
  
-** cfg.interpmethod ** // sourceinterpolate ​//\\ +** cfg.interpmethod ** // [[reference:​ft_sourceinterpolate]] ​//\\ 
-'​linear',​ '​cubic',​ 'nearest' or 'spline'+string, can be '​nearest', ​'​linear',​ '​cubic',​ 'spline',​ '​sphere_avg' or 'smudge'​ (default = '​linear for interpolating two 3D volumes, '​nearest'​ for all other cases) 
 + 
 +** cfg.interpolatenan ** // [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotTFR]] //\\ 
 +string '​yes',​ '​no'​ (default = 'yes') interpolate over channels containing NaNs
  
-** cfg.interpolation ** // topoplot ​//\\+** cfg.interpolation ** // [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotIC]],​ [[reference:​ft_topoplotTFR]] ​//\\
 '​linear','​cubic','​nearest','​v4'​ (default = '​v4'​) see GRIDDATA '​linear','​cubic','​nearest','​v4'​ (default = '​v4'​) see GRIDDATA
  
-** cfg.isolatedsource ​** // prepare_bemmodel ​//\\ +** cfg.inwardshift ​** // [[reference:​ft_megrealign]] ​//\\ 
-compartment number, or 0+ 
 + 
 +** cfg.inwardshift ** // [[reference:​ft_megplanar]] //\\ 
 +depth of the source layer relative to the head model surface (default = 2.5 cmwhich is appropriate for a skin-based head model) 
 + 
 +** cfg.inwardshift ** // [[reference:​ft_megrealign]] //\\ 
 +depth of the source layer relative to the headshape surface ​or volume conduction model (no default supplied, see below) 
 + 
 +** cfg.inwardshift ** // [[reference:​ft_prepare_sourcemodel]] //\\ 
 +number, how much should the innermost surface be moved inward to constrain sources to be considered inside the source compartment (default = 0
 + 
 +** cfg.isolatedsource ** // [[reference:​ft_prepare_headmodel]] //\\ 
 +(optional) 
 + 
 +** cfg.iti ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +scalar, inter-trial interval in seconds (default = 1) 
 + 
 +** cfg.ivar ** // [[reference:​ft_statistics_analytic]],​ [[reference:​ft_statistics_montecarlo]] //\\ 
 +number or list with indices, independent variable(s)
  
 ===== J ===== ===== J =====
  
-** cfg.jackknife ** // sourceanalysis ​//\\+** cfg.jackknife ** // [[reference:​ft_mvaranalysis]] //\\ 
 +'​no'​ (default) or '​yes'​ specifies whether the coefficients are estimated for all leave-one-out sets of trials 
 + 
 +** cfg.jackknife ** // [[reference:​ft_sourceanalysis]] ​//\\
 '​no'​ or '​yes'​ jackknife resampling of trials '​no'​ or '​yes'​ jackknife resampling of trials
  
-** cfg.jackknife ** // freqdescriptives ​//\\ +** cfg.jackknife ** // [[reference:​ft_freqdescriptives]] ​//\\ 
-'​yes'​ or '​no',​ estimate standard error by means of the jack-knife (default = 'yes'​) ​for power and coherence+'​yes'​ or '​no',​ estimate standard error by means of the jack-knife (default = 'no')
  
 ===== K ===== ===== K =====
  
-** cfg.keepchannel ** // rejectvisual ​//\\ +** cfg.keepbrain ** // [[reference:​ft_defacevolume]] //\\ 
-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+'​no'​ or '​yes',​ segment and retain the brain (default = '​no'​) 
 + 
 +** cfg.keepchannel ** // [[reference:​ft_electroderealign]] //\\ 
 +string, '​yes'​ or '​no'​ (default = '​no'​) 
 + 
 +** cfg.keepchannel ** // [[reference:​ft_rejectvisual]] ​//\\ 
 +string, determines how to deal with channels that are not selected, can be '​no'​ completely remove ​deselected ​channels from the data (default) '​yes'​ keep deselected ​channels in the output data '​nan'​ fill the channels that are deselected ​with NaNs '​repair'​ repair the deselected channels using FT_CHANNELREPAIR
  
-** cfg.keepcsd ** // sourceanalysis ​//\\+** cfg.keepcsd ** // [[reference:​ft_sourceanalysis]] ​//\\
 '​no'​ or '​yes'​ '​no'​ or '​yes'​
  
-** cfg.keepfilter ** // sourceanalysis ​//\\+** cfg.keepcsd ** // [[reference:​ft_sourcedescriptives]] //\\ 
 +'​yes'​ or '​no'​ (default = '​no'​) 
 + 
 +** cfg.keepfield ** // [[reference:​ft_anonimizedata]] //\\ 
 +cell-array with strings, fields to keep (default = {}) 
 + 
 +** cfg.keepfilter ** // [[reference:​ft_sourceanalysis]] ​//\\
 '​no'​ or '​yes'​ '​no'​ or '​yes'​
  
-** cfg.keepindividual ** // freqgrandaveragetimelockgrandaverage ​//\\+** cfg.keepindividual ** // [[reference:​ft_sourcegrandaverage]] //\\ 
 +'​no'​ or '​yes'​ 
 + 
 +** cfg.keepindividual ** // [[reference:​ft_freqgrandaverage]][[reference:​ft_timelockgrandaverage]] ​//\\
 '​yes'​ or '​no'​ (default = '​no'​) '​yes'​ or '​no'​ (default = '​no'​)
  
-** cfg.keepleadfield ** // sourceanalysis ​//\\+** cfg.keepinside ** // [[reference:​ft_volumedownsample]] //\\ 
 +'​yes'​ or '​no',​ keep the inside/​outside labeling (default = '​yes'​) 
 + 
 +** cfg.keepleadfield ** // [[reference:​ft_sourceanalysis]] ​//\\
 '​no'​ or '​yes'​ '​no'​ or '​yes'​
  
-** cfg.keepmom ** // sourceanalysis ​//\\+** cfg.keepmom ** // [[reference:​ft_sourceanalysis]] ​//\\
 '​no'​ or '​yes'​ '​no'​ or '​yes'​
  
-** cfg.keeptapers ​** // freqanalysis_mtmconvolfreqanalysis_mtmfftfreqanalysis_mtmwelch ​//\\+** cfg.keepmom ​** // [[reference:​ft_sourcedescriptives]] //\\ 
 +'​yes'​ or '​no'​ (default = '​yes'​) 
 + 
 +** cfg.keepnoisecsd ** // [[reference:​ft_sourcedescriptives]] //\\ 
 +'​yes'​ or '​no'​ (default = '​no'​) 
 + 
 +** cfg.keepnoisemom ** // [[reference:​ft_sourcedescriptives]] //\\ 
 +'​yes'​ or '​no'​ (default = '​yes'​) 
 + 
 +** cfg.keepnumeric ** // [[reference:​ft_anonimizedata]] //\\ 
 +'​yes'​ or '​no'​keep numeric fields (default = '​yes'​) 
 + 
 +** cfg.keepremoved ** // [[reference:​ft_analysispipeline]] //\\ 
 +'​yes'​ or '​no'​determines whether removed fields are completely removed, or only replaced by a short textual description (default = '​no'​) 
 + 
 +** cfg.keeptapers ** // [[reference:​ft_freqanalysis]] ​//\\
 '​yes'​ or '​no',​ return individual tapers or average (default = '​no'​) '​yes'​ or '​no',​ return individual tapers or average (default = '​no'​)
  
-** cfg.keeptrials ** // sourceanalysis ​//\\+** cfg.keeptrial ** // [[reference:​ft_rejectvisual]] //\\ 
 +string, determines how to deal with trials that are not selected, can be '​no'​ completely remove deselected trials from the data (default) '​yes'​ keep deselected trials in the output data '​nan'​ fill the trials that are deselected with NaNs 
 + 
 +** cfg.keeptrials ** // [[reference:​ft_mvaranalysis]] //\\ 
 +'​no'​ (default) or '​yes'​ specifies whether the coefficients are estimated for each trial seperately, or on the concatenated data 
 + 
 +** cfg.keeptrials ** // [[reference:​ft_sourceanalysis]] ​//\\
 '​no'​ or '​yes'​ '​no'​ or '​yes'​
  
-** cfg.keeptrials ** // sourcedescriptives ​//\\+** cfg.keeptrials ** // [[reference:​ft_sourcedescriptives]] ​//\\
 '​yes'​ or '​no'​ (default = '​no'​) '​yes'​ or '​no'​ (default = '​no'​)
  
-** cfg.keeptrials ** // freqanalysis_mtmconvolfreqanalysis_mtmfftfreqanalysis_mtmwelch,​ freqanalysis_tfr,​ freqanalysis_wltconvol,​ timelockanalysis ​//\\+** cfg.keeptrials ** // [[reference:​ft_freqdescriptives]] //\\ 
 +'​yes'​ or '​no'​estimate single trial power (useful for fourier data) (default = '​no'​) 
 + 
 +** cfg.keeptrials ** // [[reference:​ft_freqanalysis]][[reference:​ft_timelockanalysis]] ​//\\
 '​yes'​ or '​no',​ return individual trials or average (default = '​no'​) '​yes'​ or '​no',​ return individual trials or average (default = '​no'​)
  
-** cfg.kurtosis ** // sourcedescriptives ​//\\+** cfg.keeptrials ** // [[reference:​ft_crossfrequencyanalysis]] //\\ 
 +string, can be '​yes'​ or '​no'​ 
 + 
 +** cfg.keepvalue ** // [[reference:​ft_anonimizedata]] //\\ 
 +cell-array with strings, values to keep (default = {}) 
 + 
 +** cfg.kurtosis ** // [[reference:​ft_sourcedescriptives]] ​//\\
 '​yes'​ or '​no'​ (default = '​no'​) '​yes'​ or '​no'​ (default = '​no'​)
  
 ===== L ===== ===== L =====
  
-** cfg.lambda ** // sourceanalysis ​//\\+** cfg.lambda ** // [[reference:​ft_sourceanalysis]] ​//\\
 number or empty for automatic default number or empty for automatic default
  
-** cfg.latency ** // dipolefittingfreqstatisticstimelockgrandaveragetimelockstatistics ​//\\+** cfg.lambda ** // [[reference:​ft_channelrepair]] //\\ 
 +regularisation parameter (default = 1e-5, not for method '​distance'​) 
 + 
 +** cfg.lambda ** // [[reference:​ft_scalpcurrentdensity]] //\\ 
 +regularization parameter (default = 1e-05) 
 + 
 +** cfg.latency ** // [[reference:​ft_dipolefitting]][[reference:​ft_freqstatistics]][[reference:​ft_timelockgrandaverage]][[reference:​ft_timelockstatistics]] ​//\\
 [begin end] in seconds or '​all'​ (default = '​all'​) [begin end] in seconds or '​all'​ (default = '​all'​)
  
-** cfg.latency ** // rejectvisual,​ timelockanalysis ​//\\+** cfg.latency ** // [[reference:​ft_rejectvisual]] ​//\\
 [begin end] in seconds, or '​minperlength',​ '​maxperlength',​ '​prestim',​ '​poststim'​ (default = '​maxperlength'​) [begin end] in seconds, or '​minperlength',​ '​maxperlength',​ '​prestim',​ '​poststim'​ (default = '​maxperlength'​)
  
-** cfg.latency ** // sourceanalysis ​//\\+** cfg.latency ** // [[reference:​ft_freqdescriptives]] //\\ 
 +[tmin tmax] or '​all',​ to specify a subset of latencies (default = '​all'​) 
 + 
 +** cfg.latency ** // [[reference:​ft_sourceplot]] //\\ 
 +scalar or string, can be '​all',​ '​prestim',​ '​poststim',​ or [beg end], specify time range in seconds 
 + 
 +** cfg.latency ** // [[reference:​ft_sourceanalysis]] ​//\\
 single number in seconds, for time-frequency analysis single number in seconds, for time-frequency analysis
  
-** cfg.layout ** // prepare_layout ​//\\+** cfg.layout ** // [[reference:​ft_prepare_layout]] ​//\\
 '​butterfly'​ will give you a layout with all channels on top of each other '​butterfly'​ will give you a layout with all channels on top of each other
  
-** cfg.layout ** // layoutplot ​//\\+** cfg.layout ** // [[reference:​ft_prepare_layout]] //\\ 
 +'​circular'​ will distribute the channels on a circle 
 + 
 +** cfg.layout ** // [[reference:​ft_prepare_layout]] //\\ 
 +'​horizontal'​ will give you a 1xN ordered layout 
 + 
 +** cfg.layout ** // [[reference:​ft_layoutplot]] ​//\\
 '​ordered'​ '​ordered'​
  
-** cfg.layout ** // prepare_layout ​//\\+** cfg.layout ** // [[reference:​ft_prepare_layout]] ​//\\
 '​ordered'​ will give you a NxN ordered layout '​ordered'​ will give you a NxN ordered layout
  
-** cfg.layout ** // prepare_layout ​//\\+** cfg.layout ** // [[reference:​ft_prepare_layout]] ​//\\
 '​vertical'​ will give you a Nx1 ordered layout '​vertical'​ will give you a Nx1 ordered layout
  
-** cfg.layout ** // layoutplotprepare_layout ​//\\+** cfg.layout ** // [[reference:​ft_prepare_layout]] //\\ 
 +filename containg the input layout (*.mat or *.lay file)this can also be a layout structure, which is simply returned as-is (see below for details) 
 + 
 +** cfg.layout ** // [[reference:​ft_layoutplot]] ​//\\
 filename containg the layout filename containg the layout
  
-** cfg.layout ** // topoplotER ​//\\+** cfg.layout ** // [[reference:​ft_databrowser]],​ [[reference:​ft_neighbourplot]],​ [[reference:​ft_prepare_neighbours]] //\\ 
 +filename of the layout, see FT_PREPARE_LAYOUT 
 + 
 +** cfg.layout ** // [[reference:​ft_topoplotCC]] //\\ 
 +specification of the layout, see FT_PREPARE_LAYOUT 
 + 
 +** cfg.layout ** // [[reference:​ft_movieplotER]],​ [[reference:​ft_movieplotTFR]],​ [[reference:​ft_topoplotIC]] ​//\\
 specification of the layout, see below specification of the layout, see below
  
-** cfg.layout ** // multiplotERmultiplotTFR ​//\\ +** cfg.layout ** // [[reference:​ft_multiplotER]][[reference:​ft_multiplotTFR]],​ [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotTFR]] ​//\\ 
-specify the channel layout for plotting using one of the following ​ways:+specify the channel layout for plotting using one of the supported ​ways (see below).
  
-** cfg.location ** // sourceplot ​//\\+** cfg.length ** // [[reference:​ft_redefinetrial]] //\\ 
 +single number (in unit of time, typically seconds) of the required snippets 
 + 
 +** cfg.level1.condition ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +scalar, or vector of length L1 (default = 1) 
 + 
 +** cfg.level1.gain ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +scalar, or vector of length L1 (default = 1) 
 + 
 +** cfg.level2.condition ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +scalar, or vector of length L2 (default = 1) 
 + 
 +** cfg.level2.gain ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +scalar, or vector of length L2 (default = 1) 
 + 
 +** cfg.level3.condition ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +scalar, or vector of length L3 (default = 1) 
 + 
 +** cfg.level3.gain ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +scalar, or vector of length L3 (default = 1) 
 + 
 +** cfg.limittext ** // [[reference:​ft_multiplotER]],​ [[reference:​ft_multiplotTFR]] //\\ 
 +add user-defined text instead of cfg.comment,​ (default = cfg.comment) 
 + 
 +** cfg.linefreq ** // [[reference:​ft_qualitycheck]] //\\ 
 +scalar, frequency of power line (default = 50) 
 + 
 +** cfg.linestyle ** // [[reference:​ft_multiplotER]],​ [[reference:​ft_singleplotER]] //\\ 
 +linestyle/​marker type, see options of the PLOT function (default = '​-'​) can be a single style for all datasets, or a cell-array containing one style for each dataset 
 + 
 +** cfg.linewidth ** // [[reference:​ft_multiplotER]],​ [[reference:​ft_singleplotER]] //\\ 
 +linewidth in points (default = 0.5) 
 + 
 +** cfg.linewidth ** // [[reference:​ft_databrowser]] //\\ 
 +number, width of plotted lines (default = 0.5) 
 + 
 +** cfg.location ** // [[reference:​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 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 ** // sourceplot ​//\\ +** cfg.locationcoordinates ** // [[reference:​ft_sourceplot]] ​//\\ 
-coordinate system used in cfg.location,​ '​head'​ or '​voxel'​ (default = '​head'​) '​head',​ headcoordinates ​from anatomical MRI '​voxel',​ voxelcoordinates+coordinate system used in cfg.location,​ '​head'​ or '​voxel'​ (default = '​head'​) '​head',​ headcoordinates ​as mm or cm '​voxel',​ voxelcoordinates ​as indices
  
-** cfg.lpfiltdir ​** // preprocessing ​//\\ +** cfg.lpfiltdev ​** // [[reference:​ft_preprocessing]] ​//\\ 
-filter direction, ​'twopass' ​(default), '​onepass'​ or '​onepass-reverse'​+lowpass max passband deviation (firws with 'kaiser' ​window, ​default ​0.001 set in low-level function)
  
-** cfg.lpfilter ​** // preprocessing ​//\\ +** cfg.lpfiltdf ​** // [[reference:​ft_preprocessing]] ​//\\ 
-'​no'​ or '​yes' ​lowpass ​filter+lowpass ​transition width (firws, overrides order, default set in low-level function)
  
-** cfg.lpfiltord ​** // preprocessing ​//\\ +** cfg.lpfiltdir ​** // [[reference:​ft_preprocessing]] ​//\\ 
-lowpass ​filter ​order+filter ​direction, '​twopass'​ (default), '​onepass'​ or '​onepass-reverse'​ or '​onepass-zerophase'​ (default for firws) or '​onepass-minphase'​ (firws, non-linear!)
  
-** cfg.lpfilttype ​** // preprocessing ​//\\ +** cfg.lpfilter ​** // [[reference:​ft_preprocessing]] ​//\\ 
-digital filter type, 'but' (default) or 'fir'+'no' ​or '​yes'​ lowpass filter ​(default ​'no')
  
-** cfg.lpfreq ** // preprocessing ​//\\+** cfg.lpfiltord ** // [[reference:​ft_preprocessing]] //\\ 
 +lowpass filter order (default set in low-level function) 
 + 
 +** cfg.lpfilttype ** // [[reference:​ft_preprocessing]] //\\ 
 +digital filter type, '​but'​ or '​firws'​ or '​fir'​ or '​firls'​ (default = '​but'​) 
 + 
 +** cfg.lpfiltwintype ** // [[reference:​ft_preprocessing]] //\\ 
 +lowpass window type, '​hann'​ or '​hamming'​ (default) or '​blackman'​ or '​kaiser'​ (firws) 
 + 
 +** cfg.lpfreq ** // [[reference:​ft_preprocessing]] ​//\\
 lowpass frequency in Hz lowpass frequency in Hz
 +
 +** cfg.lpinstabilityfix ** // [[reference:​ft_preprocessing]] //\\
 +deal with filter instability,​ '​no',​ '​reduce',​ '​split'​ (default = '​no'​)
  
 ===== M ===== ===== M =====
  
-** cfg.maplimits ​** // topoplot ​//\\ +** cfg.magradius ​** // [[reference:​ft_electrodeplacement]] ​//\\ 
-'absmax' ​+/- the absolute-max (default = 'absmax') 'maxmin' ​scale to data range [clim1clim2user-defined lo/hi+number representing the radius for the cfg.magtype based search (default = 3) 
 + 
 +** cfg.magscale ** // [[reference:​ft_multiplotER]],​ [[reference:​ft_multiplotTFR]] //\\ 
 +number, scaling to apply to the MEG magnetometer channels prior to display 
 + 
 +** cfg.magscale ** // [[reference:​ft_databrowser]],​ [[reference:​ft_rejectvisual]] //\\ 
 +number, scaling to apply to the MEG magnetometer channels prior to display (in addition to the cfg.megscale factor) 
 + 
 +** cfg.magtype ** // [[reference:​ft_electrodeplacement]] //\\ 
 +string representing the 'magnet' ​type used for placing ​the electrodes '​peakweighted'​ place electrodes at weighted peak intensity voxel (default) '​troughweighted'​ place electrodes at weighted trough intensity voxel '​peak'​ place electrodes at peak intensity voxel (default) '​trough'​ place electrodes at trough intensity voxel '​weighted'​ place electrodes at center-of-mass 
 + 
 +** cfg.markcorner ** // [[reference:​ft_volumewrite]] //\\ 
 +'​yes'​ or '​no',​ mark the first corner of the volume 
 + 
 +** cfg.marker ** // [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotIC]],​ [[reference:​ft_topoplotTFR]] //\\ 
 +'​on',​ '​labels',​ '​numbers',​ '​off'​ 
 + 
 +** cfg.marker ** // [[reference:​ft_sliceinterp]] //\\ 
 +[Nx3] array defining N marker positions to display 
 + 
 +** cfg.markercolor ** // [[reference:​ft_sliceinterp]] //\\ 
 +[1x3] marker color in RGB (default = [1 1 1], i.e. white) 
 + 
 +** cfg.markercolor ** // [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotIC]],​ [[reference:​ft_topoplotTFR]] //\\ 
 +channel marker color (default = [0 0 0] (black)) 
 + 
 +** cfg.markerfontsize ** // [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotIC]],​ [[reference:​ft_topoplotTFR]] //\\ 
 +font size of channel labels (default = 8 pt) 
 + 
 +** cfg.markersize ** // [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotIC]],​ [[reference:​ft_topoplotTFR]] //\\ 
 +channel marker size (default = 2) 
 + 
 +** cfg.markersize ** // [[reference:​ft_sliceinterp]] //\\ 
 +radius of markers (default = 5); 
 + 
 +** cfg.markersymbol ** // [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotIC]],​ [[reference:​ft_topoplotTFR]] //\\ 
 +channel marker symbol ​(default = 'o') 
 + 
 +** cfg.markfiducial ** // [[reference:​ft_volumewrite]] //\\ 
 +'yes' ​or '​no',​ mark the fiducials 
 + 
 +** cfg.markorigin ** // [[reference:​ft_volumewrite]] //\\ 
 +'​yes'​ or '​no',​ mark the origin 
 + 
 +** cfg.mask ** // [[reference:​ft_layoutplot]] //\\ 
 +string, '​yes'​ or '​no'​ whether the mask should be plotted (default = '​yes'​) 
 + 
 +** cfg.mask ** // [[reference:​ft_prepare_layout]] //\\ 
 +string, how to create the mask, can be '​circle',​ '​convex',​ '​headshape',​ '​mri'​ or '​no'​ (default is automatic) 
 + 
 +** cfg.maskclipmax ** // [[reference:​ft_sliceinterp]] //\\ 
 +value or '​auto'​ (clipping of mask data
 + 
 +** cfg.maskclipmin ** // [[reference:​ft_sliceinterp]] //\\ 
 +value or '​auto'​ (clipping of mask data) 
 + 
 +** cfg.maskclipsym ** // [[reference:​ft_sliceinterp]] //\\ 
 +'​yes'​ or '​no'​ (default) symmetrical clipping 
 + 
 +** cfg.maskcolmin ** // [[reference:​ft_sliceinterp]] //\\ 
 +mask value mapped to the highest opacityi.e. non-transparent (default = '​auto'​) 
 + 
 +** cfg.maskcolmin ** // [[reference:​ft_sliceinterp]] //\\ 
 +mask value mapped to the lowest opacity, i.e. completely transparent (default ='​auto'​) 
 + 
 +** cfg.maskmap ** // [[reference:​ft_sliceinterp]] //\\ 
 +opacitymap for source overlay (default is linspace(0,​1,​128)) 
 + 
 +** cfg.masknans ** // [[reference:​ft_multiplotTFR]],​ [[reference:​ft_singleplotTFR]] //\\ 
 +'​yes'​ or '​no'​ (default = '​yes'​) 
 + 
 +** cfg.maskparameter ** // [[reference:​ft_multiplotTFR]],​ [[reference:​ft_singleplotTFR]] //\\ 
 +field in the data to be used for masking of data, can be logical (e.g. significant data points) or numerical (e.g. t-values). (not possible for mean over multiple channels, or when input contains multiple subjects or trials) 
 + 
 +** cfg.maskparameter ** // [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotTFR]] //\\ 
 +field in the data to be used for masking of data. It should have alues between 0 and 1, where 0 corresponds to transparent. 
 + 
 +** cfg.maskparameter ** // [[reference:​ft_multiplotER]] //\\ 
 +field in the first dataset to be used for marking significant data 
 + 
 +** cfg.maskparameter ** // [[reference:​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 ** // [[reference:​ft_sliceinterp]] //\\ 
 +parameter used as opacity mask (default = '​none'​)
  
-** cfg.maskparameter ** // sourceplot ​//\\+** cfg.maskparameter ** // [[reference:​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 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 ** // volumelookup ​//\\ +** cfg.maskparameter ** // [[reference:​ft_volumelookup]] ​//\\ 
-string, field in volume to be lookedup, data in field should be logical+string, field in volume to be looked up, data in field should be logical
  
-** cfg.match ** // recodeevent ​//\\+** cfg.maskparameter ** // [[reference:​ft_sourcemovie]] //\\ 
 +string, functional parameter that is used for opacity (default = []) 
 + 
 +** cfg.maskstyle ** // [[reference:​ft_sourceplot]] //\\ 
 +'​opacity',​ or '​colormix'​. If '​opacity',​ low-level graphics opacity masking is applied, if '​colormix',​ the color data is explicitly expressed as a single RGB value, incorporating the opacitymask. Yields faster and more robust rendering in general. 
 + 
 +** cfg.maskstyle ** // [[reference:​ft_multiplotER]],​ [[reference:​ft_singleplotER]] //\\ 
 +style used for masking of data, '​box',​ '​thickness'​ or '​saturation'​ (default = '​box'​) 
 + 
 +** cfg.maskstyle ** // [[reference:​ft_multiplotTFR]],​ [[reference:​ft_singleplotTFR]] //\\ 
 +style used to masking, '​opacity',​ '​saturation',​ or '​outline'​ (default = '​opacity'​) '​outline'​ can only be used with a logical cfg.maskparameter use '​saturation'​ or '​outline'​ when saving to vector-format (like *.eps) to avoid all sorts of image-problems 
 + 
 +** cfg.match ** // [[reference:​ft_recodeevent]] ​//\\
 '​exact'​ or '​nearest'​ '​exact'​ or '​nearest'​
  
-** cfg.maxqueryrange ** // volumelookup ​//\\+** cfg.matfile ** // [[reference:​ft_qualitycheck]] //\\ 
 +string, filename (e.g. '​previousoutput.mat'​),​ preferably in combination with analyze = '​no'​ 
 + 
 +** cfg.maxqueryrange ** // [[reference:​ft_volumelookup]] ​//\\
 number, should be 1, 3, 5 (default = 1) number, should be 1, 3, 5 (default = 1)
  
-** cfg.medianfilter ​** // preprocessing ​//\\ +** cfg.maxqueryrange ​** // [[reference:​ft_volumelookup]] ​//\\ 
-'​no'​ or '​yes'​ jump preserving median filter+number, should be odd (default = 1)
  
-** cfg.medianfiltord ** // preprocessing ​//\\ +** cfg.maxradius ** // [[reference:​ft_prepare_headmodel]] //\\ 
-length of median filter+(optional) 
 + 
 +** cfg.medianfilter ** // [[reference:​ft_preprocessing]] //\\ 
 +'​no'​ or '​yes'​ jump preserving median filter (default = '​no'​) 
 + 
 +** cfg.medianfiltord ** // [[reference:​ft_preprocessing]] //\\ 
 +length of median filter (default = 9) 
 + 
 +** cfg.medianwindow ** // [[reference:​ft_heartrate]] //\\ 
 +integer, number of heartbeats 
 + 
 +** cfg.medianwindow ** // [[reference:​ft_electrodermalactivity]] ​//\\ 
 +scalar, ​length of window for median filter ​in seconds (default = 8)
  
-** cfg.megscale ** // rejectvisual ​//\\+** cfg.megscale ** // [[reference:​ft_databrowser]],​ [[reference:​ft_rejectvisual]] ​//\\
 number, scaling to apply to the MEG channels prior to display number, scaling to apply to the MEG channels prior to display
  
-** cfg.method ​** // prepare_bemmodel ​//\\ +** cfg.memory ​** // [[reference:​ft_artifact_zvalue]] ​//\\ 
-'dipoli''brainstorm' or 'bemcp'+'low' ​or 'high', whether to be memory ​or computationally efficient, respectively (default = 'high')
  
-** cfg.method ** // sourceanalysis ​//\\ +** cfg.method ** // [[reference:​ft_timelockgrandaverage]] ​//\\ 
-'lcmv' ​linear constrained minimum variance beamformer ​'mne' ​minimum norm estimation '​loreta'​ minimum norm estimation with smoothness constraint '​rv'​ scan residual variance with single dipole '​music'​ multiple signal classification '​pcc'​ partial cannonical correlation/​coherence '​dics'​ dynamic imaging of coherent sources '​pcc'​ partial cannonical correlation/​coherence+'across' ​(default) or 'within', see below.
  
-** cfg.method ** // sourceplot ​//\\ +** cfg.method ** // [[reference:​ft_prepare_mesh]] ​//\\ 
-'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+'cortexhull';
  
-** cfg.method ** // sourcestatistics ​//\\ +** cfg.method ** // [[reference:​ft_artifact_tms]] ​//\\ 
-different methods for calculating the probability of the null-hypothesis, ​'montecarlo' ​uses a non-parametric randomization test to get a Monte-Carlo estimate of the probability, ​'analytic' ​uses a parametric test that results ​in analytic probability,​ '​glm'​ uses a general linear model approach, '​stats'​ uses a parametric test from the Matlab statistics toolbox, '​parametric'​ uses the Matlab statistics toolbox (very similar to '​stats'​),​ '​randomization'​ uses randomization of the data prior to source reconstruction,​ '​randcluster'​ uses randomization of the data prior to source reconstruction in combination with spatial clusters.+'detect' ​or 'marker', see below. markers written ​in the EEG.
  
-** cfg.method ** // freqstatistics,​ timelockstatistics ​//\\ +** cfg.method ** // [[reference:​ft_prepare_neighbours]] ​//\\ 
-different methods for calculating the significance probability and/or critical value 'montecarlo' ​get Monte-Carlo estimates of the significance probabilities and/or critical values from the permutation distribution, 'analytic' ​get significance probabilities and/or critical values from the analytic reference distribution (typically, the sampling distribution under the null hypothesis),​ '​stats'​ use a parametric test from the Matlab statistics toolbox, ​'glm' ​use a general linear model approach.+'distance', 'triangulation' or 'template'
  
-** cfg.method ** // freqanalysis ​//\\ +** cfg.method ** // [[reference:​ft_scalpcurrentdensity]] ​//\\ 
-different methods of calculating the spectra ​'mtmfft', analyses an entire spectrum ​for the entire data length, implements multitaper frequency transformation '​mtmconvol',​ implements multitaper time-frequency transformation based on multiplication in the frequency domain ​'mtmwelch', performs frequency analysis using Welch'​s averaged modified periodogram ​method ​of spectral estimation ​'wltconvol', implements wavelet time frequency transformation (using Morlet wavelets) based on multiplication in the frequency domain '​tfr',​ implements wavelet time frequency transformation (using Morlet wavelets) based on convolution in the time domain+'finite' for finite-difference method or 'spline' ​for spherical spline ​method 'hjorth' ​for Hjorth approximation method
  
-** cfg.method ** // resampledata ​//\\+** cfg.method ** // [[reference:​ft_electroderealign]],​ [[reference:​ft_electroderealign]] //\\ 
 +'​headshape'​ 
 + 
 +** cfg.method ** // [[reference:​ft_stratify]] //\\ 
 +'​histogram'​ '​splithilo'​ '​splitlohi'​ '​splitlolo'​ '​splithihi'​ '​equatespike'​ 
 + 
 +** cfg.method ** // [[reference:​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 '​rv'​ scan residual variance with single dipole '​music'​ multiple signal classification '​sloreta'​ standardized low-resolution electromagnetic tomography '​eloreta'​ exact low-resolution electromagnetic tomography 
 + 
 +** cfg.method ** // [[reference:​ft_freqinterpolate]] //\\ 
 +'​nan',​ '​linear'​ (default = '​nan'​) 
 + 
 +** cfg.method ** // [[reference:​ft_channelnormalise]] //\\ 
 +'​perchannel',​ or '​acrosschannel',​ computes the standard deviation per channel, or across all channels. The latter method leads to the same scaling across channels and preserves topographical distributions 
 + 
 +** cfg.method ** // [[reference:​ft_componentanalysis]] //\\ 
 +'​runica',​ '​fastica',​ '​binica',​ '​pca',​ '​svd',​ '​jader',​ '​varimax',​ '​dss',​ '​cca',​ '​sobi',​ '​white'​ or '​csp'​ (default = '​runica'​) 
 + 
 +** cfg.method ** // [[reference:​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 '​glassbrain',​ plots a max-projection through the brain '​vertex',​ plots the grid points or vertices scaled according to the functional value '​cloud',​ plot the data as clouds, spheres, or points scaled according to the functional value 
 + 
 +** cfg.method ** // [[reference:​ft_statistics_stats]] //\\ 
 +'​stats'​ 
 + 
 +** cfg.method ** // [[reference:​ft_combineplanar]] //\\ 
 +'​sum',​ '​svd',​ '​abssvd',​ or '​complex'​ (default = '​sum'​) 
 + 
 +** cfg.method ** // [[reference:​ft_preprocessing]] //\\ 
 +'​trial'​ or '​channel',​ read data per trial or per channel (default = '​trial'​) 
 + 
 +** cfg.method ** // [[reference:​ft_channelrepair]] //\\ 
 +'​weighted',​ '​average',​ '​spline',​ '​slap'​ or '​nan'​ (default = '​weighted'​) 
 + 
 +** cfg.method ** // [[reference:​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 ** // [[reference:​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, 
 + 
 +** cfg.method ** // [[reference:​ft_freqstatistics]],​ [[reference:​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 ** // [[reference:​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. '​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 ** // [[reference:​ft_detect_movement]] //\\ 
 +different methods of detecting different movement types '​velocity2D',​ Micro/​saccade detection based on Engbert R, Kliegl R (2003) Vision Res 43:​1035-1045. The method computes thresholds based on velocity changes from eyetracker data (horizontal and vertical components). '​clustering',​ Micro/​saccade detection based on Otero-Millan et al., (2014) J Vis 14 (not implemented yet) 
 + 
 +** cfg.method ** // [[reference:​ft_resampledata]] ​//\\
 interpolation method, see INTERP1 (default = '​pchip'​) interpolation method, see INTERP1 (default = '​pchip'​)
  
-** cfg.method ** // freqanalysis_mtmconvol,​ freqanalysis_mtmfft,​ freqanalysis_mtmwelch,​ freqanalysis_tfr,​ freqanalysis_wltconvol ​//\\ +** cfg.method ** // [[reference:​ft_volumerealign]] ​//\\ 
-method ​used for frequency or time-frequency decomposition see FREQANALYSIS for details+string representing the method for aligning '​interactive'​ use the GUI to specify the fiducials '​fiducial'​ use pre-specified fiducials '​headshape'​ match the MRI surface to a headshape '​spm'​ match to template anatomical MRI '​fsl'​ match to template anatomical MRI
  
-** cfg.method ** // rejectvisual ​//\\+** cfg.method ** // [[reference:​ft_electroderealign]] //\\ 
 +string representing the method for aligning or placing the electrodes '​interactive'​ realign manually using a graphical user interface '​fiducial'​ realign using three fiducials (e.g. NAS, LPA and RPA) '​template'​ realign the electrodes to match a template set '​headshape'​ realign the electrodes to fit the head surface '​project'​ projects electrodes onto the head surface '​moveinward'​ moves electrodes inward along their normals 
 + 
 +** cfg.method ** // [[reference:​ft_electrodeplacement]] //\\ 
 +string representing the method for placing the electrodes '​volume'​ interactively locate electrodes on three orthogonal slices of a volumetric MRI or CT scan '​headshape'​ interactively locate electrodes on a head surface '​1020'​ automatically locate electrodes on a head surface according to the 10-20 system 
 + 
 +** cfg.method ** // [[reference:​ft_prepare_headmodel]] //\\ 
 +string that specifies the forward solution, see below 
 + 
 +** cfg.method ** // [[reference:​ft_volumereslice]] //\\ 
 +string, '​flip',​ '​nearest',​ '​linear',​ '​cubic'​ or '​spline'​ (default = '​linear'​) 
 + 
 +** cfg.method ** // [[reference:​ft_connectivityanalysis]] //\\ 
 +string, can be '​amplcorr',​ amplitude correlation,​ support for freq and source data '​coh',​ coherence, support for freq, freqmvar and source data. For partial coherence also specify cfg.partchannel,​ see below. For imaginary part of coherency or coherency also specify cfg.complex,​ see below. '​csd',​ cross-spectral density matrix, can also calculate partial csds - if cfg.partchannel is specified, support for freq and freqmvar data '​dtf',​ directed transfer function, support for freq and freqmvar data '​granger',​ granger causality, support for freq and freqmvar data '​pdc',​ partial directed coherence, 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 '​powcorr_ortho',​ power correlation with single trial orthogonalisation,​ support for source data '​ppc'​ pairwise phase consistency '​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) '​wppc'​ weighted pairwise phase consistency '​corr'​ Pearson correlation,​ support for timelock or raw data 
 + 
 +** cfg.method ** // [[reference:​ft_crossfrequencyanalysis]] //\\ 
 +string, can be '​coh'​ - coherence '​plv'​ - phase locking value '​mvl'​ - mean vector length '​mi'​ - modulation index 
 + 
 +** cfg.method ** // [[reference:​ft_meshrealign]] //\\ 
 +string, can be '​interactive'​ or fiducial'​ (default = '​interactive'​) 
 + 
 +** cfg.method ** // [[reference:​ft_prepare_mesh]] //\\ 
 +string, can be '​interactive',​ '​projectmesh',​ '​iso2mesh',​ '​isosurface',​ '​headshape',​ '​hexahedral',​ '​tetrahedral',​ '​cortexhull'​ 
 + 
 +** cfg.method ** // [[reference:​ft_connectivitysimulation]] //\\ 
 +string, can be '​linear_mix',​ '​mvnrnd',​ '​ar',​ '​ar_reverse'​ (see below) 
 + 
 +** cfg.method ** // [[reference:​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 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 ​** // rejectvisual ​//\\ +** cfg.method ​** // [[reference:​ft_globalmeanfield]] ​//\\ 
-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 '​absmax'​ 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+string, ​determines whether ​the amplitude or power should be calculated (see below, default is '​amplitude'​, can be 'power')
  
-** cfg.minlength ** // redefinetrial ​//\\+** cfg.method ** // [[reference:​ft_interpolatenan]] //\\ 
 +string, interpolation method, see HELP INTERP1 (default = '​linear'​) 
 + 
 +** cfg.method ** // [[reference:​ft_sourceparcellate]] //\\ 
 +string, method to combine the values, see below (default = '​mean'​) 
 + 
 +** cfg.method ** // [[reference:​ft_networkanalysis]] //\\ 
 +string, specifying the graph measure that will be computed. See below for the list of supported measures. 
 + 
 +** cfg.method ** // [[reference:​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.metric ** // [[reference:​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 ** // [[reference:​ft_redefinetrial]] ​//\\
 length in seconds, can be '​maxperlen'​ (default = []) length in seconds, can be '​maxperlen'​ (default = [])
  
-** cfg.model ** // dipolefitting ​//\\+** cfg.minspace ** // [[reference:​ft_sourceplot]] //\\ 
 +scalar, minimum spacing between slices if nslices>​1 (default = 1) 
 + 
 +** cfg.missingchannel ** // [[reference:​ft_channelrepair]] //\\ 
 +cell-array, see FT_CHANNELSELECTION for details 
 + 
 +** cfg.mix ** // [[reference:​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 ** // [[reference:​ft_dipolefitting]] ​//\\
 '​moving'​ or '​regional'​ '​moving'​ or '​regional'​
  
-** cfg.montage ** // layoutplotprepare_layout,​ preprocessing ​//\\+** cfg.montage ** // [[reference:​ft_layoutplot]][[reference:​ft_prepare_layout]] ​//\\
 '​no'​ or a montage structure (default = '​no'​) '​no'​ or a montage structure (default = '​no'​)
  
-** cfg.mriunits ​** // prepare_localspheres ​//\\ +** cfg.montage ​** // [[reference:​ft_preprocessing]] ​//\\ 
-'mm' or '​cm' ​(default = 'mm')+'no' or a montage structure, see FT_APPLY_MONTAGE ​(default = 'no')
  
-** cfg.mriunits ​** // prepare_singleshellsourceinterpolate ​//\\ +** cfg.moveinward ​** // [[reference:​ft_prepare_sourcemodel]] //\\ 
-'​mm' ​or '​cm' ​(default ​is 'mm')+numbermove dipoles inward to ensure a certain distance to the innermost surface of the source compartment (default = 0) 
 + 
 +** cfg.moveinward ** // [[reference:​ft_electroderealign]] ​//\\ 
 +number, the distance that the electrode should be moved inward (negative numbers result in an outward move) 
 + 
 +** cfg.moviefreq ** // [[reference:​ft_movieplotTFR]] //\\ 
 +number, movie frames are all time points at the fixed frequency moviefreq (default = []); 
 + 
 +** cfg.movietime ** // [[reference:​ft_movieplotTFR]] //\\ 
 +number, movie frames are all frequencies at the fixed time movietime (default = []); 
 + 
 +** cfg.mri ** // [[reference:​ft_prepare_sourcemodel]] //\\ 
 +can be filename ​or MRI structure, containing the individual anatomy 
 + 
 +** cfg.mri ** // [[reference:​ft_prepare_sourcemodel]] //\\ 
 +can be filename, MRI structure or segmented MRI structure 
 + 
 +** cfg.mri ** // [[reference:​ft_prepare_layout]] //\\ 
 +segmented anatomical MRI to be used for generating an outline, see FT_READ_MRI and FT_VOLUMESEGMENT for details 
 + 
 +** cfg.mva ** // [[reference:​ft_statistics_crossvalidate]] //\\ 
 +a multivariate analysis ​(default ​= {dml.standardizer dml.svm}) 
 + 
 +** cfg.mvarmethod ** // [[reference:​ft_mvaranalysis]] //\\ 
 +scalar (only required when cfg.method = 'biosig'). default is 2, relates to the algorithm used for the computation of the AR-coefficients by mvar.m 
 + 
 +** cfg.mychan ** // [[reference:​ft_databrowser]] //\\ 
 +Nx1 cell-array with selection of channels 
 + 
 +** cfg.mychanscale ** // [[reference:​ft_databrowser]] //\\ 
 +number, scaling to apply to the channels specified in cfg.mychan
  
 ===== N ===== ===== N =====
  
-** cfg.nearestto ** // recodeevent ​//\\+** cfg.n1.ampl ** // [[reference:​ft_freqsimulation]] //\\ 
 +root-mean-square amplitude of wide-band signal prior to filtering 
 + 
 +** cfg.n1.bpfreq ** // [[reference:​ft_freqsimulation]] //\\ 
 +[Flow Fhigh] 
 + 
 +** cfg.n2.ampl ** // [[reference:​ft_freqsimulation]] //\\ 
 +root-mean-square amplitude of wide-band signal prior to filtering 
 + 
 +** cfg.n2.bpfreq ** // [[reference:​ft_freqsimulation]] //\\ 
 +[Flow Fhigh] 
 + 
 +** cfg.name ** // [[reference:​ft_volumenormalise]],​ [[reference:​ft_volumesegment]] //\\ 
 +string for output filename 
 + 
 +** cfg.nearestto ** // [[reference:​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 '​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.nonlinear ** // dipolefitting ​//\\+** cfg.neighbourdist ** // [[reference:​ft_prepare_neighbours]] //\\ 
 +number, maximum distance between neighbouring sensors (only for '​distance'​) 
 + 
 +** cfg.neighbours ** // [[reference:​ft_freqstatistics]],​ [[reference:​ft_megplanar]],​ [[reference:​ft_scalpcurrentdensity]],​ [[reference:​ft_statistics_montecarlo]] //\\ 
 +neighbourhood structure, see FT_PREPARE_NEIGHBOURS 
 + 
 +** cfg.neighbours ** // [[reference:​ft_neighbourplot]] //\\ 
 +neighbourhood structure, see FT_PREPARE_NEIGHBOURS (optional) 
 + 
 +** cfg.neighbours ** // [[reference:​ft_channelrepair]] //\\ 
 +neighbourhood structure, see also FT_PREPARE_NEIGHBOURS 
 + 
 +** cfg.neighbours ** // [[reference:​ft_rejectvisual]] //\\ 
 +neighbourhood structure, see also FT_PREPARE_NEIGHBOURS (required for repairing channels) 
 + 
 +** cfg.nfolds ** // [[reference:​ft_statistics_crossvalidate]] //\\ 
 +number of cross-validation folds (default = 5) 
 + 
 +** cfg.noise.ampl ** // [[reference:​ft_freqsimulation]] //\\ 
 +amplitude of noise 
 + 
 +** cfg.noise.ampl ** // [[reference:​ft_timelocksimulation]] //\\ 
 +number (default = 0.1) 
 + 
 +** cfg.noisecov ** // [[reference:​ft_connectivitysimulation]] //\\ 
 +matrix, [nsignal x nsignal] specifying the covariance matrix of the innovation process 
 + 
 +** cfg.nonlinear ** // [[reference:​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 ** // [[reference:​ft_dipolefitting]] ​//\\
 '​yes'​ or '​no',​ perform nonlinear search for optimal dipole parameters (default = '​yes'​) '​yes'​ or '​no',​ perform nonlinear search for optimal dipole parameters (default = '​yes'​)
  
-** cfg.normalize ** // sourceanalysis ​//\\+** cfg.normalize ** // [[reference:​ft_sourceanalysis]] ​//\\
 '​no'​ or '​yes'​ (default = '​no'​) '​no'​ or '​yes'​ (default = '​no'​)
  
-** cfg.normalize ** // prepare_leadfield ​//\\+** cfg.normalize ** // [[reference:​ft_prepare_leadfield]] ​//\\
 '​yes'​ or '​no'​ (default = '​no'​) '​yes'​ or '​no'​ (default = '​no'​)
  
-** cfg.normalizeparam ** // prepare_leadfield ​//\\+** cfg.normalize ** // [[reference:​ft_regressconfound]] //\\ 
 +string, '​yes'​ or '​no',​ normalization to make the confounds orthogonal (default = '​yes'​) 
 + 
 +** cfg.normalizeparam ** // [[reference:​ft_prepare_leadfield]] ​//\\
 depth normalization parameter (default = 0.5) depth normalization parameter (default = 0.5)
  
-** cfg.normalizevar ** // timelockanalysis,​ timelockgrandaverage ​//\\+** cfg.normalizevar ** // [[reference:​ft_timelockgrandaverage]] ​//\\
 '​N'​ or '​N-1'​ (default = '​N-1'​) '​N'​ or '​N-1'​ (default = '​N-1'​)
  
-** cfg.nslices ** // sourceplot ​//\\+** cfg.nsignal ** // [[reference:​ft_connectivitysimulation]] //\\ 
 +scalar, number of signals 
 + 
 +** cfg.nslices ** // [[reference:​ft_sliceinterp]] //\\ 
 +integer value, default is 20 
 + 
 +** cfg.nslices ** // [[reference:​ft_sourceplot]] ​//\\
 number of slices, (default = 20) number of slices, (default = 20)
  
-** cfg.ntrials ** // dipolesimulation ​//\\+** cfg.nslices ** // [[reference:​ft_sourceplot]] //\\ 
 +scalar, number of slices to plot if '​slicepos'​ = 'auto (default = 1) 
 + 
 +** cfg.ntrials ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +integer N, number of trials (default = 320) 
 + 
 +** cfg.ntrials ** // [[reference:​ft_dipolesimulation]] ​//\\
 number of trials number of trials
  
-** cfg.numbootstrap ** // sourceanalysis ​//\\+** cfg.ntrials ** // [[reference:​ft_connectivitysimulation]] //\\ 
 +scalar, number of trials 
 + 
 +** cfg.numbin ** // [[reference:​ft_stratify]] //\\ 
 +10 
 + 
 +** cfg.numbootstrap ** // [[reference:​ft_sourceanalysis]] ​//\\
 number of bootstrap replications (e.g. number of original trials) number of bootstrap replications (e.g. number of original trials)
  
-** cfg.numdipoles ** // dipolefitting ​//\\+** cfg.numclusters ** // [[reference:​ft_headmovement]] //\\ 
 +number of segments with constant headposition in which to split the data (default = 12) 
 + 
 +** cfg.numcomponent ** // [[reference:​ft_componentanalysis]] //\\ 
 +'​all'​ or number (default = '​all'​) 
 + 
 +** cfg.numdipoles ** // [[reference:​ft_dipolefitting]] ​//\\
 number, default is 1 number, default is 1
  
-** cfg.numpermutation ** // sourceanalysis ​//\\+** cfg.numiter ** // [[reference:​ft_stratify]] //\\ 
 +2000 
 + 
 +** cfg.numpermutation ** // [[reference:​ft_sourceanalysis]] ​//\\
 number, e.g. 500 or '​all'​ number, e.g. 500 or '​all'​
  
-** cfg.numrandomization ** // sourceanalysis ​//\\+** cfg.numrandomization ** // [[reference:​ft_statistics_montecarlo]] //\\ 
 +number of randomizations,​ can be '​all'​ 
 + 
 +** cfg.numrandomization ** // [[reference:​ft_sourceanalysis]] ​//\\
 number, e.g. 500 number, e.g. 500
  
-** cfg.numvertices ** // prepare_bemmodel ​//\\ +** cfg.numtrl ** // [[reference:​ft_freqsimulation]] //\\ 
-[Nskin Nskull Nbrain]+number of simulated trials 
 + 
 +** cfg.numtrl ** // [[reference:​ft_timelocksimulation]] //\\ 
 +number of simulated trials (default = 10) 
 + 
 +** cfg.numvertices ** // [[reference:​ft_prepare_mesh]] ​//\\ 
 +[800, 1600, 2400]; bnd = ft_prepare_mesh(cfg,​ segmentation);​ 
 + 
 +** cfg.numvertices ** // [[reference:​ft_prepare_mesh]] //\\ 
 +numeric vector, should have same number of elements as cfg.tissue
  
 ===== O ===== ===== O =====
  
-** cfg.offset ** // redefinetrial ​//\\+** cfg.offset ** // [[reference:​ft_redefinetrial]] ​//\\
 single number or Nx1 vector, expressed in samples relative to current t=0 single number or Nx1 vector, expressed in samples relative to current t=0
  
-** cfg.opacitylim ** // sourceplot ​//\\ +** cfg.opacitylim ** // [[reference:​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'​+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 positive ​and negative: '​maxabs'​
  
-** cfg.opacitymap ** // sourceplot ​//\\+** cfg.opacitymap ** // [[reference:​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 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.outline ​** // topoplot ​//\\ +** cfg.operation ​** // [[reference:​ft_math]] ​//\\ 
-'scalp' ​or 'ECog' ​(default = 'scalp')+string, can be 'add''subtract''divide',​ '​multiply',​ '​log10',​ 'abs'
  
-** cfg.output ** // recodeevent ​//\\+** cfg.operation ** // [[reference:​ft_math]] //\\ 
 +string, for example '​(x1-x2)/​(x1+x2)'​ or '​x1/​6'​ 
 + 
 +** cfg.option1 ** // [[reference:​ft_examplefunction]] //\\ 
 +value, explain the value here (default = something) 
 + 
 +** cfg.option2 ** // [[reference:​ft_examplefunction]] //\\ 
 +value, describe the value here and if needed continue here to allow automatic parsing of the help 
 + 
 +** cfg.option3 ** // [[reference:​ft_examplefunction]] //\\ 
 +value, explain it here (default is automatic) 
 + 
 +** cfg.opto ** // [[reference:​ft_channelrepair]] //\\ 
 +structure with optode definition, see FT_DATATYPE_SENS 
 + 
 +** cfg.opto ** // [[reference:​ft_prepare_layout]] //\\ 
 +structure with optode structure definition, or 
 + 
 +** cfg.optofile ** // [[reference:​ft_prepare_layout]] //\\ 
 +filename containing optode structure definition 
 + 
 +** cfg.optofile ** // [[reference:​ft_channelrepair]] //\\ 
 +name of file containing the optode definition, see FT_READ_SENS 
 + 
 +** cfg.opts ** // [[reference:​ft_volumesegment]] //\\ 
 +struct, containing spm-version specific options. See the code and/or the SPM-documentation for more detail. 
 + 
 +** cfg.opts ** // [[reference:​ft_volumebiascorrect]] //\\ 
 +struct, containing spmversion specific options. See the code below and the SPM-documentation for more information. 
 + 
 +** cfg.order ** // [[reference:​ft_channelrepair]] //\\ 
 +order of the polynomial interpolation (default = 4, not for method '​distance'​) 
 + 
 +** cfg.order ** // [[reference:​ft_scalpcurrentdensity]] //\\ 
 +order of the splines (default = 4) 
 + 
 +** cfg.order ** // [[reference:​ft_mvaranalysis]] //\\ 
 +scalar, order of the autoregressive model (default=10) 
 + 
 +** cfg.ori ** // [[reference:​ft_sourceplot]] //\\ 
 +'​x',​ '​y',​ or '​z',​ specifies the orthogonal plane which will be plotted (default = '​y'​) 
 + 
 +** cfg.outline ** // [[reference:​ft_prepare_layout]] //\\ 
 +string, how to create the outline, can be '​circle',​ '​convex',​ '​headshape',​ '​mri'​ or '​no'​ (default is automatic) 
 + 
 +** cfg.output ** // [[reference:​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 '​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 ** // freqanalysis_mtmwelch,​ freqanalysis_wltconvol ​//\\ +** cfg.output ** // [[reference:​ft_volumelookup]] ​//\\ 
-'pow' ​return the power-spectra '​powandcsd'​ return the power and the cross-spectra+'label'
  
-** cfg.output ** // freqanalysis_mtmconvol,​ freqanalysis_mtmfft ​//\\+** cfg.output ** // [[reference:​ft_freqanalysis]] ​//\\
 '​pow'​ return the power-spectra '​powandcsd'​ return the power and the cross-spectra '​fourier'​ return the complex Fourier-spectra '​pow'​ return the power-spectra '​powandcsd'​ return the power and the cross-spectra '​fourier'​ return the complex Fourier-spectra
  
-** cfg.output ** // layoutplotprepare_layout ​//\\+** cfg.output ** // [[reference:​ft_regressconfound]] //\\ 
 +'​residual'​ (default)'​beta',​ or '​model'​. If '​residual'​ is specified, the output is a data structure containing the residuals after regressing out the in cfg.reject listed confounds. If '​beta'​ or '​model'​ is specified, the output is a data structure containing the regression weights or the model, respectively. 
 + 
 +** cfg.output ** // [[reference:​ft_volumesegment]] //\\ 
 +'​skullstrip';​ segmented = ft_volumesegment(cfg,​ mri) will generate a skull-stripped anatomy based on a brainmask generated from the probabilistic tissue maps. The skull-stripped anatomy is stored in the field segmented.anatomy. 
 + 
 +** cfg.output ** // [[reference:​ft_prepare_layout]] //\\ 
 +filename (ending in .mat or .lay) to which the layout will be written (default = []) 
 + 
 +** cfg.output ** // [[reference:​ft_layoutplot]] ​//\\
 filename to which the layout will be written (default = []) filename to which the layout will be written (default = [])
 +
 +** cfg.output ** // [[reference:​ft_volumesegment]] //\\
 +string or cell-array of strings, see below (default = '​tpm'​)
 +
 +** cfg.output ** // [[reference:​ft_freqsimulation]] //\\
 +which channels should be in the output data, can be '​mixed'​ or '​all'​ (default = '​all'​)
 +
 +** cfg.output ** // [[reference:​ft_volumesegment]] //\\
 +{'​brain'​ '​scalp'​ '​skull'​};​ segmented = ft_volumesegment(cfg,​ mri) will produce a volume with 3 binary masks, representing the brain surface, scalp surface, and skull which do not overlap.
 +
 +** cfg.output ** // [[reference:​ft_volumesegment]] //\\
 +{'​brain'​};​ segment_brain = ft_volumesegment(cfg,​ segment_tpm);​
 +
 +** cfg.output ** // [[reference:​ft_prepare_mesh]] //\\
 +{'​scalp',​ '​skull',​ '​brain'​};​ segmentation = ft_volumesegment(cfg,​ mri);
 +
 +** cfg.output ** // [[reference:​ft_volumesegment]] //\\
 +{'​scalp'​};​ segmented = ft_volumesegment(cfg,​ mri) will produce a volume with a binary mask (based on the anatomy), representing the border of the scalp surface (i.e., everything inside the surface is also included). Such representation of the scalp is produced faster, because it doesn'​t require to create the tissue probabilty maps before creating the mask.
 +
 +** cfg.output ** // [[reference:​ft_volumesegment]] //\\
 +{'​tpm'​};​ segment_tpm = ft_volumesegment(cfg,​ mri);
 +
 +** cfg.outputfile ** // [[reference:​ft_prepare_headmodel]],​ [[reference:​ft_prepare_headmodel]] //\\
 +(required) string, filename prefix for the output files
 +
 +** cfg.outputfile ** // [[reference:​ft_annotate]],​ [[reference:​ft_anonimizedata]],​ [[reference:​ft_appenddata]],​ [[reference:​ft_appendfreq]],​ [[reference:​ft_channelnormalise]],​ [[reference:​ft_channelrepair]],​ [[reference:​ft_combineplanar]],​ [[reference:​ft_componentanalysis]],​ [[reference:​ft_connectivityanalysis]],​ [[reference:​ft_denoise_synthetic]],​ [[reference:​ft_detect_movement]],​ [[reference:​ft_dipolefitting]],​ [[reference:​ft_examplefunction]],​ [[reference:​ft_freqanalysis]],​ [[reference:​ft_freqanalysis_mvar]],​ [[reference:​ft_freqdescriptives]],​ [[reference:​ft_freqgrandaverage]],​ [[reference:​ft_freqinterpolate]],​ [[reference:​ft_freqstatistics]],​ [[reference:​ft_globalmeanfield]],​ [[reference:​ft_interpolatenan]],​ [[reference:​ft_lateralizedpotential]],​ [[reference:​ft_math]],​ [[reference:​ft_megplanar]],​ [[reference:​ft_megrealign]],​ [[reference:​ft_meshrealign]],​ [[reference:​ft_mvaranalysis]],​ [[reference:​ft_prepare_mesh]],​ [[reference:​ft_preprocessing]],​ [[reference:​ft_redefinetrial]],​ [[reference:​ft_regressconfound]],​ [[reference:​ft_rejectcomponent]],​ [[reference:​ft_rejectvisual]],​ [[reference:​ft_removetemplateartifact]],​ [[reference:​ft_resampledata]],​ [[reference:​ft_scalpcurrentdensity]],​ [[reference:​ft_sourceanalysis]],​ [[reference:​ft_sourcedescriptives]],​ [[reference:​ft_sourcegrandaverage]],​ [[reference:​ft_sourceinterpolate]],​ [[reference:​ft_timelockanalysis]],​ [[reference:​ft_timelockbaseline]],​ [[reference:​ft_timelockgrandaverage]],​ [[reference:​ft_timelockstatistics]],​ [[reference:​ft_volumedownsample]],​ [[reference:​ft_volumenormalise]],​ [[reference:​ft_volumerealign]],​ [[reference:​ft_volumereslice]],​ [[reference:​ft_volumesegment]] //\\
 +...
 +
 +** cfg.overlap ** // [[reference:​ft_redefinetrial]] //\\
 +single number (between 0 and 1 (exclusive)) specifying the fraction of overlap between snippets (0 = no overlap)
 +
 +** cfg.overlap ** // [[reference:​ft_prepare_layout]] //\\
 +string, how to deal with overlapping channels when the layout is constructed from a sensor configuration structure. This can be '​shift'​ - shift the positions in 2D space to remove the overlap (default) '​keep'​ - do not shift, retain the overlap '​no'​ - throw an error when overlap is present
  
 ===== P ===== ===== P =====
  
-** cfg.pad ** // freqanalysis_mtmconvol,​ freqanalysis_mtmfft,​ freqanalysis_mtmwelch ​//\\ +** cfg.pad ** // [[reference:​ft_freqanalysis]] ​//\\ 
-number or '​maxperlen',​ length in seconds to which the data can be padded out (default = '​maxperlen'​)+number, '​nextpow2', ​or '​maxperlen' ​(default), length in seconds to which the data can be padded out. 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. The new option '​nextpow2'​ rounds the maximum trial length up to the next power of 2. By using that amount of padding, the FFT can be computed more efficiently in case '​maxperlen' ​has a large prime factor sum.
  
-** cfg.padding ** // preprocessing ​//\\ +** cfg.padding ** // [[reference:​ft_preprocessing]] ​//\\ 
-length to which the trials are padded for filtering+length ​(in seconds) ​to which the trials are padded for filtering ​(default = 0)
  
-** cfg.parameter ** // freqstatistics ​//\\+** cfg.padtype ** // [[reference:​ft_freqanalysis]] //\\ 
 +string, type of padding (default '​zero',​ see ft_preproc_padding) 
 + 
 +** cfg.padtype ** // [[reference:​ft_preprocessing]] //\\ 
 +string, type of padding (default: '​data'​ padding or '​mirror',​ depending on feasibility) 
 + 
 +** cfg.pairtrials ** // [[reference:​ft_stratify]] //\\ 
 +'​spikesort',​ '​linkage'​ or '​no'​ (default = '​spikesort'​) 
 + 
 +** cfg.parameter ** // [[reference:​ft_volumerealign]] //\\ 
 +'​anatomy'​ the parameter which is used for the visualization 
 + 
 +** cfg.parameter ** // [[reference:​ft_sourceparcellate]] //\\ 
 +cell-array with strings, fields that should be parcellated (default = '​all'​) 
 + 
 +** cfg.parameter ** // [[reference:​ft_volumenormalise]] //\\ 
 +cell-array with the functional data to be normalised (default = '​all'​) 
 + 
 +** cfg.parameter ** // [[reference:​ft_timelockbaseline]] //\\ 
 +field for which to apply baseline normalization,​ or cell array of strings to specify multiple fields to normalize (default = '​avg'​) 
 + 
 +** cfg.parameter ** // [[reference:​ft_freqbaseline]] //\\ 
 +field for which to apply baseline normalization,​ or cell array of strings to specify multiple fields to normalize (default = '​powspctrm'​) 
 + 
 +** cfg.parameter ** // [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotTFR]] //\\ 
 +field that contains the data to be plotted as color, for example '​avg',​ '​powspctrm'​ or '​cohspctrm'​ (default is automatic) 
 + 
 +** cfg.parameter ** // [[reference:​ft_singleplotER]] //\\ 
 +field to be plotted on y-axis (default depends on data.dimord) '​avg',​ '​powspctrm'​ or '​cohspctrm'​ 
 + 
 +** cfg.parameter ** // [[reference:​ft_multiplotER]] //\\ 
 +field to be plotted on y-axis, for example '​avg',​ '​powspctrm'​ or '​cohspctrm'​ (default is automatic) 
 + 
 +** cfg.parameter ** // [[reference:​ft_singleplotTFR]] //\\ 
 +field to be plotted on z-axis, e.g. '​powspcrtrm'​ (default depends on data.dimord) 
 + 
 +** cfg.parameter ** // [[reference:​ft_multiplotTFR]] //\\ 
 +field to be represented as color (default depends on data.dimord) '​powspctrm'​ or '​cohspctrm'​ 
 + 
 +** cfg.parameter ** // [[reference:​ft_freqstatistics]] ​//\\
 string (default = '​powspctrm'​) string (default = '​powspctrm'​)
  
-** cfg.parameter ** // timelockstatistics ​//\\+** cfg.parameter ** // [[reference:​ft_timelockstatistics]] ​//\\
 string (default = '​trial'​ or '​avg'​) string (default = '​trial'​ or '​avg'​)
  
-** cfg.parameter ** // sourceinterpolate ​//\\ +** cfg.parameter ** // [[reference:​ft_sourceinterpolate]] ​//\\ 
-string, default is '​all'​+string ​(or cell-array) of the parameter(s) to be interpolated
  
-** cfg.parameter ** // sourcegrandaveragesourcestatistics ​//\\+** cfg.parameter ** // [[reference:​ft_timelockgrandaverage]] //\\ 
 +string or cell-array indicating which parameter to average. default is set to '​avg'​if it is present in the data. 
 + 
 +** cfg.parameter ** // [[reference:​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 ** // [[reference:​ft_networkanalysis]] //\\ 
 +string specifying the bivariate parameter in the data for which the graph measure will be computed. 
 + 
 +** cfg.parameter ** // [[reference:​ft_volumedownsample]] //\\ 
 +string, data field to downsample (default = '​all'​) 
 + 
 +** cfg.parameter ** // [[reference:​ft_volumewrite]] //\\ 
 +string, describing the functional data to be processed, e.g. '​pow',​ '​coh',​ '​nai'​ or '​anatomy'​ 
 + 
 +** cfg.parameter ** // [[reference:​ft_sourcegrandaverage]],​ [[reference:​ft_sourcestatistics]] ​//\\
 string, describing the functional data to be processed, e.g. '​pow',​ '​nai'​ or '​coh'​ string, describing the functional data to be processed, e.g. '​pow',​ '​nai'​ or '​coh'​
  
-** cfg.permutation ** // sourceanalysis ​//\\+** cfg.parameter ** // [[reference:​ft_math]] //\\ 
 +string, field from the input data on which the operation is performed, e.g. '​pow'​ or '​avg'​ 
 + 
 +** cfg.parameter ** // [[reference:​ft_electrodeplacement]] //\\ 
 +string, field in data (default = '​anatomy'​ if present in data) 
 + 
 +** cfg.parameter ** // [[reference:​ft_sourcewrite]] //\\ 
 +string, functional parameter to be written to file 
 + 
 +** cfg.parameter ** // [[reference:​ft_movieplotER]],​ [[reference:​ft_movieplotTFR]] //\\ 
 +string, parameter that is color coded (default = '​avg'​) 
 + 
 +** cfg.parameter ** // [[reference:​ft_connectivityplot]] //\\ 
 +string, the functional parameter to be plotted (default = '​cohspctrm'​) 
 + 
 +** cfg.parameter ** // [[reference:​ft_appendfreq]] //\\ 
 +string, the name of the field to concatenate 
 + 
 +** cfg.params ** // [[reference:​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.parcellation ** // [[reference:​ft_sourceparcellate]] //\\ 
 +string, fieldname that contains the desired parcellation 
 + 
 +** cfg.partchannel ** // [[reference:​ft_connectivityanalysis]] //\\ 
 +cell-array containing a list of channels that need to be partialized out, support for method '​coh',​ '​csd',​ '​plv'​ 
 + 
 +** cfg.permutation ** // [[reference:​ft_sourceanalysis]] ​//\\
 '​no'​ or '​yes'​ '​no'​ or '​yes'​
  
-** cfg.polyorder ​** // preprocessing ​//\\ +** cfg.pertrial ​** // [[reference:​ft_denoise_pca]] ​//\\ 
-polynome order (default ​= 2)+'​no' ​(default) ​or '​yes'​. Regress out the references on a per trial basis
  
-** cfg.polyremoval ​** // preprocessing ​//\\ +** cfg.planarmethod ​** // [[reference:​ft_megplanar]] ​//\\ 
-'no' ​or 'yes', ​this is done on the complete trial+string, can be 'sincos''orig', ​'​fitplane',​ '​sourceproject'​ (default = '​sincos'​)
  
-** cfg.powmethod ** // sourcedescriptives ​//\\+** cfg.ploteventlabels ** // [[reference:​ft_databrowser]] //\\ 
 +'​type=value',​ '​colorvalue'​ (default = '​type=value'​);​ 
 + 
 +** cfg.plotevents ** // [[reference:​ft_databrowser]] //\\ 
 +'​no'​ or '​yes',​ whether to plot event markers. (default is '​yes'​) 
 + 
 +** cfg.plotfiltresp ** // [[reference:​ft_preprocessing]] //\\ 
 +'​no'​ or '​yes',​ plot filter responses (firws, default = '​no'​) 
 + 
 +** cfg.plotlabels ** // [[reference:​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.plotunit ** // [[reference:​ft_qualitycheck]] //\\ 
 +scalar, the length of time to be plotted in one panel (default = 3600) 
 + 
 +** cfg.point ** // [[reference:​ft_prepare_headmodel]] //\\ 
 + 
 + 
 +** cfg.polyorder ** // [[reference:​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 ** // [[reference:​ft_preprocessing]] //\\ 
 +'​no'​ or '​yes',​ remove higher order trend from the data (done per trial) (default = '​no'​) 
 + 
 +** cfg.polyremoval ** // [[reference:​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.poststim ** // [[reference:​ft_artifact_tms]] //\\ 
 +scalar, time in seconds post onset of detected even to mark as artifactual (default = 0.010 seconds) 
 + 
 +** cfg.postwindow ** // [[reference:​ft_interpolatenan]] //\\ 
 +value, length of data after interpolation window, in seconds (default = 1) 
 + 
 +** cfg.powmethod ** // [[reference:​ft_sourcedescriptives]] ​//\\
 '​regular',​ '​lambda1',​ '​trace',​ '​none'​ '​regular',​ '​lambda1',​ '​trace',​ '​none'​
  
-** cfg.precision ** // preprocessing ​//\\+** cfg.precision ** // [[reference:​ft_preprocessing]] ​//\\
 '​single'​ or '​double'​ (default = '​double'​) '​single'​ or '​double'​ (default = '​double'​)
  
-** cfg.projection ** // layoutplotprepare_layout ​//\\+** cfg.precision ** // [[reference:​ft_sourcewrite]] //\\ 
 +string, can be '​single',​ '​double',​ etc. 
 + 
 +** cfg.preproc.baselinewindow ** // [[reference:​ft_databrowser]] //\\ 
 +[begin end] in seconds, the default is the complete trial (default = '​all'​) 
 + 
 +** cfg.preproc.boxcar ** // [[reference:​ft_rejectvisual]] //\\ 
 +0.2 
 + 
 +** cfg.preproc.bpfilter ** // [[reference:​ft_rejectvisual]],​ [[reference:​ft_rejectvisual]] //\\ 
 +'​yes'​ 
 + 
 +** cfg.preproc.bpfilter ** // [[reference:​ft_heartrate]] //\\ 
 +'​yes'​ or '​no'​ 
 + 
 +** cfg.preproc.bpfiltord ** // [[reference:​ft_rejectvisual]] //\\ 
 +
 + 
 +** cfg.preproc.bpfiltord ** // [[reference:​ft_rejectvisual]] //\\ 
 +
 + 
 +** cfg.preproc.bpfilttype ** // [[reference:​ft_rejectvisual]],​ [[reference:​ft_rejectvisual]] //\\ 
 +'​but'​ 
 + 
 +** cfg.preproc.bpfreq ** // [[reference:​ft_rejectvisual]] //\\ 
 +[1 15] 
 + 
 +** cfg.preproc.bpfreq ** // [[reference:​ft_rejectvisual]] //\\ 
 +[110 140] 
 + 
 +** cfg.preproc.bpfreq ** // [[reference:​ft_heartrate]] //\\ 
 +[low high], filter frequency in Hz 
 + 
 +** cfg.preproc.demean ** // [[reference:​ft_databrowser]] //\\ 
 +'​no'​ or '​yes',​ whether to apply baseline correction (default = '​no'​) 
 + 
 +** cfg.preproc.detrend ** // [[reference:​ft_databrowser]] //\\ 
 +'​no'​ or '​yes',​ remove linear trend from the data (done per trial) (default = '​no'​) 
 + 
 +** cfg.preproc.lpfilter ** // [[reference:​ft_databrowser]] //\\ 
 +'​no'​ or '​yes'​ lowpass filter (default = '​no'​) 
 + 
 +** cfg.preproc.lpfreq ** // [[reference:​ft_databrowser]] //\\ 
 +lowpass frequency in Hz 
 + 
 +** cfg.preproc.rectify ** // [[reference:​ft_rejectvisual]],​ [[reference:​ft_rejectvisual]] //\\ 
 +'​yes'​ 
 + 
 +** cfg.prestim ** // [[reference:​ft_artifact_tms]] //\\ 
 +scalar, time in seconds prior to onset of detected event to mark as artifactual (default = 0.005 seconds) 
 + 
 +** cfg.prewindow ** // [[reference:​ft_interpolatenan]] //\\ 
 +value, length of data prior to interpolation window, in seconds (default = 1) 
 + 
 +** cfg.projcomb ** // [[reference:​ft_sourceplot]] //\\ 
 +'​mean',​ '​max',​ method to combine the different projections 
 + 
 +** cfg.projection ** // [[reference:​ft_prepare_layout]] //\\ 
 +string2D projection method can be '​stereographic',​ '​orthographic',​ '​polar'​ or '​gnomic'​ (default = '​polar'​) When '​orthographic',​ cfg.viewpoint can be used to indicate to specificy projection (keep empty for legacy projection) 
 + 
 +** cfg.projection ** // [[reference:​ft_layoutplot]] ​//\\
 string, 2D projection method can be '​stereographic',​ '​ortographic',​ '​polar',​ '​gnomic'​ or '​inverse'​ (default = '​orthographic'​) string, 2D projection method can be '​stereographic',​ '​ortographic',​ '​polar',​ '​gnomic'​ or '​inverse'​ (default = '​orthographic'​)
  
-** cfg.projectmom ** // sourcedescriptives ​//\\+** cfg.projectmom ** // [[reference:​ft_sourcedescriptives]] ​//\\
 '​yes'​ or '​no'​ (default = '​no'​) '​yes'​ or '​no'​ (default = '​no'​)
  
-** cfg.projectnoise ** // sourceanalysis ​//\\+** cfg.projectnoise ** // [[reference:​ft_sourceanalysis]] ​//\\
 '​no'​ or '​yes'​ '​no'​ or '​yes'​
  
-** cfg.projmethod ** // sourceplot ​//\\ +** cfg.projmethod ** // [[reference:​ft_sourceplot]] ​//\\ 
-projection method, how functional volume data is projected onto surface '​nearest',​ '​sphere_avg',​ '​sphere_weighteddistance'​+projection method, how functional volume data is projected onto surface '​nearest', '​project', '​sphere_avg',​ '​sphere_weighteddistance'​
  
-** cfg.pseudovalue ** // sourceanalysis ​//\\+** cfg.projthresh ** // [[reference:​ft_sourceplot]] //\\ 
 +implements thresholding on the surface level for example, 0.7 means 70% of maximum 
 + 
 +** cfg.projvec ** // [[reference:​ft_sourceplot]] //\\ 
 +vector (in mm) to allow different projections that are combined with the method specified in cfg.projcomb 
 + 
 +** cfg.projweight ** // [[reference:​ft_sourceplot]] //\\ 
 +vector of weights for the different projections (default = 1) 
 + 
 +** cfg.pruneratio ** // [[reference:​ft_megplanar]] //\\ 
 +for singular values, default is 1e-3 
 + 
 +** cfg.pseudovalue ** // [[reference:​ft_sourceanalysis]] ​//\\
 '​no'​ or '​yes'​ pseudovalue resampling of trials '​no'​ or '​yes'​ pseudovalue resampling of trials
  
 ===== Q ===== ===== Q =====
  
-** cfg.queryrange ** // sourceplot ​//\\+** cfg.querymethod ** // [[reference:​ft_volumelookup]] //\\ 
 +'​sphere'​ searches voxels around the roi in a sphere (default) = '​cube'​ searches voxels around the roi in a sphere 
 + 
 +** cfg.queryrange ** // [[reference:​ft_sourceplot]] ​//\\
 number, in atlas voxels (default 3) number, in atlas voxels (default 3)
  
 ===== R ===== ===== R =====
  
-** cfg.radius ** // prepare_localspheres ​//\\ +** cfg.radius ** // [[reference:​ft_prepare_headmodel]] ​//\\ 
-number, which points to select for each channel ​(default = 7 cm)+(optional)
  
-** cfg.randomization ** // sourceanalysis ​//\\+** cfg.radius ** // [[reference:​ft_sourceplot]] //\\ 
 +scalar, maximum radius of cloud (default = 4) 
 + 
 +** cfg.randomization ** // [[reference:​ft_sourceanalysis]] ​//\\
 '​no'​ or '​yes'​ '​no'​ or '​yes'​
  
-** cfg.rawtrial ​** // sourceanalysis ​//\\ +** cfg.randomseed ​** // [[reference:​ft_connectivitysimulation]],​ [[reference:​ft_dipolesimulation]],​ [[reference:​ft_freqsimulation]] ​//\\ 
-'no' or '​yes' ​construct filter from single trials, apply to single trials+'yes' or a number or vector with the seed value (default = '​yes'​)
  
-** cfg.rectify ​** // preprocessing ​//\\ +** cfg.randomseed ​** // [[reference:​ft_componentanalysis]] ​//\\ 
-'​no'​ or '​yes'​+comp.cfg.callinfo.randomseed (from previous call)
  
-** cfg.rectify ​** // rejectvisual,​ rejectvisual ​//\\ +** cfg.randomseed ​** // [[reference:​ft_componentanalysis]] ​//\\ 
-'yes'+integer seed value of user's choice
  
-** cfg.reducerank ** // prepare_leadfieldsourceanalysis ​//\\+** cfg.randomseed ** // [[reference:​ft_statistics_montecarlo]] //\\ 
 +string, '​yes',​ '​no'​ or a number (default = '​yes'​) 
 + 
 +** cfg.rawtrial ** // [[reference:​ft_sourceanalysis]] //\\ 
 +'​no'​ or '​yes'​ construct filter from single trials, apply to single trials. Note that you also may want to set cfg.keeptrials='​yes'​ to keep all trial information,​ especially if using in combination with grid.filter 
 + 
 +** cfg.rectify ** // [[reference:​ft_preprocessing]] //\\ 
 +'​no'​ or '​yes'​ (default = '​no'​) 
 + 
 +** cfg.reducerank ** // [[reference:​ft_dipolefitting]],​ [[reference:​ft_prepare_leadfield]][[reference:​ft_sourceanalysis]] ​//\\
 '​no',​ or number (default = 3 for EEG, 2 for MEG) '​no',​ or number (default = 3 for EEG, 2 for MEG)
  
-** cfg.refchan ** // sourceanalysis ​//\\+** cfg.refchan ** // [[reference:​ft_sourceanalysis]] ​//\\
 reference channel label (for coherence) reference channel label (for coherence)
  
-** cfg.refchannel ** // preprocessing ​//\\ +** cfg.refchannel ** // [[reference:​ft_prepare_montage]],​ [[reference:​ft_preprocessing]] ​//\\ 
-cell-array with new EEG reference channel(s)+cell-array with new EEG reference channel(s), this can be '​all'​ for a common average reference 
 + 
 +** cfg.refchannel ** // [[reference:​ft_multiplotER]],​ [[reference:​ft_multiplotTFR]],​ [[reference:​ft_singleplotER]],​ [[reference:​ft_singleplotTFR]],​ [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotTFR]] //\\ 
 +name of reference channel for visualising connectivity,​ can be '​gui'​ 
 + 
 +** cfg.refchannel ** // [[reference:​ft_denoise_pca]] //\\ 
 +the channels used as reference signal (default = '​MEGREF'​)
  
-** cfg.refdip ** // sourceanalysis ​//\\+** cfg.refdip ** // [[reference:​ft_sourceanalysis]] ​//\\
 reference dipole location (for coherence) reference dipole location (for coherence)
  
-** cfg.relnoise ** // dipolesimulation ​//\\+** cfg.refmethod ** // [[reference:​ft_prepare_montage]] //\\ 
 +'​avg',​ '​bioloar',​ '​comp'​ (default = '​avg'​) 
 + 
 +** cfg.refmethod ** // [[reference:​ft_preprocessing]] //\\ 
 +'​avg',​ '​median',​ or '​bipolar'​ for bipolar derivation of sequential channels (default = '​avg'​) 
 + 
 +** cfg.reject ** // [[reference:​ft_regressconfound]] //\\ 
 +vector, [1 X Nconfounds],​ listing the confounds that are to be rejected (default = '​all'​) 
 + 
 +** cfg.relnoise ** // [[reference:​ft_dipolesimulation]] ​//\\
 add noise with level relative to simulated signal add noise with level relative to simulated signal
  
-** cfg.removemean ** // timelockanalysis ​//\\+** cfg.remove ** // [[reference:​ft_analysispipeline]] //\\ 
 +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.removefield ** // [[reference:​ft_anonimizedata]] //\\ 
 +cell-array with strings, fields to remove (default = {}) 
 + 
 +** cfg.removemean ** // [[reference:​ft_timelockanalysis]] ​//\\
 '​no'​ or '​yes'​ for covariance computation (default = '​yes'​) '​no'​ or '​yes'​ for covariance computation (default = '​yes'​)
  
-** cfg.reref ** // preprocessing ​//\\+** cfg.removemean ** // [[reference:​ft_connectivityanalysis]] //\\ 
 +'​yes'​ (default), or '​no',​ support for method '​powcorr'​ and '​amplcorr'​. 
 + 
 +** cfg.removevalue ** // [[reference:​ft_anonimizedata]] //\\ 
 +cell-array with strings, values to remove (default = {}) 
 + 
 +** cfg.renderer ** // [[reference:​ft_sourceplot]] //\\ 
 +'​painters',​ '​zbuffer',​ ' opengl'​ or '​none'​ (default = '​opengl'​) note that when using opacity the OpenGL renderer is required. 
 + 
 +** cfg.renderer ** // [[reference:​ft_multiplotER]],​ [[reference:​ft_multiplotTFR]],​ [[reference:​ft_singleplotER]],​ [[reference:​ft_singleplotTFR]] //\\ 
 +'​painters',​ '​zbuffer',​ ' opengl'​ or '​none'​ (default = []) 
 + 
 +** cfg.renderer ** // [[reference:​ft_databrowser]] //\\ 
 +string, '​opengl',​ '​zbuffer',​ '​painters',​ see MATLAB Figure Properties. If the databrowser crashes, you should try '​painters'​. 
 + 
 +** cfg.reref ** // [[reference:​ft_preprocessing]] ​//\\
 '​no'​ or '​yes'​ (default = '​no'​) '​no'​ or '​yes'​ (default = '​no'​)
  
-** cfg.resamplefs ** // resampledata ​//\\+** cfg.resample ** // [[reference:​ft_sliceinterp]] //\\ 
 +integer value, default is 1 (for resolution reduction) 
 + 
 +** cfg.resample ** // [[reference:​ft_statistics_crossvalidate]] //\\ 
 +true/false; upsample less occurring classes during training and downsample often occurring classes during testing (default = false) 
 + 
 +** cfg.resamplefs ** // [[reference:​ft_resampledata]] ​//\\
 frequency at which the data will be resampled (default = 256 Hz) frequency at which the data will be resampled (default = 256 Hz)
  
-** cfg.resolutionmatrix ** // sourcedescriptives ​//\\+** cfg.resolution ** // [[reference:​ft_volumereslice]] //\\ 
 +number, in physical units 
 + 
 +** cfg.resolutionmatrix ** // [[reference:​ft_sourcedescriptives]] ​//\\
 '​yes'​ or '​no'​ (default = '​no'​) '​yes'​ or '​no'​ (default = '​no'​)
  
-** cfg.roi ** // volumelookup ​//\\+** cfg.roi ** // [[reference:​ft_volumelookup]],​ [[reference:​ft_volumelookup]] ​//\\
 Nx3 vector, coordinates of the points of interest Nx3 vector, coordinates of the points of interest
  
-** cfg.roi ** // sourcestatistics,​ volumelookup //\\ +** cfg.roi ** // [[reference:​ft_sourceplot]] ​//\\
-string or cell of strings, region(s) of interest from anatomical atlas +
- +
-** cfg.roi ** // sourceplot ​//\\+
 string or cell of strings, region(s) of interest from anatomical atlas (see cfg.atlas above) everything is masked except for ROI string or cell of strings, region(s) of interest from anatomical atlas (see cfg.atlas above) everything is masked except for ROI
  
-** cfg.rotate ** // layoutplotprepare_layout ​//\\+** cfg.roi ** // [[reference:​ft_volumelookup]] //\\ 
 +string or cell-array of strings, region(s) of interest from anatomical atlas 
 + 
 +** cfg.rotate ** // [[reference:​ft_sliceinterp]] //\\ 
 +number of ccw 90 deg slice rotations (default = 0) 
 + 
 +** cfg.rotate ** // [[reference:​ft_layoutplot]][[reference:​ft_prepare_layout]] ​//\\
 number, rotation around the z-axis in degrees (default = [], which means automatic) number, rotation around the z-axis in degrees (default = [], which means automatic)
  
-** cfg.round2nearestvoxel ** // volumelookup ​//\\+** cfg.round2nearestvoxel ** // [[reference:​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 '​yes'​ or '​no'​ (default = '​no'​),​ voxel closest to point of interest is calculated and box/sphere is centered around coordinates of that voxel
 +
 +** cfg.round2nearestvoxel ** // [[reference:​ft_volumelookup]] //\\
 +'​yes'​ or '​no',​ voxel closest to point of interest is calculated (default = '​yes'​)
 +
 +** cfg.runica.anneal ** // [[reference:​ft_componentanalysis]] //\\
 +
 +
 +** cfg.runica.annealdeg ** // [[reference:​ft_componentanalysis]] //\\
 +
 +
 +** cfg.runica.bias ** // [[reference:​ft_componentanalysis]] //\\
 +
 +
 +** cfg.runica.block ** // [[reference:​ft_componentanalysis]] //\\
 +
 +
 +** cfg.runica.extended ** // [[reference:​ft_componentanalysis]] //\\
 +
 +
 +** cfg.runica.interput ** // [[reference:​ft_componentanalysis]] //\\
 +
 +
 +** cfg.runica.logfile ** // [[reference:​ft_componentanalysis]] //\\
 +
 +
 +** cfg.runica.lrate ** // [[reference:​ft_componentanalysis]] //\\
 +
 +
 +** cfg.runica.maxsteps ** // [[reference:​ft_componentanalysis]] //\\
 +
 +
 +** cfg.runica.momentum ** // [[reference:​ft_componentanalysis]] //\\
 +
 +
 +** cfg.runica.pca ** // [[reference:​ft_componentanalysis]] //\\
 +
 +
 +** cfg.runica.posact ** // [[reference:​ft_componentanalysis]] //\\
 +
 +
 +** cfg.runica.specgram ** // [[reference:​ft_componentanalysis]] //\\
 +
 +
 +** cfg.runica.sphering ** // [[reference:​ft_componentanalysis]] //\\
 +
 +
 +** cfg.runica.stop ** // [[reference:​ft_componentanalysis]] //\\
 +
 +
 +** cfg.runica.verbose ** // [[reference:​ft_componentanalysis]] //\\
 +
 +
 +** cfg.runica.weights ** // [[reference:​ft_componentanalysis]] //\\
 +
  
 ===== S ===== ===== S =====
  
-** cfg.searchrange ** // recodeevent ​//\\+** cfg.s1.ampl ** // [[reference:​ft_freqsimulation]] //\\ 
 +amplitude of signal 1 
 + 
 +** cfg.s1.ampl ** // [[reference:​ft_timelocksimulation]] //\\ 
 +number (default = 1.0) 
 + 
 +** cfg.s1.freq ** // [[reference:​ft_freqsimulation]] //\\ 
 +frequency of signal 1 
 + 
 +** cfg.s1.numcycli ** // [[reference:​ft_timelocksimulation]] //\\ 
 +number (default = 1) 
 + 
 +** cfg.s1.phase ** // [[reference:​ft_freqsimulation]] //\\ 
 +phase (in rad) relative to cosine of signal 1 (default depends on method) = number or '​random'​ 
 + 
 +** cfg.s2.ampl ** // [[reference:​ft_freqsimulation]] //\\ 
 +amplitude of signal 2 
 + 
 +** cfg.s2.ampl ** // [[reference:​ft_timelocksimulation]] //\\ 
 +number (default = 0.7) 
 + 
 +** cfg.s2.freq ** // [[reference:​ft_freqsimulation]] //\\ 
 +frequency of signal 2 
 + 
 +** cfg.s2.numcycli ** // [[reference:​ft_timelocksimulation]] //\\ 
 +number (default = 2) 
 + 
 +** cfg.s2.phase ** // [[reference:​ft_freqsimulation]] //\\ 
 +phase (in rad) relative to cosine of signal 1 (default depends on method) = number or '​random'​ 
 + 
 +** cfg.s3.ampl ** // [[reference:​ft_freqsimulation]] //\\ 
 +amplitude of signal 3 
 + 
 +** cfg.s3.ampl ** // [[reference:​ft_timelocksimulation]] //\\ 
 +number (default = 0.2) 
 + 
 +** cfg.s3.freq ** // [[reference:​ft_freqsimulation]] //\\ 
 +frequency of signal 3 
 + 
 +** cfg.s3.numcycli ** // [[reference:​ft_timelocksimulation]] //\\ 
 +number (default = 4) 
 + 
 +** cfg.s3.phase ** // [[reference:​ft_freqsimulation]] //\\ 
 +phase (in rad) relative to cosine of signal 1 (default depends on method) = number or '​random'​ 
 + 
 +** cfg.s4.ampl ** // [[reference:​ft_freqsimulation]] //\\ 
 +amplitude of signal 4 
 + 
 +** cfg.s4.freq ** // [[reference:​ft_freqsimulation]] //\\ 
 +frequency of signal 4 
 + 
 +** cfg.s4.phase ** // [[reference:​ft_freqsimulation]] //\\ 
 +phase (in rad) relative to cosine of signal 1 (default depends on method) = number or '​random'​ 
 + 
 +** cfg.samperframe ** // [[reference:​ft_movieplotER]],​ [[reference:​ft_movieplotTFR]] //\\ 
 +number, samples per fram (default = 1) 
 + 
 +** cfg.sampleindex ** // [[reference:​ft_resampledata]] //\\ 
 +'​no'​ or '​yes',​ add a channel with the original sample indices (default = '​no'​) 
 + 
 +** cfg.saveaspng ** // [[reference:​ft_clusterplot]] //\\ 
 +string, filename of the output figures (default = '​no'​) 
 + 
 +** cfg.savemat ** // [[reference:​ft_qualitycheck]] //\\ 
 +string, '​yes'​ or '​no'​ to save the analysis (default = '​yes'​) 
 + 
 +** cfg.saveplot ** // [[reference:​ft_qualitycheck]] //\\ 
 +string, '​yes'​ or '​no'​ to save the visualization (default = '​yes'​) 
 + 
 +** cfg.scalar ** // [[reference:​ft_math]] //\\ 
 +scalar value to be used in the operation 
 + 
 +** cfg.scale ** // [[reference:​ft_defacemesh]],​ [[reference:​ft_defacevolume]] //\\ 
 +initial size of the box along each dimension (default is automatic) 
 + 
 +** cfg.scaling ** // [[reference:​ft_volumewrite]] //\\ 
 +'​yes'​ or '​no'​ 
 + 
 +** cfg.scalpsmooth ** // [[reference:​ft_volumesegment]] //\\ 
 +'​no',​ or scalar, the FWHM of the gaussian kernel in voxels, (default = 5) 
 + 
 +** cfg.scalpthreshold ** // [[reference:​ft_volumesegment]] //\\ 
 +'​no',​ or scalar, relative threshold value which is used to threshold the anatomical data in order to create a volumetric scalpmask (see below), (default = 0.1) 
 + 
 +** cfg.searchrange ** // [[reference:​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 '​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.shading ** // topoplot ​//\\+** cfg.selcfg ** // [[reference:​ft_databrowser]] //\\ 
 +configuration options for function in cfg.selfun 
 + 
 +** cfg.seldat ** // [[reference:​ft_databrowser]] //\\ 
 +'​selected'​ or '​all',​ specifies whether only the currently selected or all channels will be passed to the selfun (default = '​selected'​) 
 + 
 +** cfg.selectfeature ** // [[reference:​ft_databrowser]] //\\ 
 +string, name of feature to be selected/​added (default = '​visual'​) 
 + 
 +** cfg.selection ** // [[reference:​ft_defacemesh]],​ [[reference:​ft_defacevolume]] //\\ 
 +which voxels to keep, can be '​inside'​ or '​outside'​ (default = '​outside'​) 
 + 
 +** cfg.selectmode ** // [[reference:​ft_databrowser]] //\\ 
 +'​markartifact',​ '​markpeakevent',​ '​marktroughevent'​ (default = '​markartifact'​) 
 + 
 +** cfg.selfun ** // [[reference:​ft_databrowser]] //\\ 
 +string, name of function that is evaluated using the right-click context menu. The selected data and cfg.selcfg are passed on to this function. 
 + 
 +** cfg.shading ** // [[reference:​ft_topoplotIC]] ​//\\
 '​flat'​ '​interp'​ (default = '​flat'​) '​flat'​ '​interp'​ (default = '​flat'​)
  
-** cfg.singlesphere ​** // prepare_localspheres ​//\\ +** cfg.shading ​** // [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotTFR]] ​//\\ 
-'yes' or 'no', fit only a single sphere ​(default = 'no')+'flat' or 'interp' (default = 'flat')
  
-** cfg.singletrial ​** // sourceanalysis ​//\\ +** cfg.showcomment ​** // [[reference:​ft_multiplotER]] ​//\\ 
-'no' or '​yes' ​construct filter from average, apply to single trials+'yes' or '​no'​ (default = '​yes'​)
  
-** cfg.slicedim ** // sourceplot ​//\\+** cfg.showcomment ** // [[reference:​ft_multiplotTFR]] //\\ 
 +'​yes',​ '​no'​ (default = '​yes'​) 
 + 
 +** cfg.showinfo ** // [[reference:​ft_analysispipeline]] //\\ 
 +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 pipeline. Please note that if you want to show a lot of information,​ this will require a lot of screen real estate. 
 + 
 +** cfg.showlabels ** // [[reference:​ft_multiplotER]] //\\ 
 +'​yes'​ or '​no'​ (default = '​no'​) 
 + 
 +** cfg.showlabels ** // [[reference:​ft_multiplotTFR]] //\\ 
 +'​yes',​ '​no'​ (default = '​no'​) 
 + 
 +** cfg.showoutline ** // [[reference:​ft_multiplotER]] //\\ 
 +'​yes'​ or '​no'​ (default = '​no'​) 
 + 
 +** cfg.showoutline ** // [[reference:​ft_multiplotTFR]] //\\ 
 +'​yes',​ '​no'​ (default = '​no'​) 
 + 
 +** cfg.showscale ** // [[reference:​ft_multiplotER]] //\\ 
 +'​yes'​ or '​no'​ (default = '​yes'​) 
 + 
 +** cfg.showscale ** // [[reference:​ft_multiplotTFR]] //\\ 
 +'​yes',​ '​no'​ (default = '​yes'​) 
 + 
 +** cfg.skipcomnt ** // [[reference:​ft_prepare_layout]] //\\ 
 +'​yes'​ or '​no',​ whether the comment should be included in the layout or not (default = '​no'​) 
 + 
 +** cfg.skipscale ** // [[reference:​ft_prepare_layout]] //\\ 
 +'​yes'​ or '​no',​ whether the scale should be included in the layout or not (default = '​no'​) 
 + 
 +** cfg.skullsmooth ** // [[reference:​ft_volumesegment]] //\\ 
 +'​no',​ or scalar, the FWHM of the gaussian kernel in voxels, (default = 5) this parameter is only used when the segmentation contains 6 tisuse types, including '​bone'​ 
 + 
 +** cfg.skullthreshold ** // [[reference:​ft_volumesegment]] //\\ 
 +'​no',​ or scalar, relative threshold value which is used to threshold the anatomical data in order to create a volumetric scalpmask (see below), (default = 0.5). this parameter is only used when the segmetnation contains 6 tissue types, including '​bone',​ 
 + 
 +** cfg.slice ** // [[reference:​ft_sourceplot]] //\\ 
 +requires '​anatomical'​ as input (default = '​none'​) '​2d',​ plots 2D slices through the cloud with an outline of the mesh '​3d',​ draws an outline around the mesh at a particular slice 
 + 
 +** cfg.slicedim ** // [[reference:​ft_sourceplot]] ​//\\
 dimension to slice 1 (x-axis) 2(y-axis) 3(z-axis) (default = 3) dimension to slice 1 (x-axis) 2(y-axis) 3(z-axis) (default = 3)
  
-** cfg.slicerange ** // sourceplot ​//\\+** cfg.slicepos ** // [[reference:​ft_sourceplot]] //\\ 
 +'​auto'​ or Nx1 vector specifying the position of the slice plane along the orientation axis (default = '​auto':​ chooses slice(s) with the most data) 
 + 
 +** cfg.slicerange ** // [[reference:​ft_sourceplot]] ​//\\
 range of slices in data, (default = '​auto'​) '​auto',​ full range of data [min max], coordinates of first and last slice in voxels range of slices in data, (default = '​auto'​) '​auto',​ full range of data [min max], coordinates of first and last slice in voxels
  
-** cfg.smooth ** // prepare_localspheres ​//\\+** cfg.smooth ** // [[reference:​ft_defacevolume]],​ [[reference:​ft_volumedownsample]] ​//\\
 '​no'​ or the FWHM of the gaussian kernel in voxels (default = '​no'​) '​no'​ or the FWHM of the gaussian kernel in voxels (default = '​no'​)
  
-** cfg.smooth ** // prepare_singleshell ​//\\ +** cfg.smooth ** // [[reference:​ft_prepare_sourcemodel]] //\\ 
-'​no'​ or the FWHM of the gaussian kernel in voxels (default = 5)+5, smoothing in voxels 
 + 
 +** cfg.snapshot ** // [[reference:​ft_volumerealign]] ​//\\ 
 +'​no' ​('​yes'​),​ making a snapshot of the image once a fiducial ​or landmark location is selected. The optional second output argument to the function will contain the handles to these figures. 
 + 
 +** cfg.snapshotfile ** // [[reference:​ft_volumerealign]] //\\ 
 +'​ft_volumerealign_snapshot'​ or string, the root of the filename for the snapshots, including the path. If no path is given the files are saved to the pwd. The consecutive figures will be numbered and saved as png-file. 
 + 
 +** cfg.sobi.n_sources ** // [[reference:​ft_componentanalysis]] //\\ 
 + 
 + 
 +** cfg.sobi.p_correlations ** // [[reference:​ft_componentanalysis]] //\\ 
  
-** cfg.sourceunits ​** // prepare_localspheres ​//\\ +** cfg.spacemax ​** // [[reference:​ft_sliceinterp]] ​//\\ 
-'mm' or '​cm' ​(default = '​cm'​)+'auto' ​(default) ​or integer ​(last slice position)
  
-** cfg.sourceunits ​** // prepare_singleshell,​ sourceinterpolate ​//\\ +** cfg.spacemin ​** // [[reference:​ft_sliceinterp]] ​//\\ 
-'mm' or '​cm' ​(default is '​cm'​)+'auto' ​(default) ​or integer ​(first slice position)
  
-** cfg.sphere ** // volumelookup ​//\\+** cfg.sphere ** // [[reference:​ft_volumelookup]] ​//\\
 radius of each sphere in cm/mm dep on unit of input radius of each sphere in cm/mm dep on unit of input
  
-** cfg.spheremesh ** // prepare_singleshell ​//\\ +** cfg.spheremesh ** // [[reference:​ft_megplanar]],​ [[reference:​ft_megrealign]] ​//\\ 
-number, to retriangulate ​the mesh with a sphere ​(default = 3000instead of specifying a number, you can specify '​same'​ to keep the vertices of the mesh identical to the original headshape points+number ​of dipoles in the source layer (default = 642)
  
-** cfg.sphereradius ** // sourceplot ​//\\+** cfg.sphereradius ** // [[reference:​ft_sourceplot]] ​//\\
 maximum distance from each voxel to the surface to be included in the sphere projection methods, expressed in mm maximum distance from each voxel to the surface to be included in the sphere projection methods, expressed in mm
  
-** cfg.style ** // topoplot ​//\\ +** cfg.spherify ​** // [[reference:​ft_prepare_sourcemodel]] ​//\\ 
-topoplot style (default = 'both''straight'​ colormap only '​contour'​ contour lines only 'both' (default) both colormap and contour lines 'fill' ​constant color between lines '​blank'​ just head and electrodes+'yes' ​or 'no', scale the source model so that it fits inside a sperical volume conduction model (default ​'no')
  
-** cfg.supchan ** // sourceanalysis ​//\\+** cfg.spm.cost_fun ** // [[reference:​ft_volumerealign]] //\\ 
 +cost function string: '​mi'​ - Mutual Information (default) '​nmi'​ - Normalised Mutual Information '​ecc'​ - Entropy Correlation Coefficient '​ncc'​ - Normalised Cross Correlation 
 + 
 +** cfg.spm.fwhm ** // [[reference:​ft_volumerealign]] //\\ 
 +smoothing to apply to 256x256 joint histogram, default: [7 7] 
 + 
 +** cfg.spm.params ** // [[reference:​ft_volumerealign]] //\\ 
 +starting estimates (6 elements), default: [0 0 0 0 0 0] 
 + 
 +** cfg.spm.regtype ** // [[reference:​ft_volumerealign]] //\\ 
 +'​subj',​ '​rigid'​ 
 + 
 +** cfg.spm.sep ** // [[reference:​ft_volumerealign]] //\\ 
 +optimisation sampling steps (mm), default: [4 2] 
 + 
 +** cfg.spm.smoref ** // [[reference:​ft_volumerealign]] //\\ 
 +scalar value 
 + 
 +** cfg.spm.smosrc ** // [[reference:​ft_volumerealign]] //\\ 
 +scalar value 
 + 
 +** cfg.spm.tol ** // [[reference:​ft_volumerealign]] //\\ 
 +tolerences for accuracy of each param, default: [0.02 0.02 0.02 0.001 0.001 0.001] 
 + 
 +** cfg.spmmethod ** // [[reference:​ft_volumesegment]] //\\ 
 +string, '​old',​ '​new',​ '​mars'​ (default = '​old'​). This pertains to the algorithm used when cfg.spmversion='​spm12',​ see below. 
 + 
 +** cfg.spmversion ** // [[reference:​ft_volumesegment]] //\\ 
 +string, '​spm2',​ '​spm8',​ '​spm12'​ (default = '​spm12'​) 
 + 
 +** cfg.spmversion ** // [[reference:​ft_prepare_mesh]],​ [[reference:​ft_prepare_sourcemodel]],​ [[reference:​ft_volumedownsample]],​ [[reference:​ft_volumenormalise]],​ [[reference:​ft_volumerealign]] //\\ 
 +string, '​spm2',​ '​spm8',​ '​spm12'​ (default = '​spm8'​) 
 + 
 +** cfg.spmversion ** // [[reference:​ft_volumebiascorrect]] //\\ 
 +string, '​spm8',​ '​spm12'​ (default = '​spm8'​) 
 + 
 +** cfg.statistic ** // [[reference:​ft_statistics_analytic]],​ [[reference:​ft_statistics_montecarlo]] //\\ 
 +'​indepsamplesT'​ independent samples T-statistic,​ '​indepsamplesF'​ independent samples F-statistic,​ '​indepsamplesregrT'​ independent samples regression coefficient T-statistic,​ '​indepsamplesZcoh'​ independent samples Z-statistic for coherence, '​depsamplesT'​ dependent samples T-statistic,​ '​depsamplesFmultivariate'​ dependent samples F-statistic MANOVA, '​depsamplesregrT'​ dependent samples regression coefficient T-statistic,​ '​actvsblT'​ activation versus baseline T-statistic. 
 + 
 +** cfg.statistic ** // [[reference:​ft_statistics_stats]] //\\ 
 +'​ttest'​ test against a mean of zero '​ttest2'​ compare the mean in two conditions '​paired-ttest'​ '​anova1'​ '​kruskalwallis'​ '​signtest'​ '​signrank'​ '​pearson'​ '​kendall'​ '​spearman'​ 
 + 
 +** cfg.statistic ** // [[reference:​ft_statistics_crossvalidate]] //\\ 
 +a cell-array of statistics to report (default = {'​accuracy'​ '​binomial'​}) 
 + 
 +** cfg.statistic ** // [[reference:​ft_statistics_analytic]] //\\ 
 +string, statistic to compute for each sample or voxel (see below) 
 + 
 +** cfg.stimulus1.isi ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +in seconds, i.e. for 10Hz you would specify 0.1 seconds as the interstimulus interval (default = 0.1176) 
 + 
 +** cfg.stimulus1.isijitter ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +in seconds, max jitter relative to the previous stimulus (default = 0) 
 + 
 +** cfg.stimulus1.kernelduration ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +in seconds (default = isi) 
 + 
 +** cfg.stimulus1.kernelshape ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +'​sine'​ 
 + 
 +** cfg.stimulus1.mode ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +'​periodic',​ '​transient'​ or '​off'​ (default = '​periodic'​) 
 + 
 +** cfg.stimulus1.number ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +does not apply for periodic stimuli 
 + 
 +** cfg.stimulus1.onset ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +in seconds, first stimulus relative to the start of the trial (default = 0) 
 + 
 +** cfg.stimulus1.onsetjitter ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +in seconds, max jitter that is added to the onset (default = 0) 
 + 
 +** cfg.stimulus2.condition ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +1xM vector with condition codes for each transient within a trial (default = [1 1 2 2]) 
 + 
 +** cfg.stimulus2.condition ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +does not apply for periodic stimuli 
 + 
 +** cfg.stimulus2.gain ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +1xM vector with gain for each condition for each transient within a trial(default = [1 1 1 1]) 
 + 
 +** cfg.stimulus2.gain ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +does not apply for periodic stimuli 
 + 
 +** cfg.stimulus2.isi ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +in seconds as the interstimulus interval (default = 0.7) 
 + 
 +** cfg.stimulus2.isijitter ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +in seconds, max jitter relative to the previous stimulus ((default = 0.2) 
 + 
 +** cfg.stimulus2.kernelduration ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +in seconds (default = 0.75*isi) 
 + 
 +** cfg.stimulus2.kernelshape ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +'​hanning'​ 
 + 
 +** cfg.stimulus2.mode ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +'​periodic',​ '​transient'​ or '​off'​ (default = '​transient'​) 
 + 
 +** cfg.stimulus2.number ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +scalar M, how many transients are to be presented per trial (default = 4) 
 + 
 +** cfg.stimulus2.onset ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +in seconds, first stimulus relative to the start of the trial (default = 0.7) 
 + 
 +** cfg.stimulus2.onsetjitter ** // [[reference:​ft_steadystatesimulation]] //\\ 
 +in seconds, max jitter that is added to the onset (default = 0.2) 
 + 
 +** cfg.style ** // [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotIC]],​ [[reference:​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.submethod ** // [[reference:​ft_prepare_headmodel]] //\\ 
 +(optional) 
 + 
 +** cfg.subplotsize ** // [[reference:​ft_clusterplot]] //\\ 
 +layout of subplots ([h w], default [3 5]) 
 + 
 +** cfg.supchan ** // [[reference:​ft_sourceanalysis]] ​//\\
 suppressed channel label(s) suppressed channel label(s)
  
-** cfg.supdip ** // sourceanalysis ​//\\+** cfg.supdip ** // [[reference:​ft_sourceanalysis]] ​//\\
 suppressed dipole location(s) suppressed dipole location(s)
  
-** cfg.supmethod ** // sourcedescriptives ​//\\ +** cfg.supmethod ** // [[reference:​ft_sourcedescriptives]] ​//\\ 
-string+'​chan_dip',​ '​chan',​ '​dip',​ '​none'​ (default)
  
-** cfg.surfdownsample ** // sourceplot ​//\\+** cfg.surfdownsample ** // [[reference:​ft_sourceplot]] ​//\\
 number (default = 1, i.e. no downsampling) number (default = 1, i.e. no downsampling)
  
-** cfg.surffile ** // sourceplot ​//\\ +** cfg.surffile ** // [[reference:​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+string, file that contains the surface (default = 'surface_white_both.mat') 'surface_white_both.mat' contains a triangulation that corresponds with the SPM anatomical template in MNI coordinates
  
-** cfg.surfinflated ** // sourceplot ​//\\ +** cfg.surfinflated ** // [[reference:​ft_sourceplot]] ​//\\ 
-string, file that contains the inflated surface (default = [])+string, file that contains the inflated surface (default = []) may require specifying a point-matching (uninflated) surffile
  
-** cfg.symmetry ** // dipolefitting ​//\\+** cfg.symmetry ** // [[reference:​ft_dipolefitting]],​ [[reference:​ft_prepare_sourcemodel]] ​//\\
 '​x',​ '​y'​ or '​z'​ symmetry for two dipoles, can be empty (default = []) '​x',​ '​y'​ or '​z'​ symmetry for two dipoles, can be empty (default = [])
  
 ===== T ===== ===== T =====
  
-** cfg.t_ftimwin ** // freqanalysis_mtmconvol,​ freqanalysis_mtmwelch ​//\\ +** cfg.t_ftimwin ** // [[reference:​ft_mvaranalysis]] ​//\\ 
-vector 1 x numfoi, length ​of time window ​(in seconds)+the width of the sliding ​window ​on which the coefficients are estimated
  
-** cfg.taper ** // freqanalysis_mtmconvolfreqanalysis_mtmfftfreqanalysis_mtmwelch ​//\\ +** cfg.tail ** // [[reference:​ft_statistics_analytic]][[reference:​ft_statistics_montecarlo]][[reference:​ft_statistics_stats]] ​//\\ 
-'​dpss'​'​hanning'​ or many otherssee WINDOW ​(default = '​dpss'​)+number-11 or 0 (default = 0)
  
-** cfg.tapsmofrq ** // freqanalysis_mtmfft ​//\\+** cfg.taper ** // [[reference:​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.tapsmofrq ** // [[reference:​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. 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 ** // freqanalysis_mtmconvol,​ freqanalysis_mtmwelch ​//\\ +** cfg.tapsmofrq ** // [[reference:​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.+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'​) 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.t_ftimwin = vector 1 x numfoi, length of time window (in seconds) cfg.toi = vector 1 x numtoi, the times on which the analysis windows should be centered (in seconds), or a string such as '​50%'​ or '​all'​ (default). Both string options use all timepoints available in the data, but '​all'​ centers a spectral estimate on each sample, whereas the percentage specifies the degree of overlap between the shortest time windows from cfg.t_ftimwin.
  
-** cfg.threshold ​** // prepare_localspheres,​ prepare_singleshell ​//\\ +** cfg.target ​** // [[reference:​ft_electroderealign]] ​//\\ 
-0.5, relative to the maximum value in the segmentation+list of electrode sets that will be averaged
  
-** cfg.time ** // resampledata ​//\\+** cfg.target ** // [[reference:​ft_electroderealign]] //\\ 
 +single electrode set that serves as standard 
 + 
 +** cfg.target.label ** // [[reference:​ft_electroderealign]] //\\ 
 +{'​NAS',​ '​LPA',​ '​RPA'​} 
 + 
 +** cfg.target.pos ** // [[reference:​ft_electroderealign]] //\\ 
 +[0 -90 0] % location of the right ear 
 + 
 +** cfg.target.pos ** // [[reference:​ft_electroderealign]] //\\ 
 +[0 90 0] % location of the left ear 
 + 
 +** cfg.target.pos ** // [[reference:​ft_electroderealign]] //\\ 
 +[110 0 0] % location of the nose 
 + 
 +** cfg.template ** // [[reference:​ft_megrealign]] //\\ 
 + 
 + 
 +** cfg.template ** // [[reference:​ft_megrealign]] //\\ 
 +datasets that are averaged into the standard 
 + 
 +** cfg.template ** // [[reference:​ft_volumesegment]] //\\ 
 +filename of the template anatomical MRI (default = '/​spm2/​templates/​T1.mnc'​ or '/​spm8/​templates/​T1.nii'​) 
 + 
 +** cfg.template ** // [[reference:​ft_prepare_neighbours]] //\\ 
 +name of the template file, e.g. CTF275_neighb.mat 
 + 
 +** cfg.template ** // [[reference:​ft_megrealign]] //\\ 
 +single dataset that serves as template 
 + 
 +** cfg.template ** // [[reference:​ft_volumenormalise]] //\\ 
 +string, filename of the template anatomical MRI (default = '​T1.mnc'​ for spm2 or '​T1.nii'​ for spm8) 
 + 
 +** cfg.template.axes ** // [[reference:​ft_interactiverealign]] //\\ 
 +string, '​yes'​ or 'no (default = '​no'​) 
 + 
 +** cfg.template.elec ** // [[reference:​ft_interactiverealign]] //\\ 
 +structure 
 + 
 +** cfg.template.grad ** // [[reference:​ft_interactiverealign]] //\\ 
 +structure 
 + 
 +** cfg.template.headmodel ** // [[reference:​ft_interactiverealign]] //\\ 
 +structure, see FT_PREPARE_HEADMODEL 
 + 
 +** cfg.template.headmodelstyle ** // [[reference:​ft_interactiverealign]] //\\ 
 +'​vertex',​ '​edge',​ '​surface'​ or '​both'​ (default = '​edge'​) 
 + 
 +** cfg.template.headshape ** // [[reference:​ft_interactiverealign]] //\\ 
 +structure, see FT_READ_HEADSHAPE 
 + 
 +** cfg.template.headshapestyle ** // [[reference:​ft_interactiverealign]] //\\ 
 +'​vertex',​ '​edge',​ '​surface'​ or '​both'​ (default = '​vertex'​) 
 + 
 +** cfg.template.mri ** // [[reference:​ft_interactiverealign]] //\\ 
 +structure, see FT_READ_MRI 
 + 
 +** cfg.threshold ** // [[reference:​ft_prepare_sourcemodel]] //\\ 
 +0.1, relative to the maximum value in the segmentation 
 + 
 +** cfg.threshold ** // [[reference:​ft_heartrate]] //\\ 
 +scalar, between 0 and 1 
 + 
 +** cfg.time ** // [[reference:​ft_resampledata]] ​//\\
 cell-array with one time axis per trial (i.e. from another dataset) cell-array with one time axis per trial (i.e. from another dataset)
  
-** cfg.tissue ​** // prepare_bemmodel ​//\\ +** cfg.time ** // [[reference:​ft_freqsimulation]] ​//\\ 
-[1 2 3]segmentation value of each tissue type+cell-array with one time axis per trialwhich are for example obtained from an existing dataset
  
-** cfg.title ** // sourceplot ​//\\+** cfg.tissue ** // [[reference:​ft_prepare_headmodel]] //\\ 
 + 
 + 
 +** cfg.tissue ** // [[reference:​ft_prepare_headmodel]] //\\ 
 +a string or integer, to be used in combination with a '​seg'​ for the second intput. If '​brain',​ '​skull',​ and '​scalp'​ are fields present in '​seg',​ then cfg.tissue need not be specified, as these are defaults, depending on cfg.method. Otherwise, cfg.tissue should refer to which field(s) of seg should be used. 
 + 
 +** cfg.tissue ** // [[reference:​ft_prepare_mesh]] //\\ 
 +cell-array with tissue types or numeric vector with integer values 
 + 
 +** cfg.tissue ** // [[reference:​ft_prepare_headmodel]],​ [[reference:​ft_prepare_headmodel]] //\\ 
 +see above; in combination with '​seg'​ input 
 + 
 +** cfg.tissue ** // [[reference:​ft_prepare_headmodel]],​ [[reference:​ft_prepare_headmodel]] //\\ 
 +see above; in combination with '​seg'​ input; default options are '​brain'​ or '​scalp'​ 
 + 
 +** cfg.tissue ** // [[reference:​ft_prepare_headmodel]] //\\ 
 +see above; in combination with '​seg'​ input; default options are '​brain'​ or '​scalp';​ must be only 1 value 
 + 
 +** cfg.tissue ** // [[reference:​ft_prepare_mesh]] //\\ 
 +{'​scalp',​ '​skull',​ '​brain'​};​ 
 + 
 +** cfg.tissueval ** // [[reference:​ft_prepare_headmodel]] //\\ 
 + 
 + 
 +** cfg.title ** // [[reference:​ft_sliceinterp]] //\\ 
 +optional title (default is %%''​%%) 
 + 
 +** cfg.title ** // [[reference:​ft_topoplotIC]] //\\ 
 +string or '​auto'​ or '​off',​ specify a figure title, or use '​component N' (auto) as the title 
 + 
 +** cfg.title ** // [[reference:​ft_singleplotER]],​ [[reference:​ft_singleplotTFR]] //\\ 
 +string, title of plot 
 + 
 +** cfg.title ** // [[reference:​ft_sourceplot]] ​//\\
 string, title of the figure window string, title of the figure window
  
-** cfg.toi ** // freqanalysis_mtmconvol,​ freqanalysis_mtmwelch,​ freqanalysis_wltconvol ​//\\+** cfg.toi ** // [[reference:​ft_mvaranalysis]] //\\ 
 +[t1 t2 ... tx] the time points at which the windows are centered 
 + 
 +** cfg.toi ** // [[reference:​ft_freqanalysis]] ​//\\
 vector 1 x numtoi, the times on which the analysis windows should be centered (in seconds) vector 1 x numtoi, the times on which the analysis windows should be centered (in seconds)
  
-** cfg.toilim ** // freqdescriptives,​ freqgrandaverage ​//\\+** cfg.toilim ** // [[reference:​ft_freqgrandaverage]] ​//\\
 [tmin tmax] or '​all',​ to specify a subset of latencies (default = '​all'​) [tmin tmax] or '​all',​ to specify a subset of latencies (default = '​all'​)
  
-** cfg.toilim ** // redefinetrial ​//\\ +** cfg.toilim ** // [[reference:​ft_redefinetrial]] ​//\\ 
-[tmin tmax] to specify a latency window in seconds+[tmin tmax] to specify a latency window in seconds, can be Nx2 vector
  
-** cfg.transform ​** // sourcedescriptives ​//\\ +** cfg.tolerance ​** // [[reference:​ft_appendfreq]] ​//\\ 
-string describing ​the transformation ​(default ​is [])+scalar, tolerance to determine how different ​the frequency and/or time axes are allowed to still be considered compatible ​(default ​= 1e-5)
  
-** cfg.trialdef ** // definetrial ​//\\+** cfg.tolerance ** // [[reference:​ft_appendtimelock]] //\\ 
 +scalar, tolerance to determine how different the time axes are allowed to still be considered compatible (default = 1e-5) 
 + 
 +** cfg.topolabel ** // [[reference:​ft_componentanalysis]] //\\ 
 +Nx1 cell-array with the channel labels 
 + 
 +** cfg.tpm ** // [[reference:​ft_volumesegment]] //\\ 
 +cell-array containing the filenames of the tissue probability maps 
 + 
 +** cfg.transform ** // [[reference:​ft_prepare_headmodel]] //\\ 
 + 
 + 
 +** cfg.translate ** // [[reference:​ft_defacemesh]],​ [[reference:​ft_defacevolume]] //\\ 
 +initial position of the center of the box (default = [0 0 0]) 
 + 
 +** cfg.translate ** // [[reference:​ft_defacemesh]],​ [[reference:​ft_defacevolume]] //\\ 
 +initial rotation of the box (default = [0 0 0]) 
 + 
 +** cfg.trialdef ** // [[reference:​ft_definetrial]] ​//\\
 structure with details of trial definition, see below structure with details of trial definition, see below
  
-** cfg.trialdef.eventtype ** // definetrial ​//\\+** cfg.trialdef.eventtype ** // [[reference:​ft_artifact_tms]],​ [[reference:​ft_definetrial]] ​//\\
 '​string'​ '​string'​
  
-** cfg.trialdef.eventvalue ** // definetrial ​//\\+** cfg.trialdef.eventvalue ** // [[reference:​ft_artifact_tms]],​ [[reference:​ft_definetrial]] ​//\\
 number, string or list with numbers or strings number, string or list with numbers or strings
  
-** cfg.trialdef.poststim ** // definetrial ​//\\+** cfg.trialdef.poststim ** // [[reference:​ft_definetrial]] ​//\\
 number, latency in seconds (optional) number, latency in seconds (optional)
  
-** cfg.trialdef.prestim ** // definetrial ​//\\+** cfg.trialdef.prestim ** // [[reference:​ft_definetrial]] ​//\\
 number, latency in seconds (optional) number, latency in seconds (optional)
  
-** cfg.trialfun ​** // definetrial ​//\\ +** cfg.trialdef.triallength ​** // [[reference:​ft_definetrial]] ​//\\ 
-function name, see below+duration in seconds (can also be 1 or Inf) cfg.trialdef.ntrials = number of trials (can also be 1 or Inf)
  
-** cfg.triallength ** // dipolesimulation ​//\\+** cfg.trialfun ** // [[reference:​ft_artifact_tms]] //\\ 
 +function name, see below (default = '​ft_trialfun_general'​) 
 + 
 +** cfg.trialfun ** // [[reference:​ft_definetrial]] //\\ 
 +string with function name, see below (default = '​ft_trialfun_general'​) 
 + 
 +** cfg.triallength ** // [[reference:​ft_connectivitysimulation]] //\\ 
 +in seconds 
 + 
 +** cfg.triallength ** // [[reference:​ft_dipolesimulation]] ​//\\
 time in seconds time in seconds
  
-** cfg.trials ** // channelrepairfreqanalysis_mtmconvolfreqanalysis_mtmfftfreqanalysis_mtmwelchfreqanalysis_tfrfreqanalysis_wltconvolfreqdescriptivespreprocessingredefinetrialrejectvisualresampledatatimelockanalysistopoplotER ​//\\+** cfg.trials ** // [[reference:​ft_channelnormalise]][[reference:​ft_channelrepair]][[reference:​ft_componentanalysis]][[reference:​ft_denoise_synthetic]][[reference:​ft_detect_movement]][[reference:​ft_freqanalysis]][[reference:​ft_freqdescriptives]][[reference:​ft_megplanar]][[reference:​ft_multiplotER]][[reference:​ft_multiplotTFR]][[reference:​ft_preprocessing]][[reference:​ft_redefinetrial]][[reference:​ft_rejectvisual]],​ [[reference:​ft_resampledata]],​ [[reference:​ft_scalpcurrentdensity]],​ [[reference:​ft_singleplotTFR]],​ [[reference:​ft_timelockanalysis]],​ [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotTFR]] ​//\\
 '​all'​ or a selection given as a 1xN vector (default = '​all'​) '​all'​ or a selection given as a 1xN vector (default = '​all'​)
  
-** cfg.trl ** // preprocessingredefinetrial ​//\\ +** cfg.trials ** // [[reference:​ft_singleplotER]] //\\ 
-Nx3 matrix with the trial definition, see DEFINETRIAL+'​all'​ or a selection given as a 1xn vector (default = '​all'​) 
 + 
 +** cfg.trials ** // [[reference:​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 ** // [[reference:​ft_denoise_pca]] //\\ 
 +list of trials that are used (default = '​all'​) 
 + 
 +** cfg.trl ** // [[reference:​ft_headmovement]][[reference:​ft_preprocessing]],​ [[reference:​ft_redefinetrial]] ​//\\ 
 +Nx3 matrix with the trial definition, see FT_DEFINETRIAL 
 + 
 +** cfg.trl ** // [[reference:​ft_audiovideobrowser]] //\\ 
 +Nx3 matrix, see FT_DEFINETRIAL 
 + 
 +** cfg.trl ** // [[reference:​ft_databrowser]] //\\ 
 +structure that defines the data segments of interest, only applicable for trial-based data 
 + 
 +** cfg.trl ** // [[reference:​ft_artifact_threshold]] //\\ 
 +structure that defines the data segments of interest, see FT_DEFINETRIAL 
 + 
 +** cfg.trl ** // [[reference:​ft_artifact_ecg]],​ [[reference:​ft_artifact_eog]],​ [[reference:​ft_artifact_jump]],​ [[reference:​ft_artifact_muscle]],​ [[reference:​ft_artifact_tms]],​ [[reference:​ft_artifact_zvalue]] //\\ 
 +structure that defines the data segments of interest. See FT_DEFINETRIAL 
 + 
 +** cfg.trllen ** // [[reference:​ft_freqsimulation]] //\\ 
 +length of simulated trials in seconds 
 + 
 +** cfg.trllen ** // [[reference:​ft_timelocksimulation]] //\\ 
 +length of simulated trials in seconds (default = 1) 
 + 
 +** cfg.truncate ** // [[reference:​ft_denoise_pca]] //\\ 
 +optional truncation of the singular value spectrum (default = '​no'​)
  
 ===== U ===== ===== U =====
 +
 +** cfg.unit ** // [[reference:​ft_prepare_headmodel]] //\\
 +
 +
 +** cfg.unmixing ** // [[reference:​ft_componentanalysis]] //\\
 +NxN unmixing matrix
 +
 +** cfg.updatesens ** // [[reference:​ft_combineplanar]],​ [[reference:​ft_componentanalysis]],​ [[reference:​ft_denoise_pca]],​ [[reference:​ft_rejectcomponent]] //\\
 +'​no'​ or '​yes'​ (default = '​yes'​)
 +
 +** cfg.usefftfilt ** // [[reference:​ft_preprocessing]] //\\
 +'​no'​ or '​yes',​ use fftfilt instead of filter (firws, default = '​no'​)
 +
 +** cfg.uvar ** // [[reference:​ft_statistics_analytic]],​ [[reference:​ft_statistics_montecarlo]] //\\
 +number or list with indices, unit variable(s)
  
 ===== V ===== ===== V =====
  
-** cfg.variance ** // freqdescriptives ​//\\ +** cfg.variance ** // [[reference:​ft_freqdescriptives]] ​//\\ 
-'​yes'​ or '​no',​ estimate standard error in the standard way (default = '​no) ​works only for power+'​yes'​ or '​no',​ estimate standard error in the standard way (default = 'no')
  
-** cfg.vartrllength ** // timelockanalysis ​//\\+** cfg.vartrllength ** // [[reference:​ft_timelockanalysis]] ​//\\
 0, 1 or 2 (see below) 0, 1 or 2 (see below)
  
-** cfg.vol ** // dipolefittingdipolesimulationprepare_leadfieldsourceanalysis ​//\\ +** cfg.velocity2D.kernel ​** // [[reference:​ft_detect_movement]] //\\ 
-structure with volume ​conduction model+vector 1 x nsampleskernel to compute velocity (default = [1 1 0 -1 -1].*(data.fsample/​6);​ cfg.velocity2D.demean = '​no'​ or '​yes'​whether to apply centering correction (default = '​yes'​) cfg.velocity2D.mindur = minimum microsaccade durantion in samples (default = 3); cfg.velocity2D.velthres = threshold for velocity outlier detection (default = 6); 
 + 
 +** cfg.verbose ** // [[reference:​ft_neighbourplot]] //\\ 
 +string'​yes'​ or '​no',​ whether the function will print feedback text in the command window 
 + 
 +** cfg.vertexcolor ** // [[reference:​ft_sourceplot]] ​//\\ 
 +[r g b] values or string, for example '​brain',​ '​cortex',​ '​skin',​ '​black',​ '​red',​ '​r',​ or an Nx3 or Nx1 array where N is the number of vertices 
 + 
 +** cfg.verticalpadding ** // [[reference:​ft_databrowser]] //\\ 
 +number or '​auto',​ padding to be added to top and bottom of plot to avoid channels largely dissappearing when viewmode = '​vertical'/'​component'​ (default = '​auto'​). The padding is expressed as a proportion of the total height added to the top and bottom. The setting '​auto'​ determines the padding depending on the number of channels that are being plotted. 
 + 
 +** cfg.videofile ** // [[reference:​ft_audiovideobrowser]] //\\ 
 +string with the filename 
 + 
 +** cfg.videohdr ** // [[reference:​ft_audiovideobrowser]] //\\ 
 +header ​structure ​of the video data, see FT_READ_HEADER 
 + 
 +** cfg.viewmode ** // [[reference:​ft_volumerealign]] //\\ 
 +'​ortho'​ or '​surface',​ visualize the anatomical MRI as three slices or visualize the extracted head surface (default = '​ortho'​) 
 + 
 +** cfg.viewmode ** // [[reference:​ft_databrowser]] //\\ 
 +string, '​butterfly',​ '​vertical',​ '​component'​ for visualizing ICA/PCA components (default is '​butterfly'​) 
 + 
 +** cfg.viewpoint ** // [[reference:​ft_prepare_layout]] //\\ 
 +string indicating the view point that is used for orthographic projection of 3-D sensor positions to the 2-D plane. The possible viewpoints are '​left'​ - left sagittal view, L=anterior, R=posterior,​ top=top, bottom=bottom '​right'​ - right sagittal view, L=posterior,​ R=anterior, top=top, bottom=bottom '​inferior'​ - inferior axial view, L=R, R=L, top=anterior,​ bottom=posterior '​superior'​ - superior axial view, L=L, R=R, top=anterior,​ bottom=posterior '​anterior'​ - anterior coronal view, L=R, R=L, top=top, bottom=bottom '​posterior'​ - posterior coronal view, L=L, R=R, top=top, bottom=bottom '​auto'​ - automatic guess of the most optimal of the above tip: use cfg.viewpoint = '​auto'​ per iEEG electrode grid/​strip/​depth for more accurate results tip: to obtain an overview of all iEEG electrodes, choose superior/​inferior,​ use cfg.headshape/​mri,​ and plot using FT_LAYOUTPLOT ​with cfg.box/​mask = '​no'​ 
 + 
 +** cfg.viewresult ** // [[reference:​ft_volumerealign]] //\\ 
 +string, '​yes'​ or '​no',​ whether or not to visualize aligned ​volume(s) after realignment (default = '​no'​) 
 + 
 +** cfg.visible ** // [[reference:​ft_clusterplot]] //\\ 
 +string, '​on'​ or '​off'​ whether figure will be visible (default = '​on'​) 
 + 
 +** cfg.visible ** // [[reference:​ft_neighbourplot]],​ [[reference:​ft_sourceplot]] //\\ 
 +string, '​on'​ or '​off',​ whether figure will be visible (default = '​on'​) 
 + 
 +** cfg.visible ** // [[reference:​ft_layoutplot]] //\\ 
 +string, '​yes'​ or '​no'​ whether figure will be visible (default = '​yes'​) 
 + 
 +** cfg.visualize ** // [[reference:​ft_qualitycheck]] //\\ 
 +string, '​yes'​ or '​no'​ to visualize the analysis (default = '​yes'​) 
 + 
 +** cfg.vmpversion ** // [[reference:​ft_volumewrite]] //\\ 
 +1 or 2 (default) version of the vmp-format to use
  
 ===== W ===== ===== W =====
  
-** cfg.waveletwidth ​** // freqanalysis_tfr ​//\\ +** cfg.warp ** // [[reference:​ft_electroderealign]] ​//\\ 
-'width' ​of wavelets expressed in cycles (default = 7)+'dykstra2012',​ or '​hermes2010'
  
-** cfg.width ** // freqanalysis_wltconvol ​//\\ +** cfg.warp ** // [[reference:​ft_electroderealign]] //\\ 
-'​width'​ of the wavelet, ​determines ​the temporal and spectral resolution ​of the analysis ​(default = 7constant, for 'classical constant-Q' ​wavelet analysis vectordefining a variable width for each frequency+'​fsaverage'​ 
 + 
 +** cfg.warp ** // [[reference:​ft_electroderealign]] //\\ 
 +string describing the spatial transformation for the template and headshape methods '​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 '​dykstra2012'​ non-linear wrap only for headshape method, useful for projecting ECoG onto cortex hull '​fsaverage'​ surface-based realignment with the freesurfer fsaverage brain 
 + 
 +** cfg.whitebg ** // [[reference:​ft_sliceinterp]] //\\ 
 +'​yes'​ or '​no'​ (default = '​yes'​) 
 + 
 +** cfg.width ** // [[reference:​ft_freqanalysis]],​ [[reference:​ft_freqanalysis]] ​//\\ 
 +'​width'​, or number of cycles, ​of the wavelet ​(default = 7) 
 + 
 +** cfg.widthparam ** // [[reference:​ft_topoplotCC]] //\\ 
 +stringparameter to be used to control ​the line width (see below) 
 + 
 +** cfg.write ** // [[reference:​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.write ** // [[reference:​ft_volumesegment]] //\\ 
 +'​no'​ or '​yes' ​(default = '​no'​), writes the probabilistic tissue maps to SPM compatible analyze (spm2), or nifti (spm8/​spm12) files, with the suffix (spm2) _seg1, for the gray matter segmentation _seg2, for the white matter segmentation _seg3, for the csf segmentation or with the prefix (spm8, and spm12 with spmmethod='old') c1, for the gray matter segmentation c2, for the white matter segmentation c3, for the csf segmentation when using spm12 with spmmethod='​new'​ there'​ll be 3 additional tissue types c4, for the bone segmentation c5, for the soft tissue segmentation c6, for the air segmentation when using spm12 with spmmethod='​mars'​ the tpms will be postprocessed with the mars toolbox, yielding smoother% segmentations in general. 
 + 
 +** cfg.wvar ** // [[reference:​ft_statistics_analytic]] //\\ 
 +number or list with indices, within-block variable(s) 
 + 
 +** cfg.wvar ** // [[reference:​ft_statistics_montecarlo]] //\\ 
 +number or list with indices, within-cell variable(s)
  
 ===== X ===== ===== X =====
  
-** cfg.xlim ** // topoplotER ​//\\+** cfg.xlim ** // [[reference:​ft_movieplotER]],​ [[reference:​ft_multiplotER]],​ [[reference:​ft_multiplotTFR]],​ [[reference:​ft_singleplotER]],​ [[reference:​ft_singleplotTFR]] ​//\\
 '​maxmin'​ or [xmin xmax] (default = '​maxmin'​) '​maxmin'​ or [xmin xmax] (default = '​maxmin'​)
  
-** cfg.xparam ​** // topoplotER ​//\\ +** cfg.xlim ** // [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotTFR]] ​//\\ 
-first dimension in data in which a selection is made 'time' or '​freq'​ (default ​depends on data.dimord)+limit for 1st dimension in data (e.g., ​time), can be '​maxmin' or [xmin xmax] (default = 'maxmin'​) 
 + 
 +** cfg.xlim ** // [[reference:​ft_connectivityplot]] //\\ 
 +selection boundaries over first dimension in data (e.g., ​freq'maxmin'​ or [xmin xmax] (default ​= '​maxmin'​) 
 + 
 +** cfg.xlim ** // [[reference:​ft_movieplotTFR]] //\\ 
 +selection boundaries over first dimension in data (e.g., time'​maxmin'​ or [xmin xmax] (default = '​maxmin'​) 
 + 
 +** cfg.xrange ** // [[reference:​ft_volumereslice]] //\\ 
 +[min max], in physical units
  
 ===== Y ===== ===== Y =====
 +
 +** cfg.ylim ** // [[reference:​ft_multiplotTFR]],​ [[reference:​ft_singleplotTFR]] //\\
 +'​maxmin'​ or [ymin ymax] (default = '​maxmin'​)
 +
 +** cfg.ylim ** // [[reference:​ft_multiplotER]],​ [[reference:​ft_singleplotER]] //\\
 +'​maxmin',​ '​maxabs',​ '​zeromax',​ '​minzero',​ or [ymin ymax] (default = '​maxmin'​)
 +
 +** cfg.ylim ** // [[reference:​ft_topoplotTFR]] //\\
 +limit for 2nd dimension in data (e.g., freq), can be '​maxmin'​ or [ymin ymax] (default = '​maxmin'​)
 +
 +** cfg.ylim ** // [[reference:​ft_movieplotTFR]] //\\
 +selection boundaries over second dimension in data (e.g., freq) '​maxmin'​ or [xmin xmax] (default = '​maxmin'​)
 +
 +** cfg.ylim ** // [[reference:​ft_connectivityplot]] //\\
 +selection boundaries over second dimension in data (i.e. ,time, if present), '​maxmin',​ or [ymin ymax] (default = '​maxmin'​)
 +
 +** cfg.ylim ** // [[reference:​ft_databrowser]] //\\
 +vertical scaling, can be '​maxmin',​ '​maxabs'​ or [ymin ymax] (default = '​maxabs'​)
 +
 +** cfg.yrange ** // [[reference:​ft_volumereslice]] //\\
 +[min max], in physical units
  
 ===== Z ===== ===== Z =====
  
-** cfg.zlim ** // topoplotER ​//\\ +** cfg.zlim ** // [[reference:​ft_databrowser]] ​//\\ 
-'​maxmin',​ 'absmax' or [zmin zmax] (default = '​maxmin'​)+color scaling to apply to component topographies,​ '​minmax',​ '​maxabs'​ (default = '​maxmin'​
 + 
 +** cfg.zlim ** // [[reference:​ft_topoplotER]],​ [[reference:​ft_topoplotTFR]] //\\ 
 +limits for color dimension, 'maxmin', '​maxabs',​ '​zeromax',​ '​minzero', ​or [zmin zmax] (default = '​maxmin'​) 
 + 
 +** cfg.zlim ** // [[reference:​ft_connectivityplot]] //\\ 
 +plotting limits for color dimension, '​maxmin',​ '​maxabs'​ or [zmin zmax] (default = '​maxmin'​) 
 + 
 +** cfg.zlim ** // [[reference:​ft_movieplotER]],​ [[reference:​ft_movieplotTFR]],​ [[reference:​ft_multiplotTFR]],​ [[reference:​ft_singleplotTFR]],​ [[reference:​ft_topoplotIC]] //\\ 
 +plotting limits for color dimension, '​maxmin',​ '​maxabs',​ '​zeromax',​ '​minzero',​ or [zmin zmax] (default = '​maxmin'​) 
 + 
 +** cfg.zrange ** // [[reference:​ft_volumereslice]] //\\ 
 +[min max], in physical units 
 + 
 +** cfg.zscore ** // [[reference:​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.zparam ​** // topoplotER ​//\\ +** cfg.zscore ​** // [[reference:​ft_denoise_pca]] ​//\\ 
-field that contains the data to be plotted as color 'avg', '​powspctrm'​ or '​cohspctrm'​ (default depends on data.dimord)+standardise reference ​data prior to PCA (default = 'no')