def root2damp(pole):
    # damping factor is the radius in the complex plane -1/pi*ln(|pole|)
    return -1. / (np.pi) * np.log(np.abs(pole))
Calculate the damping factor from a LP root
dataset/ETHPy150Open jjhelmus/nmrglue/nmrglue/process/proc_lp.py/root2damp