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:
fnamepath-like

The path 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 | 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.

Returns:
pointsarray, shape (n_points, 3)

The digitization points in digitizer coordinates.