mne.convert_forward_solution

mne.convert_forward_solution(fwd, surf_ori=False, force_fixed=False, copy=True, use_cps=True, verbose=None)[source]

Convert forward solution between different source orientations.

Parameters
fwdForward

The forward solution to modify.

surf_oribool, optional (default False)

Use surface-based source coordinate system? Note that force_fixed=True implies surf_ori=True.

force_fixedbool, optional (default False)

If True, force fixed source orientation mode.

copybool

Whether to return a new instance or modify in place.

use_cpsbool

Whether to use cortical patch statistics to define normal orientations for surfaces (default True).

verbosebool, str, int, or None

If not None, override default verbose level (see mne.verbose() and Logging documentation for more).

Returns
fwdForward

The modified forward solution.