From 37f727ac0746fd85504aa46c1f023c09b3eff33a Mon Sep 17 00:00:00 2001 From: hibby Date: Fri, 16 Feb 2018 15:17:14 +0000 Subject: New upstream version 1.8.0+repack --- lib/softsym.f90 | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'lib/softsym.f90') diff --git a/lib/softsym.f90 b/lib/softsym.f90 index 5bb6265f..6475b0e4 100644 --- a/lib/softsym.f90 +++ b/lib/softsym.f90 @@ -3,9 +3,13 @@ subroutine softsym(id2,npts8,nsps8,newdat,fpk,syncpk,snrdb,xdt, & ! Compute the soft symbols - complex c2(0:1440-1) - complex c3(0:1440-1) - complex c5(0:1440-1) + use timer_module, only: timer + + parameter (NZ2=1512,NZ3=1360) + logical, intent(inout) :: newdat + complex c2(0:NZ2-1) + complex c3(0:NZ3-1) + complex c5(0:NZ3-1) real a(3) integer*1 i1SoftSymbolsScrambled(207) integer*1 i1SoftSymbols(207) @@ -16,18 +20,20 @@ subroutine softsym(id2,npts8,nsps8,newdat,fpk,syncpk,snrdb,xdt, & ! Mix, low-pass filter, and downsample to 16 samples per symbol call timer('downsam9',0) - call downsam9(id2,npts8,nsps8,newdat,nspsd,fpk,c2,nz2) + call downsam9(id2,npts8,nsps8,newdat,nspsd,fpk,c2) call timer('downsam9',1) - call peakdt9(c2,nz2,nsps8,nspsd,c3,nz3,xdt) !Find DT + call peakdt9(c2,nsps8,nspsd,c3,xdt) !Find DT fsample=1500.0/ndown a=0. call timer('afc9 ',0) - call afc9(c3,nz3,fsample,a,syncpk) !Find deltaF, fDot, fDDot + call afc9(c3,nz3,fsample,a,syncpk) !Find deltaF, fDot, extra DT call timer('afc9 ',1) freq=fpk - a(1) drift=-2.0*a(2) +! write(*,3301) fpk,freq,a +!3301 format(2f9.3,3f10.4) a3=a(3) a(3)=0. -- cgit v1.2.3