mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-06-28 07:55:17 -04:00
Backed out changes to r425.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@428 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
de78ee67fd
commit
4af2764c20
@ -47,7 +47,7 @@ SRCS2F90 = astro0.F90 audio_init.F90 azdist0.f90 \
|
|||||||
decode1.F90 ftn_init.F90 ftn_quit.f90 wsjtgen.F90 \
|
decode1.F90 ftn_init.F90 ftn_quit.f90 wsjtgen.F90 \
|
||||||
runqqq.F90 fivehz.F90 flushqqq.F90 map65a0.f90 \
|
runqqq.F90 fivehz.F90 flushqqq.F90 map65a0.f90 \
|
||||||
rfile.f90 rfile3a.f90 spec.f90 map65a.f90 display.F90 \
|
rfile.f90 rfile3a.f90 spec.f90 map65a.f90 display.F90 \
|
||||||
getfile.F90 getfile2.F90 recvpkt.F90 savetf2.F90
|
getfile.F90 getfile2.F90 recvpkt.F90
|
||||||
|
|
||||||
SRCS2F77 = indexx.f gen65.f chkmsg.f \
|
SRCS2F77 = indexx.f gen65.f chkmsg.f \
|
||||||
gentone.f gencwid.f set.f db.f pctile.f sort.f ssort.f \
|
gentone.f gencwid.f set.f db.f pctile.f sort.f ssort.f \
|
||||||
|
21
decode1a.f
21
decode1a.f
@ -1,4 +1,4 @@
|
|||||||
subroutine decode1a(id,nqd,newdat,nfilt,freq,nflip,dphi,ipol,
|
subroutine decode1a(id,newdat,nfilt,freq,nflip,dphi,ipol,
|
||||||
+ sync2,a,dt,pol,nkv,nhist,qual,decoded)
|
+ sync2,a,dt,pol,nkv,nhist,qual,decoded)
|
||||||
|
|
||||||
C Apply AFC corrections to a candidate JT65 signal, and then try
|
C Apply AFC corrections to a candidate JT65 signal, and then try
|
||||||
@ -71,20 +71,16 @@ C Find best DF, f1, f2, DT, and pol
|
|||||||
! call afc65b(cx(i0),cy(i0),nz,fsample,nflip,ipol,a,dt,
|
! call afc65b(cx(i0),cy(i0),nz,fsample,nflip,ipol,a,dt,
|
||||||
! + ccfbest,dtbest)
|
! + ccfbest,dtbest)
|
||||||
|
|
||||||
! Adjust for cable length difference:
|
|
||||||
z=cmplx(cos(dphi),sin(dphi))
|
|
||||||
do i=1,n5
|
|
||||||
cy(i)=z*cy(i)
|
|
||||||
enddo
|
|
||||||
|
|
||||||
call fil6521(cx,n5,c5x,n6)
|
call fil6521(cx,n5,c5x,n6)
|
||||||
call fil6521(cy,n5,c5y,n6)
|
call fil6521(cy,n5,c5y,n6)
|
||||||
|
|
||||||
fsample=1378.125/4.
|
! Adjust for cable length difference:
|
||||||
|
z=cmplx(cos(dphi),sin(dphi))
|
||||||
|
do i=1,n6
|
||||||
|
c5y(i)=z*c5y(i)
|
||||||
|
enddo
|
||||||
|
|
||||||
if(nqd.eq.1) then
|
fsample=1378.125/4.
|
||||||
call findpol(c5x,c5y,n6,dt00,nflip,ipol,a,ccfbest,dtbest)
|
|
||||||
else
|
|
||||||
a(5)=dt00
|
a(5)=dt00
|
||||||
i0=nint((a(5)+0.5)*fsample) - 2
|
i0=nint((a(5)+0.5)*fsample) - 2
|
||||||
if(i0.lt.1) i0=1
|
if(i0.lt.1) i0=1
|
||||||
@ -108,7 +104,6 @@ C Find best DF, f1, f2, DT, and pol
|
|||||||
else
|
else
|
||||||
ccfbest=ccfbest
|
ccfbest=ccfbest
|
||||||
endif
|
endif
|
||||||
endif
|
|
||||||
|
|
||||||
pol=a(4)/57.2957795
|
pol=a(4)/57.2957795
|
||||||
aa=cos(pol)
|
aa=cos(pol)
|
||||||
@ -150,5 +145,3 @@ C Adding or subtracting a small number (e.g., 5) to j may make it decode.
|
|||||||
|
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
include 'findpol.f'
|
|
||||||
|
@ -44,6 +44,7 @@ C Suppress "birdie messages":
|
|||||||
ndepth=5
|
ndepth=5
|
||||||
if(ndepth.ge.1) call deep65(s3,mode65,neme,
|
if(ndepth.ge.1) call deep65(s3,mode65,neme,
|
||||||
+ nsked,flip,mycall,hiscall,hisgrid,deepmsg,qual)
|
+ nsked,flip,mycall,hiscall,hisgrid,deepmsg,qual)
|
||||||
|
|
||||||
C Save symbol spectra for possible decoding of average.
|
C Save symbol spectra for possible decoding of average.
|
||||||
! do j=1,63
|
! do j=1,63
|
||||||
! k=mdat(j)
|
! k=mdat(j)
|
||||||
|
@ -49,10 +49,8 @@ subroutine getfile2(fname,len)
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
read(filename(8:11),*,err=996,end=996) nutc
|
read(filename(8:11),*) nutc
|
||||||
go to 997
|
ndiskdat=1
|
||||||
996 print*,'Error reading UTC: ',filename,nutc
|
|
||||||
997 ndiskdat=1
|
|
||||||
ndecoding=4
|
ndecoding=4
|
||||||
mousebutton=0
|
mousebutton=0
|
||||||
go to 999
|
go to 999
|
||||||
|
4
map65.py
4
map65.py
@ -1,4 +1,4 @@
|
|||||||
#--------------------------------------------------------------------- MAP65
|
#---------------------------------------------------------------------- MAP65
|
||||||
# $Date$ $Revision$
|
# $Date$ $Revision$
|
||||||
#
|
#
|
||||||
from Tkinter import *
|
from Tkinter import *
|
||||||
@ -1137,7 +1137,7 @@ def update():
|
|||||||
bm2text.see(END)
|
bm2text.see(END)
|
||||||
|
|
||||||
Audio.gcom2.ndecdone=0
|
Audio.gcom2.ndecdone=0
|
||||||
if loopall and Audio.gcom2.ndecoding==0: opennext()
|
if loopall: opennext()
|
||||||
nopen=0
|
nopen=0
|
||||||
|
|
||||||
if g.cmap != cmap0:
|
if g.cmap != cmap0:
|
||||||
|
13
map65a.f90
13
map65a.f90
@ -55,23 +55,21 @@ subroutine map65a(newdat)
|
|||||||
! nfilt=2 should be faster (but doesn't work quite right?)
|
! nfilt=2 should be faster (but doesn't work quite right?)
|
||||||
nfilt=1 !nfilt=2 is faster for selected freq
|
nfilt=1 !nfilt=2 is faster for selected freq
|
||||||
dphi=310/57.2957795
|
dphi=310/57.2957795
|
||||||
! do kpol=0,3
|
do kpol=0,3
|
||||||
kpol=0
|
|
||||||
freq=fselect + 0.001*mousedf
|
freq=fselect + 0.001*mousedf
|
||||||
if(even) ip0=ip000+kpol
|
if(even) ip0=ip000+kpol
|
||||||
if(.not.even) ip0=ip001+kpol
|
if(.not.even) ip0=ip001+kpol
|
||||||
if(ip0.gt.4) ip0=ip0-4
|
if(ip0.gt.4) ip0=ip0-4
|
||||||
dt00=2.314240
|
dt00=2.314240
|
||||||
dt=dt00
|
dt=dt00
|
||||||
nqd=1
|
call decode1a(id(1,1,kbuf),newdat,nfilt,freq,nflip,dphi,ip0, &
|
||||||
call decode1a(id(1,1,kbuf),nqd,newdat,nfilt,freq,nflip,dphi,ip0, &
|
|
||||||
sync2,a,dt,pol,nkv,nhist,qual,decoded)
|
sync2,a,dt,pol,nkv,nhist,qual,decoded)
|
||||||
nsync1=0
|
nsync1=0
|
||||||
nsync2=nint(10.0*log10(sync2)) - 40 !### empirical ###
|
nsync2=nint(10.0*log10(sync2)) - 40 !### empirical ###
|
||||||
ndf=nint(a(1)) + mousedf
|
ndf=nint(a(1)) + mousedf
|
||||||
nw=0
|
nw=0
|
||||||
! if(nkv.gt.0) go to 5
|
if(nkv.gt.0) go to 5
|
||||||
! enddo
|
enddo
|
||||||
|
|
||||||
5 if(even) ip000=ip0
|
5 if(even) ip000=ip0
|
||||||
if(.not.even) ip001=ip0
|
if(.not.even) ip001=ip0
|
||||||
@ -197,8 +195,7 @@ subroutine map65a(newdat)
|
|||||||
|
|
||||||
if(freq-freq0.gt.ftol .or. sync1.gt.sync10) then
|
if(freq-freq0.gt.ftol .or. sync1.gt.sync10) then
|
||||||
nflip=nint(flipk)
|
nflip=nint(flipk)
|
||||||
nqd=0
|
call decode1a(id(1,1,kbuf),newdat,nfilt,freq,nflip,dphi, &
|
||||||
call decode1a(id(1,1,kbuf),nqd,newdat,nfilt,freq,nflip,dphi, &
|
|
||||||
ipol,sync2,a,dt,pol,nkv,nhist,qual,decoded)
|
ipol,sync2,a,dt,pol,nkv,nhist,qual,decoded)
|
||||||
! i9=index(decoded,'AA1YN')
|
! i9=index(decoded,'AA1YN')
|
||||||
! if(i9.gt.0) print*,i,i9,fselect,freq,decoded
|
! if(i9.gt.0) print*,i,i9,fselect,freq,decoded
|
||||||
|
@ -65,8 +65,8 @@ subroutine recvpkt(iarg)
|
|||||||
do i=1,174
|
do i=1,174
|
||||||
k=k+1
|
k=k+1
|
||||||
d8(k)=buf8(i)
|
d8(k)=buf8(i)
|
||||||
sq=sq + float(int(id(1,k,1)))**2 + float(int(id(1,k,1)))**2 + &
|
sq=sq + float(id(1,k,1))**2 + float(id(1,k,1))**2 + &
|
||||||
float(int(id(1,k,1)))**2 + float(int(id(1,k,1)))**2
|
float(id(1,k,1))**2 + float(id(1,k,1))**2
|
||||||
enddo
|
enddo
|
||||||
sqave=sqave + u*(sq-sqave)
|
sqave=sqave + u*(sq-sqave)
|
||||||
rxnoise=10.0*log10(sqave) - 48.0
|
rxnoise=10.0*log10(sqave) - 48.0
|
||||||
|
@ -16,8 +16,8 @@ subroutine savetf2(id,nsave,nutc)
|
|||||||
do i=1,NPKTS
|
do i=1,NPKTS
|
||||||
s=0.
|
s=0.
|
||||||
do n=1,NSPP
|
do n=1,NSPP
|
||||||
s=s + float(int(id(1,i)))**2 + float(int(id(2,i)))**2 + &
|
s=s + float(id(1,i))**2 + float(id(2,i))**2 + float(id(3,i))**2 + &
|
||||||
float(int(id(3,i)))**2 + float(int(id(4,i)))**2
|
float(id(4,i))**2
|
||||||
enddo
|
enddo
|
||||||
ss(i)=fac*s
|
ss(i)=fac*s
|
||||||
t=t+dt
|
t=t+dt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user