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 | None

Control verbosity of the logging output. If None, use the default verbosity level. See the logging documentation and mne.verbose() for details. Should only be passed as a keyword argument.

Returns
fwdForward

The modified forward solution.

Examples using mne.convert_forward_solution