mne.write_forward_solution

mne.write_forward_solution(fname, fwd, overwrite=False, verbose=None)[source]

Write forward solution to a file.

Parameters:

fname : str

File name to save the forward solution to. It should end with -fwd.fif or -fwd.fif.gz.

fwd : Forward

Forward solution.

overwrite : bool

If True, overwrite destination file (if it exists).

verbose : bool, str, int, or None

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