mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-08-18 01:13:48 -04:00
First try at changing Tol to fMin and fMax. More work still to be done!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3125 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
+3
-10
@@ -1,4 +1,4 @@
|
||||
subroutine sync9(ss,nzhsym,tstep,df3,ntol,nfqso,ccfred,ia,ib,ipkbest)
|
||||
subroutine sync9(ss,nzhsym,tstep,df3,nfa,nfb,ntol,nfqso,ccfred,ia,ib,ipkbest)
|
||||
|
||||
parameter (NSMAX=22000) !Max length of saved spectra
|
||||
real ss(184,NSMAX)
|
||||
@@ -7,15 +7,8 @@ subroutine sync9(ss,nzhsym,tstep,df3,ntol,nfqso,ccfred,ia,ib,ipkbest)
|
||||
|
||||
ipk=0
|
||||
ipkbest=0
|
||||
ia=1
|
||||
ib=min(1000,nint(1000.0/df3))
|
||||
|
||||
if(ntol.lt.1000) then
|
||||
ia=nint((nfqso-1000-ntol)/df3)
|
||||
ib=nint((nfqso-1000+ntol)/df3)
|
||||
if(ia.lt.1) ia=1
|
||||
if(ib.gt.NSMAX) ib=NSMAX
|
||||
endif
|
||||
ia=max(1,nint((nfa-1000)/df3))
|
||||
ib=min(NSMAX,nint((nfb-1000)/df3))
|
||||
|
||||
sbest=0.
|
||||
lag1=-(2.5/tstep + 0.9999)
|
||||
|
||||
Reference in New Issue
Block a user