mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-23 04:38:37 -05:00
Trying to make on-the-fly work.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@437 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
d11395ea89
commit
e36cd03a37
@ -25,6 +25,10 @@ subroutine decode1(iarg)
|
|||||||
10 continue
|
10 continue
|
||||||
if(newdat2.gt.0) then
|
if(newdat2.gt.0) then
|
||||||
call getfile2(fname80,nlen)
|
call getfile2(fname80,nlen)
|
||||||
|
newdat2=0
|
||||||
|
kbuf=1
|
||||||
|
kk=NSMAX
|
||||||
|
kkdone=0
|
||||||
newdat=1
|
newdat=1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -36,7 +40,6 @@ subroutine decode1(iarg)
|
|||||||
call map65a(newdat)
|
call map65a(newdat)
|
||||||
if(mousebutton.eq.0) ndecoding0=ndecoding
|
if(mousebutton.eq.0) ndecoding0=ndecoding
|
||||||
ndecoding=0
|
ndecoding=0
|
||||||
newdat2=0
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if(ns0.lt.0) then
|
if(ns0.lt.0) then
|
||||||
|
16
decode1a.f
16
decode1a.f
@ -86,25 +86,9 @@ C Find best DF, f1, f2, DT, and pol
|
|||||||
if(i0.lt.1) i0=1
|
if(i0.lt.1) i0=1
|
||||||
nz=n6+1-i0
|
nz=n6+1-i0
|
||||||
|
|
||||||
! ip0=ipol
|
|
||||||
! nflip=1
|
|
||||||
call afc65b(c5x(i0),c5y(i0),nz,fsample,nflip,ipol,a,dt,
|
call afc65b(c5x(i0),c5y(i0),nz,fsample,nflip,ipol,a,dt,
|
||||||
+ ccfbest,dtbest)
|
+ ccfbest,dtbest)
|
||||||
|
|
||||||
! nflip=-1
|
|
||||||
! ipol=ip0
|
|
||||||
! call afc65b(c5x(i0),c5y(i0),nz,fsample,nflip,ipol,a,dt,
|
|
||||||
! + ccfbest2,dtbest)
|
|
||||||
!
|
|
||||||
! if(ccfbest2.lt.ccfbest) then
|
|
||||||
! nflip=1
|
|
||||||
! ipol=ip0
|
|
||||||
! call afc65b(c5x(i0),c5y(i0),nz,fsample,nflip,ipol,a,dt,
|
|
||||||
! + ccfbest,dtbest)
|
|
||||||
! else
|
|
||||||
! ccfbest=ccfbest
|
|
||||||
! endif
|
|
||||||
|
|
||||||
pol=a(4)/57.2957795
|
pol=a(4)/57.2957795
|
||||||
aa=cos(pol)
|
aa=cos(pol)
|
||||||
bb=sin(pol)
|
bb=sin(pol)
|
||||||
|
6
four2a.f
6
four2a.f
@ -50,6 +50,7 @@ C Planning: FFTW_ESTIMATE, FFTW_MEASURE, FFTW_PATIENT, FFTW_EXHAUSTIVE
|
|||||||
aa(j)=a(j)
|
aa(j)=a(j)
|
||||||
enddo
|
enddo
|
||||||
endif
|
endif
|
||||||
|
call sleep_msec(0)
|
||||||
if(isign.eq.-1 .and. iform.eq.1) then
|
if(isign.eq.-1 .and. iform.eq.1) then
|
||||||
call sfftw_plan_dft_1d_(plan(i),nfft,a,a,
|
call sfftw_plan_dft_1d_(plan(i),nfft,a,a,
|
||||||
+ FFTW_FORWARD,nspeed)
|
+ FFTW_FORWARD,nspeed)
|
||||||
@ -63,6 +64,7 @@ C Planning: FFTW_ESTIMATE, FFTW_MEASURE, FFTW_PATIENT, FFTW_EXHAUSTIVE
|
|||||||
else
|
else
|
||||||
stop 'Unsupported request in four2a'
|
stop 'Unsupported request in four2a'
|
||||||
endif
|
endif
|
||||||
|
call sleep_msec(0)
|
||||||
i=nplan
|
i=nplan
|
||||||
if(nfft.le.32768) then
|
if(nfft.le.32768) then
|
||||||
do j=1,nfft
|
do j=1,nfft
|
||||||
@ -70,7 +72,9 @@ C Planning: FFTW_ESTIMATE, FFTW_MEASURE, FFTW_PATIENT, FFTW_EXHAUSTIVE
|
|||||||
enddo
|
enddo
|
||||||
endif
|
endif
|
||||||
|
|
||||||
10 call sfftw_execute_(plan(i))
|
10 call sleep_msec(0)
|
||||||
|
call sfftw_execute_(plan(i))
|
||||||
|
call sleep_msec(0)
|
||||||
return
|
return
|
||||||
|
|
||||||
999 do i=1,nplan
|
999 do i=1,nplan
|
||||||
|
@ -49,9 +49,6 @@ subroutine getfile2(fname,len)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
read(filename(8:11),*) nutc
|
read(filename(8:11),*) nutc
|
||||||
kbuf=1
|
|
||||||
kk=NSMAX
|
|
||||||
kkdone=0
|
|
||||||
ndiskdat=1
|
ndiskdat=1
|
||||||
ndecoding=4
|
ndecoding=4
|
||||||
mousebutton=0
|
mousebutton=0
|
||||||
|
2
map65.py
2
map65.py
@ -317,6 +317,8 @@ def openfile(event=NONE):
|
|||||||
Audio.getfile(fname,len(fname))
|
Audio.getfile(fname,len(fname))
|
||||||
if Audio.gcom2.ierr: print 'Error ',Audio.gcom2.ierr, \
|
if Audio.gcom2.ierr: print 'Error ',Audio.gcom2.ierr, \
|
||||||
'when trying to read file',fname
|
'when trying to read file',fname
|
||||||
|
bdecode.configure(bg='#66FFFF',activebackground='#66FFFF', \
|
||||||
|
state=DISABLED)
|
||||||
mrudir=os.path.dirname(fname)
|
mrudir=os.path.dirname(fname)
|
||||||
fileopened=os.path.basename(fname)
|
fileopened=os.path.basename(fname)
|
||||||
os.chdir(appdir)
|
os.chdir(appdir)
|
||||||
|
@ -93,7 +93,10 @@ C Compute spectra at four polarizations, using half-symbol steps.
|
|||||||
ndecoding=1
|
ndecoding=1
|
||||||
go to 999
|
go to 999
|
||||||
endif
|
endif
|
||||||
|
kkdone=i1-1
|
||||||
call sleep_msec(0)
|
call sleep_msec(0)
|
||||||
|
write(81,3001) n,kbuf,kk,kkdone
|
||||||
|
3001 format(4i10)
|
||||||
enddo
|
enddo
|
||||||
|
|
||||||
999 kkdone=i1-1
|
999 kkdone=i1-1
|
||||||
|
Loading…
Reference in New Issue
Block a user