mne.minimum_norm.prepare_inverse_operator#
- mne.minimum_norm.prepare_inverse_operator(orig, nave, lambda2, method='dSPM', method_params=None, copy=True, verbose=None)[source]#
Prepare an inverse operator for actually computing the inverse.
- Parameters:
- orig
dict
The inverse operator structure read from a file.
- nave
int
Number of averages (scales the noise covariance).
- lambda2
float
The regularization factor. Recommended to be 1 / SNR**2.
- method“MNE” | “dSPM” | “sLORETA” | “eLORETA”
Use minimum norm, dSPM (default), sLORETA, or eLORETA.
- method_params
dict
|None
Additional options for eLORETA. See Notes of
apply_inverse()
.New in v0.16.
- copybool |
str
If True (default), copy the inverse. False will not copy. Can be “non-src” to avoid copying the source space, which typically is not modified and can be large in memory.
New in v0.21.
- verbosebool |
str
|int
|None
Control verbosity of the logging output. If
None
, use the default verbosity level. See the logging documentation andmne.verbose()
for details. Should only be passed as a keyword argument.
- orig
- Returns:
- invinstance of
InverseOperator
Prepared inverse operator.
- invinstance of