def update_transience(self, time):
    relative_time = ((time - self.model.current_step_start_time) / self.model.current_step.max_time)
    for (key, value) in self.update_funcs.items():
        self.updated_dict[key] = float(self.update_funcs[key](relative_time))
def update_transience(self, time):
    relative_time = ((time - self.model.current_step_start_time) / self.model.current_step.max_time)
    for (key, value) in self.update_funcs.items():
        self.updated_dict[key] = float(self.update_funcs[key](relative_time))