code: def half_duration(self):
          
          if self._interval is not None:
              a, b = self._interval
              return (b - a) * .5
          else:
              return self.interval_duration * .5
docs: Half of the duration of the current interval.