def setTRange(self, start, end):
    if (end < start):
        raise ValueError('tmax must be greater than t0')
    self._t0 = start
    self._tmax = end
    self._t = range(start, (end + 1))
def setTRange(self, start, end):
    if (end < start):
        raise ValueError('tmax must be greater than t0')
    self._t0 = start
    self._tmax = end
    self._t = range(start, (end + 1))