summaryrefslogtreecommitdiff
path: root/lib/jt9.f90
diff options
context:
space:
mode:
Diffstat (limited to 'lib/jt9.f90')
-rw-r--r--lib/jt9.f9010
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/jt9.f90 b/lib/jt9.f90
index aff2844e..67e7ac31 100644
--- a/lib/jt9.f90
+++ b/lib/jt9.f90
@@ -22,7 +22,8 @@ program jt9
!### ndepth was defined as 60001. Why???
integer :: arglen,stat,offset,remain,mode=0,flow=200,fsplit=2700, &
fhigh=4000,nrxfreq=1500,ntrperiod=1,ndepth=1,nexp_decode=0
- logical :: read_files = .true., tx9 = .false., display_help = .false.
+ logical :: read_files = .true., tx9 = .false., display_help = .false., &
+ bLowSidelobes = .false.
type (option) :: long_options(26) = [ &
option ('help', .false., 'h', 'Display this help message', ''), &
option ('shmem',.true.,'s','Use shared memory for sample data','KEY'), &
@@ -156,7 +157,7 @@ program jt9
end do
go to 999
endif
-
+
iret=fftwf_init_threads() !Initialize FFTW threading
! Default to 1 thread, but use nthreads for the big ones
@@ -178,6 +179,7 @@ program jt9
go to 999
endif
+ if(mode.eq.5) ndepth=3
allocate(shared_data)
nflatten=0
@@ -224,7 +226,7 @@ program jt9
endif
shared_data%id2=0 !??? Why is this necessary ???
- if(mode.eq.5) npts=62208
+ if(mode.eq.5) npts=21*3456
do iblk=1,npts/kstep
k=iblk*kstep
if(mode.eq.8 .and. k.gt.179712) exit
@@ -242,7 +244,7 @@ program jt9
ingain=0
call timer('symspec ',0)
nminw=1
- call symspec(shared_data,k,ntrperiod,nsps,ingain,nminw,pxdb, &
+ call symspec(shared_data,k,ntrperiod,nsps,ingain,bLowSidelobes,nminw,pxdb, &
s,df3,ihsym,npts8,pxdbmax)
call timer('symspec ',1)
endif