mne.channels.read_polhemus_fastscan¶
-
mne.channels.read_polhemus_fastscan(fname, unit='mm', on_header_missing='raise', *, verbose=None)[source]¶ Read Polhemus FastSCAN digitizer data from a
.txtfile.- Parameters
- fname
str The filepath of .txt Polhemus FastSCAN file.
- unit‘m’ | ‘cm’ | ‘mm’
Unit of the digitizer file. Polhemus FastSCAN systems data is usually exported in millimeters. Defaults to ‘mm’.
- on_header_missing
str Can be
'raise'(default) to raise an error,'warn'to emit a warning, or'ignore'to ignore when the FastSCAN header is missing.New in version 0.22.
- verbosebool,
str,int, orNone If not None, override default verbose level (see
mne.verbose()and Logging documentation for more). If used, it should be passed as a keyword-argument only.
- fname
- Returns
- points
array, shape (n_points, 3) The digitization points in digitizer coordinates.
- points