eelbrain.load.fiff.forward_operator

eelbrain.load.fiff.forward_operator(fwd, src, subjects_dir=None, parc='aparc', sysname=None, connectivity=None, name=None)

Load forward operator as NDVar

Parameters
  • fwd (str | mne Forward) – MNE Forward solution, or path to forward solution.

  • src (str) – Tag describing the source space (e.g., “ico-4”).

  • subjects_dir (str) – Location of the MRI subjects directory.

  • parc (str) – Parcellation to load (corresponding to existing annot files; default ‘aparc’).

  • name (str) – Name the NDVar (default is the filename if a path is provided, otherwise “fwd”).

Returns

fwd – NDVar containing the gain matrix.

Return type

NDVar (sensor, source)