Adds a stimulus to the list of stims to use for testing calibration

        :param stim: stimulus to add to drop-down list
        :type stim: :class:`AbstractStimulusComponent<sparkle.stim.abstract_component.AbstractStimulusComponent>`

def addOption(self, stim):
        """Adds a stimulus to the list of stims to use for testing calibration

        :param stim: stimulus to add to drop-down list
        :type stim: :class:`AbstractStimulusComponent<sparkle.stim.abstract_component.AbstractStimulusComponent>`
        """
        # set the editor widgets for noise and sweep
        self.ui.calTypeCmbbx.insertItem(0,stim.name)
        editor = stim.showEditor()
        # should probably make this less coupled
        durInput = editor.durationInputWidget()
        self.durationWidgets.append(durInput)
        durInput.setEnabled(False)
        self.ui.caleditorStack.insertWidget(0, editor)
        self.ui.calTypeCmbbx.setCurrentIndex(0)