• Matthieu Cattin's avatar
    test09: Fix bug in attenuation conversion to dB. · 8164fabb
    Matthieu Cattin authored
    Was using natural log instead of base 10 log. In python log() is natural log!
    Tolerance values were converted using: new = 20*log10(e^(old/20))
    
    Note that this wasn't affecting the test as the tolerance values were calculated
    with the same (wrong) formula.
    8164fabb
test09.py 11.2 KB