def _check_merge_epochs(epochs_list):
 if (len(set((tuple(epochs.event_id.items()) for epochs in epochs_list))) != 1):
  raise NotImplementedError('Epochs with unequal values for event_id')
 if (len(set((epochs.tmin for epochs in epochs_list))) != 1):
  raise NotImplementedError('Epochs with unequal values for tmin')
 if (len(set((epochs.tmax for epochs in epochs_list))) != 1):
  raise NotImplementedError('Epochs with unequal values for tmax')
 if (len(set((epochs.baseline for epochs in epochs_list))) != 1):
  raise NotImplementedError('Epochs with unequal values for baseline')

def _check_merge_epochs ( epochs_list ) : if ( len ( set ( ( tuple ( epochs . event_id . items ( ) ) for epochs in epochs_list ) ) ) != 1 ) : raise NotImplementedError ( 'Epochs with unequal values for event_id' ) if ( len ( set ( ( epochs . tmin for epochs in epochs_list ) ) ) != 1 ) : raise NotImplementedError ( 'Epochs with unequal values for tmin' ) if ( len ( set ( ( epochs . tmax for epochs in epochs_list ) ) ) != 1 ) : raise NotImplementedError ( 'Epochs with unequal values for tmax' ) if ( len ( set ( ( epochs . baseline for epochs in epochs_list ) ) ) != 1 ) : raise NotImplementedError ( 'Epochs with unequal values for baseline' )
aux function .