The duration of this stimulus

        :returns: float -- duration in seconds

def duration(self):
        """The duration of this stimulus

        :returns: float -- duration in seconds
        """
        durs = []
        for track in self._segments:
            durs.append(sum([comp.duration() for comp in track]))
            
        return max(durs)