From 4535db44f4038281a6dc90d51b495ebcb770ede9 Mon Sep 17 00:00:00 2001
From: Joe Taylor <k1jt@arrl.org>
Date: Mon, 19 Nov 2012 23:46:44 +0000
Subject: [PATCH] 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
---
 lib/redsync.f90 | 4 ++--
 mainwindow.cpp  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/redsync.f90 b/lib/redsync.f90
index dbcee7529..5a790094f 100644
--- a/lib/redsync.f90
+++ b/lib/redsync.f90
@@ -30,7 +30,8 @@ subroutine redsync(ss,ntrperiod,ihsym,iz,red)
   red=red/xmed
   smax=0.
   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))
   enddo
   h=10.
@@ -38,4 +39,3 @@ subroutine redsync(ss,ntrperiod,ihsym,iz,red)
 
   return
 end subroutine redsync
-        
diff --git a/mainwindow.cpp b/mainwindow.cpp
index adbee8513..a4f116dcc 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -1,4 +1,4 @@
-//---------------------------------------------------------------- MainWindow
+//--------------------------------------------------------------- MainWindow
 #include "mainwindow.h"
 #include "ui_mainwindow.h"
 #include "devsetup.h"