mne.match_channel_orders#

mne.match_channel_orders(insts=None, copy=True, *, raws=None)[source]#

Ensure consistent channel order across instances (Raw, Epochs, or Evoked).

Parameters:
instslist

List of Raw, Epochs, or Evoked instances to order.

copybool

If True, data will be copied. Otherwise data may be modified in place. Defaults to True.

rawslist

This parameter is deprecated and will be removed in mne version 1.9. Please use insts instead.

Returns:
list of Raw | list of Epochs | list of Evoked

List of instances (Raw, Epochs, or Evoked) with channel orders matched according to the order they had in the first item in the insts list.