mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-24 10:22:26 -04:00
More work on Phase Equalization interface.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7506 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
c3d83a207a
commit
2644efc699
@ -215,6 +215,7 @@ write(*,*) 'training ',navg,sqrt(chisqr),rmsdiff
|
|||||||
training_dxcall(1:12)=' '
|
training_dxcall(1:12)=' '
|
||||||
currently_training=.false.
|
currently_training=.false.
|
||||||
trained=.true.
|
trained=.true.
|
||||||
|
btrain=.false.
|
||||||
call date_and_time(date,time,zone,values)
|
call date_and_time(date,time,zone,values)
|
||||||
write(pcoeff_filename,'(i2.2,i2.2,i2.2,"_",i2.2,i2.2,i2.2)') &
|
write(pcoeff_filename,'(i2.2,i2.2,i2.2,"_",i2.2,i2.2,i2.2)') &
|
||||||
values(1)-2000,values(2),values(3),values(5),values(6),values(7)
|
values(1)-2000,values(2),values(3),values(5),values(6),values(7)
|
||||||
|
@ -1346,12 +1346,11 @@ void MainWindow::fastSink(qint64 frames)
|
|||||||
bool bshmsg=ui->cbShMsgs->isChecked();
|
bool bshmsg=ui->cbShMsgs->isChecked();
|
||||||
bool bcontest=m_config.contestMode();
|
bool bcontest=m_config.contestMode();
|
||||||
bool brxequalize=m_config.rxEqualize();
|
bool brxequalize=m_config.rxEqualize();
|
||||||
bool btrain=m_bTrain;
|
|
||||||
bool bswl=ui->cbSWL->isChecked();
|
bool bswl=ui->cbSWL->isChecked();
|
||||||
strncpy(dec_data.params.hiscall,(hisCall + " ").toLatin1 ().constData (), 12);
|
strncpy(dec_data.params.hiscall,(hisCall + " ").toLatin1 ().constData (), 12);
|
||||||
strncpy(dec_data.params.mygrid, (m_config.my_grid()+" ").toLatin1(),6);
|
strncpy(dec_data.params.mygrid, (m_config.my_grid()+" ").toLatin1(),6);
|
||||||
hspec_(dec_data.d2,&k,&nutc0,&nTRpDepth,&RxFreq,&m_Ftol,&bmsk144,&bcontest,&brxequalize,
|
hspec_(dec_data.d2,&k,&nutc0,&nTRpDepth,&RxFreq,&m_Ftol,&bmsk144,&bcontest,&brxequalize,
|
||||||
&btrain,&m_inGain,&dec_data.params.mycall[0],&dec_data.params.hiscall[0],&bshmsg,&bswl,
|
&m_bTrain,&m_inGain,&dec_data.params.mycall[0],&dec_data.params.hiscall[0],&bshmsg,&bswl,
|
||||||
fast_green,fast_s,&fast_jh,&line[0],&dec_data.params.mygrid[0],12,12,80,6);
|
fast_green,fast_s,&fast_jh,&line[0],&dec_data.params.mygrid[0],12,12,80,6);
|
||||||
float px = fast_green[fast_jh];
|
float px = fast_green[fast_jh];
|
||||||
QString t;
|
QString t;
|
||||||
@ -1954,11 +1953,6 @@ void MainWindow::on_stopButton_clicked() //stopButton
|
|||||||
if(m_bRefSpec) {
|
if(m_bRefSpec) {
|
||||||
MessageBox::information_message (this, tr ("Reference spectrum saved"));
|
MessageBox::information_message (this, tr ("Reference spectrum saved"));
|
||||||
m_bRefSpec=false;
|
m_bRefSpec=false;
|
||||||
m_bTrain=false;
|
|
||||||
}
|
|
||||||
if(m_bTrain) {
|
|
||||||
MessageBox::information_message (this, tr ("Phase Training Disabled"));
|
|
||||||
m_bTrain=false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6121,8 +6115,10 @@ void MainWindow::on_actionMeasure_phase_response_triggered()
|
|||||||
{
|
{
|
||||||
if(m_bTrain) {
|
if(m_bTrain) {
|
||||||
m_bTrain=false;
|
m_bTrain=false;
|
||||||
|
MessageBox::information_message (this, tr ("Phase Training Disabled"));
|
||||||
} else {
|
} else {
|
||||||
m_bTrain=true;
|
m_bTrain=true;
|
||||||
|
MessageBox::information_message (this, tr ("Phase Training Enabled"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user