write_forward_solution(fname, fwd, overwrite=False, verbose=None)¶
Write forward solution to a file.
File name to save the forward solution to. It should end with -fwd.fif or -fwd.fif.gz.
If True, overwrite destination file (if it exists).
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. Transformations (surface orientation, fixed orientation) will be reverted. To reapply any transformation to the forward operator please apply
convert_forward_solution()after reading the forward solution with
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