mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-22 20:18:35 -04:00
Correct the calculation of sig in cwsim.
This commit is contained in:
parent
354d3bcb1a
commit
4c84aab38e
@ -31,9 +31,9 @@ program cwsim
|
||||
call getarg(5,arg)
|
||||
read(arg,*) snrdb !S/N in dB (2500 hz reference BW)
|
||||
|
||||
rmsdb=40.
|
||||
rms=10.0**(0.05*rmsdb)
|
||||
sig=10.0**(0.05*snrdb)
|
||||
rms=100.0
|
||||
bandwidth_ratio=2500.0/6000.0
|
||||
sig=sqrt(2*bandwidth_ratio)*10.0**(0.05*snrdb)
|
||||
twopi=8.0*atan(1.0)
|
||||
|
||||
h=default_header(12000,NMAX)
|
||||
|
Loading…
Reference in New Issue
Block a user