mne_bids.write_meg_crosstalk¶
- mne_bids.write_meg_crosstalk(fname, bids_path, verbose=None)[source]¶
Write the Elekta/Neuromag/MEGIN crosstalk information to disk.
- Parameters
- fnamepath-like
The path of the
FIFF
file containing the crosstalk information.- bids_path
BIDSPath
A
mne_bids.BIDSPath
instance with at leastroot
andsubject
set, and thatdatatype
is either'meg'
orNone
.- verbose
bool
|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.
Examples
>>> data_path = mne.datasets.testing.data_path(download=False) >>> crosstalk_fname = op.join(data_path, 'SSS', 'ct_sparse.fif') >>> bids_path = BIDSPath(subject='01', session='test', ... root=op.join(data_path, 'mne_bids')) >>> write_meg_crosstalk(crosstalk_fname, bids_path) Writing crosstalk file to ...sub-01_ses-test_acq-crosstalk_meg.fif