mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-06-24 22:25:17 -04:00
Go back to multiple calls to smo121, rather than smolorentz.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6541 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
b002b165bc
commit
063bb166f1
@ -388,7 +388,6 @@ set (wsjt_FSRCS
|
|||||||
lib/slope.f90
|
lib/slope.f90
|
||||||
lib/smo.f90
|
lib/smo.f90
|
||||||
lib/smo121.f90
|
lib/smo121.f90
|
||||||
lib/smolorentz.f90
|
|
||||||
lib/softsym.f90
|
lib/softsym.f90
|
||||||
lib/softsym9f.f90
|
lib/softsym9f.f90
|
||||||
lib/shell.f90
|
lib/shell.f90
|
||||||
|
@ -13,7 +13,6 @@ subroutine decode65a(dd,npts,newdat,nqd,f0,nflip,mode65,ntrials, &
|
|||||||
complex cx1(NMAX/8) !Data at 1378.125 sps, offset by 355.3 Hz
|
complex cx1(NMAX/8) !Data at 1378.125 sps, offset by 355.3 Hz
|
||||||
complex c5x(NMAX/32) !Data at 344.53125 Hz
|
complex c5x(NMAX/32) !Data at 344.53125 Hz
|
||||||
complex c5a(512)
|
complex c5a(512)
|
||||||
real s1a(-255:256,126)
|
|
||||||
real s2(66,126)
|
real s2(66,126)
|
||||||
real a(5)
|
real a(5)
|
||||||
logical first
|
logical first
|
||||||
@ -84,18 +83,23 @@ subroutine decode65a(dd,npts,newdat,nqd,f0,nflip,mode65,ntrials, &
|
|||||||
|
|
||||||
call timer('dec65b ',0)
|
call timer('dec65b ',0)
|
||||||
qualbest=0.
|
qualbest=0.
|
||||||
|
minsmo=0
|
||||||
maxsmo=0
|
maxsmo=0
|
||||||
if(mode65.ge.2) maxsmo=3
|
if(mode65.ge.2) then
|
||||||
|
minsmo=nint(width/df)
|
||||||
|
maxsmo=2*minsmo
|
||||||
|
endif
|
||||||
nn=0
|
nn=0
|
||||||
do ismo=0,maxsmo
|
do ismo=minsmo,maxsmo
|
||||||
if(ismo.gt.0) then
|
if(ismo.gt.0) then
|
||||||
w=width/df
|
|
||||||
if(ismo.eq.2) w=1.414*w
|
|
||||||
if(ismo.eq.3) w=2.0*w
|
|
||||||
do j=1,126
|
do j=1,126
|
||||||
call smolorentz(s1(-255,j),512,w,s1a(-255,j))
|
call smo121(s1(-255,j),512)
|
||||||
|
if(j.eq.1) nn=nn+1
|
||||||
|
if(nn.ge.4) then
|
||||||
|
call smo121(s1(-255,j),512)
|
||||||
|
if(j.eq.1) nn=nn+1
|
||||||
|
endif
|
||||||
enddo
|
enddo
|
||||||
s1=s1a
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
do i=1,66
|
do i=1,66
|
||||||
@ -126,6 +130,8 @@ subroutine decode65a(dd,npts,newdat,nqd,f0,nflip,mode65,ntrials, &
|
|||||||
endif
|
endif
|
||||||
enddo
|
enddo
|
||||||
|
|
||||||
|
! print*,width,minsmo,maxsmo,nsmo,nn
|
||||||
|
|
||||||
if(nft.eq.2) then
|
if(nft.eq.2) then
|
||||||
decoded=decoded_best
|
decoded=decoded_best
|
||||||
qual=qualbest
|
qual=qualbest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user