This documentation is for development version 0.18.dev0.

mne.average_forward_solutions

mne.average_forward_solutions(fwds, weights=None)[source]

Average forward solutions.

Parameters:
fwds : list of Forward

Forward solutions to average. Each entry (dict) should be a forward solution.

weights : array | None

Weights to apply to each forward solution in averaging. If None, forward solutions will be equally weighted. Weights must be non-negative, and will be adjusted to sum to one.

Returns:
fwd : Forward

The averaged forward solution.