mne.
grand_average
(all_inst, interpolate_bads=True, drop_bads=True)[source]¶Make grand average of a list evoked or AverageTFR data.
For evoked data, the function interpolates bad channels based on interpolate_bads parameter. If interpolate_bads is True, the grand average file will contain good channels and the bad channels interpolated from the good MEG/EEG channels. For AverageTFR data, the function takes the subset of channels not marked as bad in any of the instances.
The grand_average.nave attribute will be equal to the number of evoked datasets used to calculate the grand average.
Note: Grand average evoked should not be used for source localization.
Parameters: | all_inst : list of Evoked or AverageTFR data
interpolate_bads : bool
drop_bads : bool
|
---|---|
Returns: | grand_average : Evoked | AverageTFR
|
Notes
New in version 0.11.0.
mne.grand_average
¶