def lharmonicmean (inlist):
    sum = 0
    for item in inlist:
        sum = sum + 1.0/item
    return len(inlist) / sum
Calculates the harmonic mean of the values in the passed list.
dataset/ETHPy150Open radlab/sparrow/src/main/python/third_party/stats.py/lharmonicmean