mne.io.write_fiducials#

mne.io.write_fiducials(fname, pts, coord_frame='unknown', *, overwrite=False, verbose=None)[source]#

Write fiducials to a fiff file.

Parameters:
fnamepath-like

Destination file name.

ptsiterator of dict

Iterator through digitizer points. Each point is a dictionary with the keys ‘kind’, ‘ident’ and ‘r’.

coord_framestr | int

The coordinate frame of the points. If a string, must be one of 'meg', 'mri', 'mri_voxel', 'head', 'mri_tal', 'ras', 'fs_tal', 'ctf_head', 'ctf_meg', and 'unknown' If an integer, must be one of the constants defined as mne.io.constants.FIFF.FIFFV_COORD_....

overwritebool

If True (default False), overwrite the destination file if it exists.

New in v1.0.

verbosebool | str | int | None

Control verbosity of the logging output. If None, use the default verbosity level. See the logging documentation and mne.verbose() for details. Should only be passed as a keyword argument.