eeg_checkchanlocs#

eeg_checkchanlocs(chans, chaninfo=None)#

Normalize channel locations and their shared metadata.

EEG dictionaries are copied and returned with normalized chanlocs and chaninfo. Passing a channel-location container directly returns (chanlocs, chaninfo, all_locations); the third value retains non-data fiducial and ignored locations. Missing numeric fields use None and missing text fields use an empty string.

Parameters:
  • chans (Any) – An EEG dictionary or a channel-location container.

  • chaninfo (dict[str, Any] | None) – Shared location metadata for the lower-level container form.

Returns:

A normalized EEG dictionary, or the three-value lower-level result.

Return type:

Any