def ExpMag(x: float, params):
    """Compute surface brightness for a profile consisting of an exponential,
    given input parameters in vector params:
        params[0] = mu_0
        params[1] = h
    """
    mu_0 = params[0]
    h = params[1]
    return mu_0 + 1.085736 * (x / h)
