seek_localize.read_fieldtrip_elecs

seek_localize.read_fieldtrip_elecs(elec_fname: Union[str, pathlib.Path], verbose: bool = True) → Dict[source]

Read fieldtrip localization output matlab structure.

The FieldTrip output will contain the channel names, and an array of the 3D coordinates in mm space.

Parameters
elec_fnamestr | pathlib.Path

The file path to the .mat file.

verbosebool

Verbosity.

Returns
eleccoords_mmdict

The electrode coordinates in mm with channel name (key) and the 3D coordinates (value).