diff options
| author | Christoph Berg <myon@debian.org> | 2025-09-16 12:37:12 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2025-09-16 12:57:29 +0200 |
| commit | 5a4967c577ad245a2117b7b2f71c13b1212fe285 (patch) | |
| tree | 4d09343cfe757239895a0dd9b399242d2a07d7c2 /lib/ft8/genft8refsig.f90 | |
| parent | 23c903a09fb1d73fd20b50323cd80cfb3aba8799 (diff) | |
Merge 2.7 changes, I had uploaded -1 from the wrong branch.debian/3.0.0_rc1+repack-2
Diffstat (limited to 'lib/ft8/genft8refsig.f90')
| -rwxr-xr-x | lib/ft8/genft8refsig.f90 | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/lib/ft8/genft8refsig.f90 b/lib/ft8/genft8refsig.f90 index cd1468c1..2951165c 100755 --- a/lib/ft8/genft8refsig.f90 +++ b/lib/ft8/genft8refsig.f90 @@ -1,23 +1,23 @@ -subroutine genft8refsig(itone,cref,f0) - complex cref(79*1920) - integer itone(79) -! real*8 twopi,phi,dphi,dt,xnsps - real 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 +subroutine genft8refsig(itone,cref,f0)
+ complex cref(79*1920)
+ integer itone(79)
+! real*8 twopi,phi,dphi,dt,xnsps
+ real 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
|
