Playing with decode and simulator params. Calibration is not secure!

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2653 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2012-10-06 15:38:06 +00:00
parent 3aef19d91e
commit c4b81c55cf
4 changed files with 6 additions and 4 deletions

View File

@ -20,7 +20,8 @@ subroutine decode9(i1SoftSymbols,msg)
if(first) then if(first) then
! Get the metric table ! Get the metric table
bias=0.37 !To be optimized, in decoder program ! bias=0.37 !To be optimized, in decoder program
bias=0.0 !Seems better, in jt9.exe ???
scale=10 ! ... ditto ... scale=10 ! ... ditto ...
open(19,file='met8.21',status='old') open(19,file='met8.21',status='old')
do i=0,255 do i=0,255

View File

@ -107,7 +107,7 @@ program jt9
call sync9(ss,tstep,f0a,df3,fpk) !Find sig, get rough freq call sync9(ss,tstep,f0a,df3,fpk) !Find sig, get rough freq
call spec9(c0,npts8,nsps,f0a,fpk,xdt,i1SoftSymbols) call spec9(c0,npts8,nsps,f0a,fpk,xdt,i1SoftSymbols)
call decode9(i1SoftSymbols,msg) call decode9(i1SoftSymbols,msg)
write(*,1010) nutc,xdt,fpk,msg write(*,1010) nutc,xdt,1000.0+fpk,msg
1010 format(i4.4,f6.1,f7.1,2x,a22) 1010 format(i4.4,f6.1,f7.1,2x,a22)
enddo enddo

View File

@ -108,7 +108,8 @@ program jt9sim
f=f0 f=f0
if(nsigs.gt.1) f=f0 - 0.5d0*fspan + fspan*(isig-1.d0)/(nsigs-1.d0) if(nsigs.gt.1) f=f0 - 0.5d0*fspan + fspan*(isig-1.d0)/(nsigs-1.d0)
snrdbx=snrdb snrdbx=snrdb
sig=sqrt(2500.0/6000.0) * 10.0**(0.05*snrdbx) ! sig=sqrt(2500.0/6000.0) * 10.0**(0.05*snrdbx)
sig=10.0**(0.05*snrdbx)
write(*,1020) ifile,isig,f,snrdbx,msgsent write(*,1020) ifile,isig,f,snrdbx,msgsent
1020 format(i3,i4,f10.3,f7.1,2x,a22) 1020 format(i3,i4,f10.3,f7.1,2x,a22)

View File

@ -1,4 +1,4 @@
//--------------------------------------------------------------- MainWindow //---------------------------------------------------------------- MainWindow
#include "mainwindow.h" #include "mainwindow.h"
#include "ui_mainwindow.h" #include "ui_mainwindow.h"
#include "devsetup.h" #include "devsetup.h"