def mean_over_h(arr, fltH):
    """ Return scalar describing the mean of all those elements in arr
            that are greater than fltH.
    """
    arrGTf = (arr * (arr > fltH)).flatten()
    return arrGTf.take(arrGTf.nonzero()).mean()