eelbrain.load.fiff.inverse_operator

eelbrain.load.fiff.inverse_operator(inv, src, subjects_dir=None, parc='aparc', name=None)

Load inverse operator as NDVar

Parameters:
inv : str | mne.minimum_norm.InverseOperator

MNE inverse operator, or path to inverse operator.

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 “inv”).

Returns:
inv : NDVar (source, sensor)

NDVar containing the inverse operator.