code: def duration(self):
          
          durs = []
          for track in self._segments:
              durs.append(sum([comp.duration() for comp in track]))
              
          return max(durs)
docs: The duration of this stimulus
  
          :returns: float -- duration in seconds