summaryrefslogtreecommitdiff
path: root/lib/fsk4hf/tweak1.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2018-12-19 22:58:32 +0100
committerChristoph Berg <myon@debian.org>2018-12-19 22:58:32 +0100
commite0737c56c1e384e05064a0c6e1ac46979371041b (patch)
treea0123d694a2d36c43dabdf0a3907392fce11d457 /lib/fsk4hf/tweak1.f90
parentb4aebf2d137b892f53503b13785ecae900062ff7 (diff)
New upstream version 2.0.0+repackupstream/2.0.0+repack
Diffstat (limited to 'lib/fsk4hf/tweak1.f90')
-rw-r--r--lib/fsk4hf/tweak1.f9023
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/fsk4hf/tweak1.f90 b/lib/fsk4hf/tweak1.f90
deleted file mode 100644
index c62c4087..00000000
--- a/lib/fsk4hf/tweak1.f90
+++ /dev/null
@@ -1,23 +0,0 @@
-subroutine tweak1(ca,jz,f0,cb)
-
-! Shift frequency of analytic signal ca, with output to cb
-
- complex ca(jz),cb(jz)
- real*8 twopi
- complex*16 w,wstep
- complex w4
- data twopi/0.d0/
- save twopi
-
- if(twopi.eq.0.d0) twopi=8.d0*atan(1.d0)
- w=1.d0
- dphi=twopi*f0/12000.d0
- wstep=cmplx(cos(dphi),sin(dphi))
- do i=1,jz
- w=w*wstep
- w4=w
- cb(i)=w4*ca(i)
- enddo
-
- return
-end subroutine tweak1