mne_bids.write_meg_calibration¶
-
mne_bids.
write_meg_calibration
(calibration, bids_path, verbose=None)[source]¶ Write the Elekta/Neuromag/MEGIN fine-calibration matrix to disk.
- Parameters
- calibrationpath-like | dict
Either the path of the
.dat
file containing the file-calibration matrix, or the dictionary returned bymne.preprocessing.read_fine_calibration()
.- bids_pathBIDSPath
A
mne_bids.BIDSPath
instance with at leastroot
andsubject
set, and thatdatatype
is either'meg'
orNone
.- verbosebool | None
If a boolean, whether or not to produce verbose output. If
None
, use the default log level.
Examples
>>> calibration = mne.preprocessing.read_fine_calibration('sss_cal.dat') >>> bids_path = BIDSPath(subject='01', session='test', root='/data') >>> write_meg_calibration(calibration, bids_path)