'Append a (raw) epoch to queue.
Note: Do not print log messages during regular use. It will be printed
asynchronously which is annyoing when working in an interactive shell.
Parameters
epoch : array of float, shape=(nchan, n_times)
The raw epoch (only calibration has been applied) over all
channels.
event_samp : int
The time in samples when the epoch occurred.
event_id : int
The event ID of the epoch.'

def _append_epoch_to_queue(self, epoch, event_samp, event_id):

    epoch = epoch[self.picks, :]
    epoch = self._detrend_offset_decim(epoch, verbose='ERROR')
    epoch = self._project_epoch(epoch)
    (is_good, _) = self._is_good_epoch(epoch, verbose='ERROR')
    if is_good:
        self._epoch_queue.append(epoch)
        self._events.append((event_samp, 0, event_id))
        self._n_good += 1
    else:
        self._n_bad += 1
