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 .txt file.

Parameters
fnamestr

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_missingstr

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, or None

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.

Returns
pointsarray, shape (n_points, 3)

The digitization points in digitizer coordinates.