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