Note that this reference documentation is identical to the help that is displayed in Matlab when you type “help ft_rejectconfound”.
FT_REJECTCONFOUND estimates the regression weight of a set of confounds (GLM) and removes the estimated contribution from the single-trial data Use as timelock = ft_rejectconfound(cfg, timelock) or freq = ft_rejectconfound(cfg, freq) where datain comes from FT_TIMELOCKANALYSIS or FT_FREQANALYSIS with keeptrials = 'yes' and cfg is a configuratioun structure that should contain cfg.confound = matrix, [Ntrials X Nconfounds] The following configuration options are supported: cfg.reject = vector, [1 X Nconfounds], listing the confounds that are to be rejected (default = 'all') cfg.normalize = string, 'yes' or 'no', normalization to make the confounds orthogonal (default = 'yes') cfg.statistics = string, 'yes' or 'no', whether to add the statistics to the output (default = 'no') cfg.model = string, 'yes' or 'no', whether to add the model to the output (default = 'no') To facilitate data-handling and distributed computing with the peer-to-peer module, this function has the following options: cfg.inputfile = ... cfg.outputfile = ... If you specify one of these (or both) the input data will be read from a *.mat file on disk and/or the output data will be written to a *.mat file. These mat files should contain only a single variable, corresponding with the input/output structure. See also FT_REJECTCOMPONENT, FT_REJECTARTIFACT
Share this page: