convertlocs#

convertlocs(chans, command='auto', *args, verbose='off', **kwargs)#

Return channel locations with requested coordinate fields filled in.

Parameters:
  • chans (Any) – EEG dictionary, channel-location dictionary, or channel-location sequence.

  • command (str) – EEGLAB conversion command such as "cart2all", "sph2topo", "topo2cart", or "auto".

  • *args (Any) – Optional EEGLAB-style key/value arguments. Only verbose is accepted for parity with EEGLAB.

  • verbose (str) – "on" or "off". Present for API parity.

  • **kwargs (Any) – Optional keyword arguments. Only verbose is accepted.

Returns:

A deep-copied object in the same broad shape as chans.

Return type:

Any