diff --git a/elephant/statistics.py b/elephant/statistics.py index 868b4b06d..c60c393b2 100644 --- a/elephant/statistics.py +++ b/elephant/statistics.py @@ -1548,13 +1548,8 @@ def _epoch_no_spread(self): if self.sampling_rate: # ensure that spikes are not on the bin edges bin_shift = .5 / self.sampling_rate - left_edges -= bin_shift + left_edges += bin_shift - # Ensure that an epoch does not start before the minimum t_start. - # Note: all spike trains share the same t_start and t_stop. - if left_edges[0] < self.t_start: - left_edges[0] = self.t_start - durations[0] -= bin_shift else: warnings.warn('No sampling rate specified. ' 'Note that using the complexity epoch to get '