As an addendum, you should use np.expm1(value) rather than np.exp(value)-1.