human
Here's a good function header given the following:
I wrote the below code

    def _check_args(lamda):
        cond = (lamda > 0)
        return cond
    if (not np.all(_check_args(lamda))):
        raise ValueError('invalid    args')
    term = ((np.log(((1.0 - t) / t)) * 0.5) / lamda)
    from scipy.stats import norm
    transf = (((1 - t) * norm._cdf((lamda + term))) + (t * norm._cdf((lamda - term))))
    return transf

What's a good function header?
assistant
#Here's a good function header.

def transform_hr(t, lamda):