Reorder nfqso reording after dedupe
This commit is contained in:
parent
123cf9c5a0
commit
a276a643bb
@ -159,12 +159,7 @@ subroutine syncjs8(dd,icos,nfa,nfb,syncmin,nfqso,s,candidate,ncand,sbase)
|
||||
enddo
|
||||
ncand=k
|
||||
|
||||
! Put nfqso at top of list
|
||||
do i=1,ncand
|
||||
if(abs(candidate0(1,i)-nfqso).lt.10.0) candidate0(1,i)=-candidate0(1,i)
|
||||
enddo
|
||||
|
||||
! Save only the best of near-dupe freqs.
|
||||
! Save only the best of near-dupe freqs.
|
||||
do i=1,ncand
|
||||
if(i.ge.2) then
|
||||
do j=1,i-1
|
||||
@ -181,6 +176,12 @@ subroutine syncjs8(dd,icos,nfa,nfb,syncmin,nfqso,s,candidate,ncand,sbase)
|
||||
endif
|
||||
enddo
|
||||
|
||||
! Put nfqso at top of list
|
||||
do i=1,ncand
|
||||
if(abs(candidate0(1,i)-nfqso).lt.10.0) candidate0(1,i)=-candidate0(1,i)
|
||||
enddo
|
||||
|
||||
|
||||
fac=20.0/maxval(s)
|
||||
s=fac*s
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user