code: def set_calibrated_weights(self):
          
          period = self.period
          survey_scenario = self.survey_scenario
          assert survey_scenario.simulation is not None
          for simulation in [survey_scenario.simulation, survey_scenario.baseline_simulation]:
              if simulation is None:
                  continue
              simulation.set_input(self.weight_name, period, self.weight)
docs: Modify the weights to use the calibrated weights