config

Overview

Members

config.read_config(file: str)

Reads all electrode data from a MaxWell configuration file

Parameters:

file (str) – full path of the file

Returns:

a list containing data for each electrode (channel, electrode, x, y)

Return type:

List[List[str]]

config.read_config_elecs(config_path: str)

Gets electrode numbers from a MaxWell electrode configuration file.

Parameters:

file (str) – full path of config

Returns:

list of electrodes

Return type:

List[int]

config.read_config_electrode_to_channel(file: str)

Reads channel-electrode number mappings from a config file

Parameters:

file (str) – full path of the file

Returns:

a dictionary of strings, where the keys are channel numbers and the values are electrode numbers

Return type:

Dict[str]