mne.average_forward_solutionsΒΆ

mne.average_forward_solutions(fwds, weights=None)ΒΆ

Average forward solutions

Parameters:

fwds : list of dict

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 : dict

The averaged forward solution.