summaryrefslogtreecommitdiff
path: root/lib/ana64.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-04-07 19:02:45 +0200
committerChristoph Berg <myon@debian.org>2026-04-07 19:02:45 +0200
commitf647d78463c1250ce9c99af664615fafccf5e959 (patch)
tree5b00428cef68aef1c9d407e2d4535687422419b6 /lib/ana64.f90
parent0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (diff)
New upstream version 3.0.0upstream/3.0.0
Diffstat (limited to 'lib/ana64.f90')
-rw-r--r--[-rwxr-xr-x]lib/ana64.f9036
1 files changed, 18 insertions, 18 deletions
diff --git a/lib/ana64.f90 b/lib/ana64.f90
index 13637730..5765a3ec 100755..100644
--- a/lib/ana64.f90
+++ b/lib/ana64.f90
@@ -1,18 +1,18 @@
-subroutine ana64(iwave,npts,c0)
-
- integer*2 iwave(npts) !Raw data at 12000 Hz
- complex c0(0:npts-1) !Complex data at 6000 Hz
- save
-
- nfft1=npts
- nfft2=nfft1/2
- df1=12000.0/nfft1
- fac=2.0/(32767.0*nfft1)
- c0(0:npts-1)=fac*iwave(1:npts)
- call four2a(c0,nfft1,1,-1,1) !Forward c2c FFT
- c0(nfft2/2+1:nfft2-1)=0.
- c0(0)=0.5*c0(0)
- call four2a(c0,nfft2,1,1,1) !Inverse c2c FFT; c0 is analytic sig
-
- return
-end subroutine ana64
+subroutine ana64(iwave,npts,c0)
+
+ integer*2 iwave(npts) !Raw data at 12000 Hz
+ complex c0(0:npts-1) !Complex data at 6000 Hz
+ save
+
+ nfft1=npts
+ nfft2=nfft1/2
+ df1=12000.0/nfft1
+ fac=2.0/(32767.0*nfft1)
+ c0(0:npts-1)=fac*iwave(1:npts)
+ call four2a(c0,nfft1,1,-1,1) !Forward c2c FFT
+ c0(nfft2/2+1:nfft2-1)=0.
+ c0(0)=0.5*c0(0)
+ call four2a(c0,nfft2,1,1,1) !Inverse c2c FFT; c0 is analytic sig
+
+ return
+end subroutine ana64