diff --git a/lib/analytic.f90 b/lib/analytic.f90 index e54407d94..13b99a808 100644 --- a/lib/analytic.f90 +++ b/lib/analytic.f90 @@ -43,7 +43,8 @@ subroutine analytic(d,npts,nfft,c,pc,beq) if( any(aclast .ne. ac) .or. any(pclast .ne. pc) ) then aclast=ac pclast=pc -write(*,*) 'phase coeffs ',pc + write(*,3001) pc +3001 format('Phase coeffs:',5f12.6) do i=1,nh+1 ff=(i-1)*df f=ff-1500.0 diff --git a/mainwindow.cpp b/mainwindow.cpp index 534f28b5b..16886b6a2 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1140,16 +1140,16 @@ void MainWindow::dataSink(qint64 frames) dec_data.params.ndiskdat=0; } - if(m_mode=="ISCAT" or m_mode=="MSK144" or m_bFast9) { - fastSink(frames); - return; - } - m_bUseRef=m_wideGraph->useRef(); refspectrum_(&dec_data.d2[k-m_nsps/2],&m_bClearRefSpec,&m_bRefSpec, &m_bUseRef,c_fname,len); m_bClearRefSpec=false; + if(m_mode=="ISCAT" or m_mode=="MSK144" or m_bFast9) { + fastSink(frames); + return; + } + // Get power, spectrum, and ihsym int trmin=m_TRperiod/60; // int k (frames - 1);