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)

Force fixed source orientation mode?

copybool

Whether to return a new instance or modify in place.

use_cpsbool (default True)

Whether to use cortical patch statistics to define normal orientations. Only used when surf_ori and/or force_fixed are 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.