mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-04-14 15:29:17 -04:00
Limit the Rx freq range to 1600-1650 Hz for WSPR-LF.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7678 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
669aa55457
commit
c248d5095a
@ -1,4 +1,4 @@
|
||||
subroutine getfc1w(c,fs,fc1,xsnr)
|
||||
subroutine getfc1w(c,fs,fa,fb,fc1,xsnr)
|
||||
|
||||
include 'wsprlf_params.f90'
|
||||
|
||||
@ -25,8 +25,9 @@ subroutine getfc1w(c,fs,fc1,xsnr)
|
||||
smax=0.
|
||||
ipk=0
|
||||
fc1=0.
|
||||
ia=nint(190.0/df1)
|
||||
do i=-ia,ia
|
||||
ia=nint(fa/df1)
|
||||
ib=nint(fb/df1)
|
||||
do i=ia,ib
|
||||
f=i*df1
|
||||
if(s(i).gt.smax) then
|
||||
smax=s(i)
|
||||
|
@ -62,7 +62,7 @@ program wspr5d
|
||||
|
||||
open(13,file=trim(data_dir)//'/ALL_WSPR.TXT',status='unknown', &
|
||||
position='append')
|
||||
maxn=6 !Default value
|
||||
maxn=8 !Default value
|
||||
twopi=8.0*atan(1.0)
|
||||
fs=NSPS*12000.0/NSPS0 !Sample rate
|
||||
dt=1.0/fs !Sample interval (s)
|
||||
@ -120,7 +120,9 @@ program wspr5d
|
||||
go to 999
|
||||
endif
|
||||
close(10)
|
||||
call getfc1w(c,fs,fc1,xsnr) !First approx for freq
|
||||
fa=100.0
|
||||
fb=150.0
|
||||
call getfc1w(c,fs,fa,fb,fc1,xsnr) !First approx for freq
|
||||
call getfc2w(c,csync,fs,fc1,fc2,fc3) !Refined freq
|
||||
|
||||
!NB: Measured performance is about equally good using fc2 or fc3 here:
|
||||
|
Loading…
Reference in New Issue
Block a user