def _finish_concat(info, data, events, event_id, tmin, tmax, baseline, selection, drop_log, verbose):
 events[:, 0] = np.arange(len(events))
 selection = np.where([(len(d) == 0) for d in drop_log])[0]
 out = BaseEpochs(info, data, events, event_id, tmin, tmax, baseline=baseline, selection=selection, drop_log=drop_log, proj=False, on_missing='ignore', verbose=verbose)
 out.drop_bad()
 return out

def _finish_concat ( info , data , events , event_id , tmin , tmax , baseline , selection , drop_log , verbose ) : events [ : , 0 ] = np . arange ( len ( events ) ) selection = np . where ( [ ( len ( d ) == 0 ) for d in drop_log ] ) [ 0 ] out = BaseEpochs ( info , data , events , event_id , tmin , tmax , baseline = baseline , selection = selection , drop_log = drop_log , proj = False , on_missing = 'ignore' , verbose = verbose ) out . drop_bad ( ) return out
helper to finish concatenation for epochs not read from disk .