diff options
author | John Glover <john@john-glovers-macbook.local> | 2010-12-24 19:08:42 +0000 |
---|---|---|
committer | John Glover <john@john-glovers-macbook.local> | 2010-12-24 19:08:42 +0000 |
commit | 5daa78a0630c865519e557fde5aed57dcdee4aea (patch) | |
tree | a1726e2f87d7eb10573350fa3aeebea4eb024536 /tests | |
parent | 5b884d40c155fb47ed5ebf7dbbea2cff46f0a1c4 (diff) | |
download | simpl-5daa78a0630c865519e557fde5aed57dcdee4aea.tar.gz simpl-5daa78a0630c865519e557fde5aed57dcdee4aea.tar.bz2 simpl-5daa78a0630c865519e557fde5aed57dcdee4aea.zip |
Fixed a bug in converting SMS peak amplitudes from DB to linear
Diffstat (limited to 'tests')
-rw-r--r-- | tests/sms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sms.py b/tests/sms.py index a1b8fa9..a5fb702 100644 --- a/tests/sms.py +++ b/tests/sms.py @@ -502,7 +502,7 @@ class TestSimplSMS(object): if simplsms_amps[i]: p = simpl.Peak() # convert amplitude back to linear - p.amplitude = 10**(simplsms_amps[i]/20.0) + p.amplitude = simplsms_amps[i] p.frequency = simplsms_freqs[i] p.phase = simplsms_phases[i] frame_peaks.append(p) |