(self)
return True
Check if current randomized parameters are in the region to be rejected.
Check if current randomized parameters are in the region to be rejected.
Check if current randomized parameters are in the region to be rejected .
def _check_all_randomization_parameter_in_rejection_range(self):
    """Check if current randomized parameters are in the region to be rejected."""

    for param_name, reject_random_range in sorted(
        self._rejection_param_range.items()):
      randomized_value = self._randomization_param_value_dict[param_name]
      if np.any(randomized_value < reject_random_range[0]) or np.any(
          randomized_value > reject_random_range[1]):
        return False
    return True
def _check_all_randomization_parameter_in_rejection_range ( self ) : for param_name , reject_random_range in sorted ( self . _rejection_param_range . items ( ) ) : randomized_value = self . _randomization_param_value_dict [ param_name ] if np . any ( randomized_value < reject_random_range [ 0 ] ) or np . any ( randomized_value > reject_random_range [ 1 ] ) : return False return True