mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-28 20:32:28 -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)
|
call getarg(5,arg)
|
||||||
read(arg,*) snrdb !S/N in dB (2500 hz reference BW)
|
read(arg,*) snrdb !S/N in dB (2500 hz reference BW)
|
||||||
|
|
||||||
rmsdb=40.
|
rms=100.0
|
||||||
rms=10.0**(0.05*rmsdb)
|
bandwidth_ratio=2500.0/6000.0
|
||||||
sig=10.0**(0.05*snrdb)
|
sig=sqrt(2*bandwidth_ratio)*10.0**(0.05*snrdb)
|
||||||
twopi=8.0*atan(1.0)
|
twopi=8.0*atan(1.0)
|
||||||
|
|
||||||
h=default_header(12000,NMAX)
|
h=default_header(12000,NMAX)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user