mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 21:58:38 -05:00
Removed normalization by rms in sync65.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/WSJT/trunk@14 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
ba44a4125a
commit
0d93735ba0
@ -27,8 +27,6 @@ c complex work(NMAX)
|
|||||||
dt=2.0/11025.0
|
dt=2.0/11025.0
|
||||||
df=0.5*11025.0/nfft
|
df=0.5*11025.0/nfft
|
||||||
call zero(ps,77)
|
call zero(ps,77)
|
||||||
tmid=0.5*dt*nsym*nfft*mode65
|
|
||||||
|
|
||||||
k=istart-nfft
|
k=istart-nfft
|
||||||
do j=1,nsym
|
do j=1,nsym
|
||||||
call zero(s,77)
|
call zero(s,77)
|
||||||
|
12
sync65.f
12
sync65.f
@ -53,7 +53,6 @@ C Find the best frequency channel for CCF
|
|||||||
ired1=ib-i0
|
ired1=ib-i0
|
||||||
|
|
||||||
lag1=-5
|
lag1=-5
|
||||||
! lag2=27
|
|
||||||
lag2=59
|
lag2=59
|
||||||
syncbest=-1.e30
|
syncbest=-1.e30
|
||||||
syncbest2=-1.e30
|
syncbest2=-1.e30
|
||||||
@ -66,16 +65,7 @@ C Find the best frequency channel for CCF
|
|||||||
|
|
||||||
C Find rms of the CCF, without the main peak
|
C Find rms of the CCF, without the main peak
|
||||||
call slope(ccfblue(lag1),lag2-lag1+1,lagpk0-lag1+1.0)
|
call slope(ccfblue(lag1),lag2-lag1+1,lagpk0-lag1+1.0)
|
||||||
sq=0.
|
sync=abs(ccfblue(lagpk0))
|
||||||
nsq=0
|
|
||||||
do lag=lag1,lag2
|
|
||||||
if(abs(lag-lagpk0).gt.1) then
|
|
||||||
sq=sq+ccfblue(lag)**2
|
|
||||||
nsq=nsq+1
|
|
||||||
endif
|
|
||||||
enddo
|
|
||||||
rms=sqrt(sq/nsq)
|
|
||||||
sync=abs(ccfblue(lagpk0))/rms
|
|
||||||
ppmax=psavg(i)-1.0
|
ppmax=psavg(i)-1.0
|
||||||
|
|
||||||
C Find the best sync value
|
C Find the best sync value
|
||||||
|
2
wsjt.py
2
wsjt.py
@ -13,7 +13,7 @@ from palettes import colormapblue, colormapgray0, colormapHot, \
|
|||||||
colormapAFMHot, colormapgray1, colormapLinrad, Colormap2Palette
|
colormapAFMHot, colormapgray1, colormapLinrad, Colormap2Palette
|
||||||
|
|
||||||
root = Tk()
|
root = Tk()
|
||||||
Version="5.9.2.1"
|
Version="5.9.2 r14"
|
||||||
print "******************************************************************"
|
print "******************************************************************"
|
||||||
print "WSJT Version " + Version + ", by K1JT"
|
print "WSJT Version " + Version + ", by K1JT"
|
||||||
isec=Audio.makedate_sub()
|
isec=Audio.makedate_sub()
|
||||||
|
Loading…
Reference in New Issue
Block a user