code: def setStimDuration(self):
          
          duration = self.ui.durSpnbx.value()
          self.tone.setDuration(duration)
docs: Sets the duration of the StimulusModel from values pulled from
          this widget