Fixed a bug -- probably very minor -- in filbig

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@818 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2008-05-29 17:50:20 +00:00
parent 2ea48b6aea
commit 950b87d893
2 changed files with 3 additions and 2 deletions

View File

@ -70,6 +70,7 @@ C If we just have a new f0, continue with the existing ca and cb.
ca(i)=cmplx(float(int(id(1,i))),float(int(id(2,i)))) ca(i)=cmplx(float(int(id(1,i))),float(int(id(2,i))))
cb(i)=cmplx(float(int(id(3,i))),float(int(id(4,i)))) cb(i)=cmplx(float(int(id(3,i))),float(int(id(4,i))))
enddo enddo
if(nmax.lt.NFFT1) then if(nmax.lt.NFFT1) then
do i=nmax+1,NFFT1 do i=nmax+1,NFFT1
ca(i)=0. ca(i)=0.
@ -93,7 +94,7 @@ C i0 is the bin number in ca and cb closest to f0.
enddo enddo
do i=nh+1,NFFT2 do i=nh+1,NFFT2
j=i0+i-1-NFFT2 j=i0+i-1-NFFT2
if(j.lt.1) j=j+NFFT2 if(j.lt.1) j=j+NFFT1
c4a(i)=rfilt(i)*ca(j) c4a(i)=rfilt(i)*ca(j)
c4b(i)=rfilt(i)*cb(j) c4b(i)=rfilt(i)*cb(j)
enddo enddo

View File

@ -1,4 +1,4 @@
#-------------------------------------------------------------------- MAP65 #--------------------------------------------------------------------- MAP65
# $Date$ $Revision$ # $Date$ $Revision$
# #
from Tkinter import * from Tkinter import *