code: def setModel(self, model):
          "Sets the StimulusModel for this editor"
          self._model = model
          self.ui.aofsSpnbx.setValue(model.samplerate()f setModel(self, model):
          "Sets the StimulusModel for this editor"
          self._model = model
          self.ui.aofsSpnbx.setValue(model.samplerate())
docs: Sets the StimulusModel for this editor