mne.use_coil_def#
- mne.use_coil_def(fname)[source]#
Use a custom coil definition file.
- Parameters:
- fname
str
The filename of the coil definition file.
- fname
- Returns:
- context
contextlib.contextmanager()
The context for using the coil definition.
- context
Notes
This is meant to be used a context manager such as:
>>> with use_coil_def(my_fname): ... make_forward_solution(...)
This allows using custom coil definitions with functions that require forward modeling.
Examples using mne.use_coil_def
#

Compute source power spectral density (PSD) of VectorView and OPM data
Compute source power spectral density (PSD) of VectorView and OPM data