mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-03 16:01:18 -05:00
6339dc4b7e
This code may be the new benchmark? git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3274 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
24 lines
378 B
Fortran
24 lines
378 B
Fortran
subroutine chkss2(ss2,freq,drift,schk)
|
|
|
|
real ss2(0:8,85)
|
|
real s(0:8,85)
|
|
real s1(0:5)
|
|
include 'jt9sync.f90'
|
|
|
|
ave=sum(ss2)/(9*85)
|
|
s=ss2/ave-1.0
|
|
|
|
! call zplot9(s,freq,drift)
|
|
s1=0.
|
|
do lag=0,5
|
|
do i=1,16
|
|
j=ii(i)+lag
|
|
if(j.le.85) s1(lag)=s1(lag) + s(0,j)
|
|
enddo
|
|
enddo
|
|
schk=s1(0)/16.0
|
|
|
|
return
|
|
end subroutine chkss2
|
|
|