mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-08-03 22:52:25 -04:00
Correct a problem with estimating rms of ccf for Q65-300x submodes.
This commit is contained in:
parent
7005ac3c50
commit
7096a548ec
@ -226,9 +226,10 @@ subroutine q65_sync(nutc,iwave,nmax,mode_q65,codewords,ncw,nsps,nfqso,ntol, &
|
|||||||
xdt=jpk*dtstep
|
xdt=jpk*dtstep
|
||||||
sq=0.
|
sq=0.
|
||||||
nsq=0
|
nsq=0
|
||||||
|
jd=(lag2-lag1)/4
|
||||||
do i=-ia,ia
|
do i=-ia,ia
|
||||||
do j=lag1,lag2
|
do j=lag1,lag2
|
||||||
if(abs(j-jpk).gt.8 .and. abs(i-ipk).gt.ia/2) then
|
if(abs(j-jpk).gt.jd .and. abs(i-ipk).gt.ia/2) then
|
||||||
sq=sq + ccf(i,j)**2
|
sq=sq + ccf(i,j)**2
|
||||||
nsq=nsq+1
|
nsq=nsq+1
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user