Equivalent Current Dipole¶
Solver ID: ECD
Usage¶
from invert import Solver
# fwd = ... (mne.Forward object)
# evoked = ... (mne.Evoked object)
solver = Solver("ECD")
solver.make_inverse_operator(fwd)
stc = solver.apply_inverse_operator(evoked)
stc.plot()
Overview¶
Grid-search ECD fitting on the forward-model source grid. Selects the single best-fitting dipole and estimates its moment time course.
References¶
- Mosher, J. C., Lewis, P. S., & Leahy, R. M. (1992). Multiple dipole modeling and localization from spatiotemporal MEG data. IEEE Transactions on Biomedical Engineering, 39(6), 541–557.
API Reference¶
Bases: BaseSolver
Equivalent Current Dipole (ECD) fitting on a discretized source grid.
This solver performs a grid-search over the fixed-orientation source space provided by the forward model and selects the location with the highest goodness-of-fit (least-squares projection of the data).
Notes
- The forward model is converted to fixed orientation by BaseSolver.
- The returned estimate is sparse (one non-zero vertex).
Source code in invert/solvers/dipoles/ecd.py
__init__ ¶
make_inverse_operator ¶
make_inverse_operator(
forward,
mne_obj,
*args: Any,
alpha: str | float = "auto",
tmin: float | None = None,
tmax: float | None = None,
**kwargs: Any,
)