mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 12:23:37 -05:00
2e9a64aebe
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8200 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
23 lines
449 B
Fortran
23 lines
449 B
Fortran
subroutine genft8refsig(itone,cref,f0)
|
|
complex cref(79*1920)
|
|
integer itone(79)
|
|
real*8 twopi,phi,dphi,dt,xnsps
|
|
data twopi/0.d0/
|
|
save twopi
|
|
if( twopi .lt. 0.1 ) twopi=8.d0*atan(1.d0)
|
|
|
|
xnsps=1920.d0
|
|
dt=1.d0/12000.d0
|
|
phi=0.d0
|
|
k=1
|
|
do i=1,79
|
|
dphi=twopi*(f0*dt+itone(i)/xnsps)
|
|
do is=1,1920
|
|
cref(k)=cmplx(cos(phi),sin(phi))
|
|
phi=mod(phi+dphi,twopi)
|
|
k=k+1
|
|
enddo
|
|
enddo
|
|
return
|
|
end subroutine genft8refsig
|