mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-04 16:31:17 -05:00
Fix the 'Start=0 ==> S/N = -24 dB' problem.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8037 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
021336823a
commit
a3c65d72bb
@ -12,7 +12,7 @@ subroutine baseline(s,nfa,nfb,sbase)
|
||||
data nseg/10/,npct/10/
|
||||
|
||||
df=12000.0/3840.0 !3.125 Hz
|
||||
ia=nint(nfa/df)
|
||||
ia=max(1,nint(nfa/df))
|
||||
ib=nint(nfb/df)
|
||||
do i=ia,ib
|
||||
s(i)=10.0*log10(s(i)) !Convert to dB scale
|
||||
|
Loading…
Reference in New Issue
Block a user