Use a dB scale for red(i).

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2753 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2012-11-19 23:46:44 +00:00
parent 7f0ff9e46d
commit ce0b04cb08
2 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,8 @@ subroutine redsync(ss,ntrperiod,ihsym,iz,red)
red=red/xmed red=red/xmed
smax=0. smax=0.
do i=1,iz do i=1,iz
red(i)=2.0*sqrt(red(i)) red(i)=0.2*db(red(i))
! red(i)=2.0*sqrt(red(i))
smax=max(smax,red(i)) smax=max(smax,red(i))
enddo enddo
h=10. h=10.
@ -38,4 +39,3 @@ subroutine redsync(ss,ntrperiod,ihsym,iz,red)
return return
end subroutine redsync end subroutine redsync

View File

@ -1,4 +1,4 @@
//---------------------------------------------------------------- MainWindow //--------------------------------------------------------------- MainWindow
#include "mainwindow.h" #include "mainwindow.h"
#include "ui_mainwindow.h" #include "ui_mainwindow.h"
#include "devsetup.h" #include "devsetup.h"