mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-08-03 14:42:25 -04:00
Minor tweaks.
This commit is contained in:
parent
1296134820
commit
d6d4ad3c23
@ -96,14 +96,13 @@ program synctest
|
|||||||
delay,fspread)
|
delay,fspread)
|
||||||
|
|
||||||
! Find signal freq and DT
|
! Find signal freq and DT
|
||||||
|
|
||||||
call sync_sf(crcvd,clo,snrdb,f,t)
|
call sync_sf(crcvd,clo,snrdb,f,t)
|
||||||
ferr=f-f1
|
ferr=f-f1
|
||||||
terr=t-xdt
|
terr=t-xdt
|
||||||
if(abs(ferr).lt.10.0 .or. abs(terr).lt.0.02) ngoodsync=ngoodsync+1
|
if(abs(ferr).lt.10.0 .or. abs(terr).lt.0.02) ngoodsync=ngoodsync+1
|
||||||
|
|
||||||
call hard_symbols(crcvd,f,t,jdat)
|
call hard_symbols(crcvd,f,t,jdat) !Get hard symbol values
|
||||||
nharderr=count(jdat.ne.idat)
|
nharderr=count(jdat.ne.idat) !Count hard errors
|
||||||
|
|
||||||
if(snrdb.ne.0) then
|
if(snrdb.ne.0) then
|
||||||
fname='000000_000001.wav'
|
fname='000000_000001.wav'
|
||||||
@ -120,9 +119,9 @@ program synctest
|
|||||||
write(*,1120) nharderr
|
write(*,1120) nharderr
|
||||||
1120 format('Hard errors:',i4)
|
1120 format('Hard errors:',i4)
|
||||||
endif
|
endif
|
||||||
if(nharderr.le.38) ngood=ngood+1
|
if(nharderr.le.38) ngood=ngood+1 !(125-49)/2 = 38
|
||||||
write(13,1200) ifile,snr,ferr,terr,nharderr
|
! write(13,1200) ifile,snr,ferr,terr,nharderr
|
||||||
1200 format(i5,3f10.3,i5)
|
!1200 format(i5,3f10.3,i5)
|
||||||
enddo ! ifile
|
enddo ! ifile
|
||||||
fgoodsync=float(ngoodsync)/nfiles
|
fgoodsync=float(ngoodsync)/nfiles
|
||||||
fgood=float(ngood)/nfiles
|
fgood=float(ngood)/nfiles
|
||||||
|
Loading…
x
Reference in New Issue
Block a user