From 18e8c89a43967ff65238dc5dabaca3922251ebdd Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Mon, 23 Jan 2023 11:38:15 -0500 Subject: [PATCH] Revert "Optional q65 decoding params from q65_params.txt. Maybe temporary!" This reverts commit 31bedb8528db02de2504f2ec157f4d6164b787e7. --- lib/q65_decode.f90 | 15 +-------------- lib/qra/q65/q65.f90 | 13 +------------ 2 files changed, 2 insertions(+), 26 deletions(-) diff --git a/lib/q65_decode.f90 b/lib/q65_decode.f90 index aa7acb5b9..4990a24ec 100644 --- a/lib/q65_decode.f90 +++ b/lib/q65_decode.f90 @@ -73,9 +73,8 @@ contains real f0decodes(100) integer dat4(13) !Decoded message as 12 6-bit integers integer dgen(13) - integer nq65param(0:7) logical lclearave,lnewdat0,lapcqonly,unpk77_success - logical single_decode,lagain,ex + logical single_decode,lagain complex, allocatable :: c00(:) !Analytic signal, 6000 Sa/s complex, allocatable :: c0(:) !Analytic signal, 6000 Sa/s integer stageno !Added by W3SZ @@ -148,18 +147,6 @@ contains ibwb=min(10,ibwb+1) maxiters=60 endif - inquire(file='q65_params.txt',exist=ex) - if(ex) then - open(28,file='q65_params.txt',status='old') - read(28,*) nq65param - ibwa=max(1,nq65param(nsubmode)) - ibwa=min(40,ibwa) - ibwb=ibwa - maxiters=nq65param(4+iand(ndepth,3)) - close(28) - endif -! write(*,3001) iand(ndepth,3),nsubmode,ibwa,ibwb,maxiters -!3001 format(5i5) ! Generate codewords for full-AP list decoding if(ichar(hiscall(1:1)).eq.0) hiscall=' ' if(ichar(hisgrid(1:1)).eq.0) hisgrid=' ' diff --git a/lib/qra/q65/q65.f90 b/lib/qra/q65/q65.f90 index 956b1f53d..5baff4af1 100644 --- a/lib/qra/q65/q65.f90 +++ b/lib/qra/q65/q65.f90 @@ -396,18 +396,7 @@ subroutine q65_dec_q012(s3,LL,snr2,dat4,idec,decoded) read(c78,1060) apsymbols endif -! do ibw=ibwa,ibwb -!### - ibw_mid=(ibwa+ibwb)/2 - iimax=3 - if(maxiters.eq.40) iimax=5 - if(maxiters.eq.60) iimax=7 -! print*,'a',maxiters,ibwa,ibwb,ibw_mid,iimax - do ii=1,iimax - n=ii/2 - if(iand(ii,1).eq.0) n=-n - ibw=ibw_mid + n -!### + do ibw=ibwa,ibwb b90=1.72**ibw b90ts=b90/baud call q65_dec2(s3,nsubmode,b90ts,esnodb,irc,dat4,decoded)