code: def setDoc(self, doc):
          
          self.ui.overAtten.setNum(doc['overloaded_attenuation'])
          # also set composite stim type
          # self.ui.traceType.setText(doc['testtype'])
  
          self.ui.componentDetails.clearDoc()
          self.ui.componentDetails.setDoc(doc['components'])
docs: Presents the documentation
  
          :param doc: documentation for StimulusModel. i.e. returned from 
          :meth:`componentDoc<sparkle.stim.stimulus_model.StimulusModel.componentDoc>`
          or :meth:`templateDoc<sparkle.stim.stimulus_model.StimulusModel.templateDoc>`