mne.read_forward_solution#
- mne.read_forward_solution(fname, include=(), exclude=(), verbose=None)[source]#
Read a forward solution a.k.a. lead field.
- Parameters
- fname
str The file name, which should end with -fwd.fif or -fwd.fif.gz.
- include
list, optional List of names of channels to include. If empty all channels are included.
- exclude
list, optional List of names of channels to exclude. If empty include all channels.
- verbosebool |
str|int|None Control verbosity of the logging output. If
None, use the default verbosity level. See the logging documentation andmne.verbose()for details. Should only be passed as a keyword argument.
- fname
- Returns
- fwdinstance of
Forward The forward solution.
- fwdinstance of
See also
Notes
Forward solutions, which are derived from an original forward solution with free orientation, are always stored on disk as forward solution with free orientation in X/Y/Z RAS coordinates. To apply any transformation to the forward operator (surface orientation, fixed orientation) please apply
convert_forward_solution()after reading the forward solution withread_forward_solution().Forward solutions, which are derived from an original forward solution with fixed orientation, are stored on disk as forward solution with fixed surface-based orientations. Please note that the transformation to surface-based, fixed orientation cannot be reverted after loading the forward solution with
read_forward_solution().
Examples using mne.read_forward_solution#
Working with CTF data: the Brainstorm auditory dataset
Source localization with MNE, dSPM, sLORETA, and eLORETA
The role of dipole orientations in distributed source localization
Cortical Signal Suppression (CSS) for removal of cortical signals
Compute evoked ERS source power using DICS, LCMV beamformer, and dSPM
Compute a sparse inverse solution using the Gamma-MAP empirical Bayesian method
Compute sparse inverse solution with mixed norm: MxNE and irMxNE
Compute source power estimate by projecting the covariance with MNE
Compute iterative reweighted TF-MxNE with multiscale time-frequency dictionary
Visualize source leakage among labels using a circular graph
Plot point-spread functions (PSFs) and cross-talk functions (CTFs)
Compute spatial resolution metrics in source space
Compute spatial resolution metrics to compare MEG with EEG+MEG