docs: def log_uniform_prior(value, umin=0, umax=None):
      """Log-uniform prior distribution.
      """
      if value > 0 and value >= umin:
          if umax is not None:
              if value <= umax:
                  return 1 / value
              else:
                  return -np.inf
          else:
              return 1 / value
      else:
          return -np.inf