def volt2dB(stim, maxdB=100):
    stim = (20 * 1 / np.log(10)) * (np.log(stim[:, 1] / 2.0e-5))
    return stim.max() + stim - maxdB
dataset/ETHPy150Open nipy/nitime/doc/examples/grasshopper.py/volt2dB/swapped operands of `-`