Note that this reference documentation is identical to the help that is displayed in Matlab when you type “help ft_timelockgrandaverage”.
FT_TIMELOCKGRANDAVERAGE computes ERF/ERP average and variance over multiple subjects Use as [grandavg] = ft_timelockgrandaverage(cfg, avg1, avg2, avg3, ...) where avg1..N are the ERF/ERP averages as obtained from FT_TIMELOCKANALYSIS and cfg is a configuration structure with cfg.channel = Nx1 cell-array with selection of channels (default = 'all'), see FT_CHANNELSELECTION for details cfg.latency = [begin end] in seconds or 'all' (default = 'all') cfg.keepindividual = 'yes' or 'no' (default = 'no') cfg.normalizevar = 'N' or 'N-1' (default = 'N-1') 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. For this particular function, the input should be structured as a cell array. See also FT_TIMELOCKANALYSIS, FT_TIMELOCKSTATISTICS
Share this page: