def set_noise_ratio(self, noise_ratio, goal_noise_ratio):
    self.obj_sampler = OldHoldoutSampler([((- noise_ratio) * OBJ_X_NOISE), 0], [(noise_ratio * OBJ_X_NOISE), ((noise_ratio * Y_NOISE) * 2)], 4)
    self.goal_sampler = OldHoldoutSampler([((- goal_noise_ratio) * X_NOISE), (((- goal_noise_ratio) * Y_NOISE) * 2)], [(goal_noise_ratio * X_NOISE), 0], 4)
def set_noise_ratio(self, noise_ratio, goal_noise_ratio):
    self.obj_sampler = OldHoldoutSampler([((- noise_ratio) * OBJ_X_NOISE), 0], [(noise_ratio * OBJ_X_NOISE), ((noise_ratio * Y_NOISE) * 2)], 4)
    self.goal_sampler = OldHoldoutSampler([((- goal_noise_ratio) * X_NOISE), (((- goal_noise_ratio) * Y_NOISE) * 2)], [(goal_noise_ratio * X_NOISE), 0], 4)