mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-24 10:22:26 -04:00
Fix wspr-mode SNR.
This commit is contained in:
parent
7345e13661
commit
a8b87f1f3a
Binary file not shown.
@ -239,7 +239,7 @@ contains
|
|||||||
c_bigfft=cmplx(r_data(1:nfft1+2:2),r_data(2:nfft1+2:2))
|
c_bigfft=cmplx(r_data(1:nfft1+2:2),r_data(2:nfft1+2:2))
|
||||||
|
|
||||||
if(iwspr.ne.0.and.iwspr.ne.1.and.iwspr.ne.2) iwspr=1 ! TEMPORARY
|
if(iwspr.ne.0.and.iwspr.ne.1.and.iwspr.ne.2) iwspr=1 ! TEMPORARY
|
||||||
|
iwspr=1
|
||||||
if(iwspr.eq.0) then
|
if(iwspr.eq.0) then
|
||||||
itype1=1
|
itype1=1
|
||||||
itype2=1
|
itype2=1
|
||||||
@ -531,7 +531,11 @@ if(iwspr.ne.0.and.iwspr.ne.1.and.iwspr.ne.2) iwspr=1 ! TEMPORARY
|
|||||||
ndecodes=ndecodes+1
|
ndecodes=ndecodes+1
|
||||||
decodes(ndecodes)=msg
|
decodes(ndecodes)=msg
|
||||||
|
|
||||||
call get_fst240_tones_from_bits(message101,itone,iwspr)
|
if(iqorw.eq.1) then
|
||||||
|
call get_fst240_tones_from_bits(message101,itone,0)
|
||||||
|
else
|
||||||
|
call get_fst240_tones_from_bits(message74,itone,1)
|
||||||
|
endif
|
||||||
xsig=0
|
xsig=0
|
||||||
do i=1,NN
|
do i=1,NN
|
||||||
xsig=xsig+s4(itone(i),i)**2
|
xsig=xsig+s4(itone(i),i)**2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user