mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-22 12:08:43 -04:00
Empirical tweaks (not necessarily correct) to values of sync and snr.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2676 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
fa820a1cba
commit
9f00ccb574
@ -61,8 +61,8 @@ subroutine sync9(ss,tstep,df3,ntol,nfqso,sync,snr,fpk,ccfred)
|
||||
endif
|
||||
enddo
|
||||
ave=sum/nsum
|
||||
snr=10.0*log10(sbest/ave) - 10.0*log10(2500.0/df3)
|
||||
sync=sbest/ave - 2.0
|
||||
snr=10.0*log10(sbest/ave) - 10.0*log10(2500.0/df3) + 2.0
|
||||
sync=sbest/ave - 1.0
|
||||
if(sync.lt.0.0) sync=0.0
|
||||
if(sync.gt.10.0) sync=10.0
|
||||
fpk=(ipkbest-1)*df3
|
||||
|
@ -746,6 +746,8 @@ void MainWindow::decoderFinished() //decoderFinished
|
||||
ui->decodedTextBrowser->append(line);
|
||||
}
|
||||
f.close();
|
||||
ui->DecodeButton->setStyleSheet("");
|
||||
decodeBusy(false);
|
||||
if(m_loopall) on_actionOpen_next_in_directory_triggered();
|
||||
}
|
||||
|
||||
@ -831,6 +833,8 @@ void MainWindow::freezeDecode(int n) //freezeDecode()
|
||||
|
||||
void MainWindow::decode() //decode()
|
||||
{
|
||||
decodeBusy(true);
|
||||
ui->DecodeButton->setStyleSheet(m_pbdecoding_style1);
|
||||
jt9com_.newdat=1;
|
||||
jt9com_.nagain=0;
|
||||
jt9com_.nfqso=g_pWideGraph->QSOfreq();
|
||||
|
Loading…
Reference in New Issue
Block a user