summaryrefslogtreecommitdiff
path: root/lib/ft8/subtractft8.f90
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ft8/subtractft8.f90')
-rw-r--r--lib/ft8/subtractft8.f9012
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/ft8/subtractft8.f90 b/lib/ft8/subtractft8.f90
index 1031cf2b..200139a2 100644
--- a/lib/ft8/subtractft8.f90
+++ b/lib/ft8/subtractft8.f90
@@ -11,16 +11,22 @@ subroutine subtractft8(dd,itone,f0,dt)
parameter (NMAX=15*12000,NFRAME=1920*79)
parameter (NFFT=NMAX,NFILT=1400)
- real*4 dd(NMAX), window(-NFILT/2:NFILT/2)
+ real*4 dd(NMAX), window(-NFILT/2:NFILT/2), xjunk
complex cref,camp,cfilt,cw
integer itone(79)
logical first
data first/.true./
- common/heap8/cref(NFRAME),camp(NMAX),cfilt(NMAX),cw(NMAX)
+ common/heap8/cref(NFRAME),camp(NMAX),cfilt(NMAX),cw(NMAX),xjunk(NFRAME)
save first
nstart=dt*12000+1
- call genft8refsig(itone,cref,f0)
+! call genft8refsig(itone,cref,f0)
+ nsym=79
+ nsps=1920
+ fs=12000.0
+ icmplx=1
+ bt=4.0 ! Temporary compromise?
+ call gen_ft8wave(itone,nsym,nsps,bt,fs,f0,cref,xjunk,icmplx,NFRAME)
camp=0.
do i=1,nframe
id=nstart-1+i