mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-24 10:22:26 -04:00
One more try, on the ccf index limits.
This commit is contained in:
parent
12bda0f84e
commit
7c7a985bfe
@ -39,7 +39,7 @@ subroutine sfox_sync(crcvd,fsample,isync,f,t)
|
|||||||
ipk=-999
|
ipk=-999
|
||||||
jpk=-999
|
jpk=-999
|
||||||
jz=nsz-8*NS
|
jz=nsz-8*NS
|
||||||
allocate(ccf(-iz-1:iz+1,1:jz))
|
allocate(ccf(-iz:iz,1:jz))
|
||||||
ccf=0.
|
ccf=0.
|
||||||
do j=1,jz
|
do j=1,jz
|
||||||
do i=-iz,iz
|
do i=-iz,iz
|
||||||
@ -58,8 +58,12 @@ subroutine sfox_sync(crcvd,fsample,isync,f,t)
|
|||||||
enddo
|
enddo
|
||||||
enddo
|
enddo
|
||||||
|
|
||||||
|
dxi=0.
|
||||||
|
dxj=0.
|
||||||
|
if(jpk.gt.1 .and. jpk.lt.jz .and. abs(ipk).lt.iz) then
|
||||||
call peakup(ccf(ipk-1,jpk),ccf(ipk,jpk),ccf(ipk+1,jpk),dxi)
|
call peakup(ccf(ipk-1,jpk),ccf(ipk,jpk),ccf(ipk+1,jpk),dxi)
|
||||||
call peakup(ccf(ipk,jpk-1),ccf(ipk,jpk),ccf(ipk,jpk+1),dxj)
|
call peakup(ccf(ipk,jpk-1),ccf(ipk,jpk),ccf(ipk,jpk+1),dxj)
|
||||||
|
endif
|
||||||
|
|
||||||
dfreq=(ipk+dxi)*df
|
dfreq=(ipk+dxi)*df
|
||||||
f=1500.0+dfreq
|
f=1500.0+dfreq
|
||||||
|
Loading…
x
Reference in New Issue
Block a user