code: def setCurveModel(self, model):
          
          self.stimModel = model
          self.ui.curveWidget.setModel(model)
docs: Sets the stimulus model for the calibration curve test
  
          :param model: Stimulus model that has a tone curve configured
          :type model: :class:`StimulusModel <sparkle.stim.stimulus_model.StimulusModel>`