def _generateCells(self, events):
    self.tstart = (((3 * events[0]) - events[1]) / 2.0)
    bounds = ((events[1:] + events[:(- 1)]) / 2.0).tolist()
    bounds.insert(0, self.tstart)
    bounds.append((((3 * events[(- 1)]) - events[(- 2)]) / 2.0))
    bounds = num.array(bounds)
    return (bounds[1:] - bounds[:(- 1)])
def _generateCells(self, events):
    self.tstart = (((3 * events[0]) - events[1]) / 2.0)
    bounds = ((events[1:] + events[:(- 1)]) / 2.0).tolist()
    bounds.insert(0, self.tstart)
    bounds.append((((3 * events[(- 1)]) - events[(- 2)]) / 2.0))
    bounds = num.array(bounds)
    return (bounds[1:] - bounds[:(- 1)])