def setDoc(self, doc):
        """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>`
        """
        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'])
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>`