diff options
| author | Christoph Berg <myon@debian.org> | 2018-12-19 23:01:50 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2018-12-19 23:01:50 +0100 |
| commit | 5c60c77adff9a54fd5f94f9915b22ccd8c4c5a3b (patch) | |
| tree | 410fa358a5f73260a579b4d669730f319a4d2609 /lib/decode65a.f90 | |
| parent | 6c82050de806dcdafaed0077400a6c3396a4a159 (diff) | |
| parent | e0737c56c1e384e05064a0c6e1ac46979371041b (diff) | |
Update upstream source from tag 'upstream/2.0.0+repack'
Update to upstream version '2.0.0+repack'
with Debian dir 55dbb3a6a7eb189e187dd79f732623ca0b56116d
Diffstat (limited to 'lib/decode65a.f90')
| -rw-r--r-- | lib/decode65a.f90 | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/lib/decode65a.f90 b/lib/decode65a.f90 index 5ad31677..c41136a5 100644 --- a/lib/decode65a.f90 +++ b/lib/decode65a.f90 @@ -1,5 +1,6 @@ subroutine decode65a(dd,npts,newdat,nqd,f0,nflip,mode65,ntrials, &
- naggressive,ndepth,ntol,mycall,hiscall,hisgrid,nexp_decode, &
+ naggressive,ndepth,ntol,mycall,hiscall,hisgrid,nQSOProgress, &
+ ljt65apon, nexp_decode, &
bVHF,sync2,a,dt,nft,nspecial,qual,nhist,nsmo,decoded)
! Apply AFC corrections to a candidate JT65 signal, then decode it.
@@ -15,7 +16,7 @@ subroutine decode65a(dd,npts,newdat,nqd,f0,nflip,mode65,ntrials, & complex c5a(512)
real s2(66,126)
real a(5)
- logical bVHF,first
+ logical bVHF,first,ljt65apon
character decoded*22,decoded_best*22
character mycall*12,hiscall*12,hisgrid*6
character*27 cr
@@ -48,9 +49,9 @@ subroutine decode65a(dd,npts,newdat,nqd,f0,nflip,mode65,ntrials, & fsample=1378.125/4.
call timer('afc65b ',0)
-! Best fit for DF, drift, banana-coefficient, and dt. fsample = 344.53125 S/s
+! Best fit for DF, drift, and dt. fsample = 344.53125 S/s
dtbest=dt
- call afc65b(c5x,n6,fsample,nflip,a,ccfbest,dtbest)
+ call afc65b(c5x,n6,fsample,nflip,mode65,a,ccfbest,dtbest)
call timer('afc65b ',1)
dtbest=dtbest+0.003628 !Remove decimation filter and coh. integrator delay
dt=dtbest !Return new, improved estimate of dt
@@ -97,8 +98,8 @@ subroutine decode65a(dd,npts,newdat,nqd,f0,nflip,mode65,ntrials, & minsmo=0
maxsmo=0
if(mode65.ge.2 .and. mode65.ne.101) then
- minsmo=nint(width/df)
- maxsmo=2*minsmo
+ minsmo=nint(width/df)-1
+ maxsmo=2*nint(width/df)
endif
nn=0
do ismo=minsmo,maxsmo
@@ -122,10 +123,11 @@ subroutine decode65a(dd,npts,newdat,nqd,f0,nflip,mode65,ntrials, & endif
s2(i,1:126)=s1(jj,1:126)
enddo
-
nadd=ismo !### ??? ###
call decode65b(s2,nflip,nadd,mode65,ntrials,naggressive,ndepth, &
- mycall,hiscall,hisgrid,nexp_decode,nqd,nft,qual,nhist,decoded)
+ mycall,hiscall,hisgrid,nQSOProgress,ljt65apon,nexp_decode, &
+ nqd,nft,qual, &
+ nhist,decoded)
if(nft.eq.1) then
nsmo=ismo
|
