diff options
| author | Christoph Berg <christoph.berg@credativ.de> | 2019-07-17 15:12:32 +0200 |
|---|---|---|
| committer | Christoph Berg <christoph.berg@credativ.de> | 2019-07-17 15:12:32 +0200 |
| commit | 3d67be3023bf34eac7f93fa422f5ef569abb92a9 (patch) | |
| tree | f3748d6a113c50d483882b60b732a9d211100cf8 /lib/fast_decode.f90 | |
| parent | 62c0c627f4f8aec46a082bf098d4f1523a16d297 (diff) | |
New upstream version 2.1.0+repackupstream/2.1.0+repack
Diffstat (limited to 'lib/fast_decode.f90')
| -rw-r--r-- | lib/fast_decode.f90 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/fast_decode.f90 b/lib/fast_decode.f90 index eebb7310..c3cadb6a 100644 --- a/lib/fast_decode.f90 +++ b/lib/fast_decode.f90 @@ -1,4 +1,4 @@ -subroutine fast_decode(id2,narg,ntrperiod,line,mycall_12, & +subroutine fast_decode(id2,narg,trperiod,line,mycall_12, & hiscall_12) parameter (NMAX=30*12000) @@ -6,6 +6,7 @@ subroutine fast_decode(id2,narg,ntrperiod,line,mycall_12, & integer*2 id2a(NMAX) integer*2 id2b(NMAX) integer narg(0:14) + double precision trperiod real dat(30*12000) complex cdat(262145),cdat2(262145) real psavg(450) @@ -41,7 +42,7 @@ subroutine fast_decode(id2,narg,ntrperiod,line,mycall_12, & nhashcalls=narg(12) line(1:100)(1:1)=char(0) - if(t0.gt.float(ntrperiod)) go to 900 + if(t0.gt.trperiod) go to 900 if(t0.gt.t1) go to 900 if(nmode.eq.102) then @@ -53,7 +54,7 @@ subroutine fast_decode(id2,narg,ntrperiod,line,mycall_12, & cdat2=cdat ndat=ndat0 call wav11(id2,ndat,dat) - nzz=11025*ntrperiod + nzz=11025*int(trperiod) !beware if fractional T/R period ever used here if(ndat.lt.nzz) dat(ndat+1:nzz)=0.0 ndat=min(ndat,30*11025) call ana932(dat,ndat,cdat,npts) !Make downsampled analytic signal |
