mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-26 22:28:41 -05:00
Remove DC component of symbol powers before computing FFT.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@2559 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
73be1b0fcd
commit
29599830eb
@ -60,6 +60,8 @@ subroutine ccf65(ss,nhsym,nfast,ssmax,sync1,ipol1,jpz,dt1,flipk, &
|
|||||||
! s(i)=ss(ip,i)+ss(ip,i+1)
|
! s(i)=ss(ip,i)+ss(ip,i+1)
|
||||||
s(i)=min(ssmax,ss(ip,i)+ss(ip,i+1))
|
s(i)=min(ssmax,ss(ip,i)+ss(ip,i+1))
|
||||||
enddo
|
enddo
|
||||||
|
call pctile(s,tmp1,nhsym-1,50,base)
|
||||||
|
s(1:nhsym-1)=s(1:nhsym-1)-base
|
||||||
s(nhsym:NFFT)=0.
|
s(nhsym:NFFT)=0.
|
||||||
call four2a(s,NFFT,1,-1,0) !Real-to-complex FFT
|
call four2a(s,NFFT,1,-1,0) !Real-to-complex FFT
|
||||||
do i=0,NH
|
do i=0,NH
|
||||||
|
Loading…
Reference in New Issue
Block a user