mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-27 06:38:44 -05:00
Stop accumulating baseline samples when there are too many
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4966 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
78c7501680
commit
d24537420f
@ -28,7 +28,7 @@ subroutine flat4(s,npts,nflatten)
|
||||
call pctile(s(ia),ib-ia+1,npct,base) !Find lowest npct of points in segment
|
||||
do i=ia,ib
|
||||
if(s(i).le.base) then
|
||||
k=k+1 !Save these "lower envelope" points
|
||||
if (k.lt.1000) k=k+1 !Save these "lower envelope" points
|
||||
x(k)=i-i0
|
||||
y(k)=s(i)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user