mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-23 20:58:55 -05:00
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:
parent
7f0ff9e46d
commit
ce0b04cb08
@ -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
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user