Reloads calibration settings from saved template doc

        :param template: Values for calibration stimuli (see calibration_template function)
        :type template: dict

def load_calibration_template(self, template):
        """Reloads calibration settings from saved template doc

        :param template: Values for calibration stimuli (see calibration_template function)
        :type template: dict
        """
        self.tone_calibrator.stimulus.clearComponents()
        self.tone_calibrator.stimulus.loadFromTemplate(template['tone_doc'], self.tone_calibrator.stimulus)
        comp_doc = template['noise_doc']
        for state, calstim in zip(comp_doc, self.bs_calibrator.get_stims()):
            calstim.loadState(state)