Commit Graph

2591 Commits

Author SHA1 Message Date
Bill Somerville
93b2f4164a Improve the randomness of the srand seed generator
XOR:ing the time since epoch in seconds with the PID fails for processes
started every second since the PID and time increment in step regularly in
this scenario and therefore give identical seeds. Thanks to Steve K9AN for
spotting this subtle flaw.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6294 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-18 17:32:56 +00:00
Bill Somerville
906b2dba89 Fix reading from /dev/urandom for C library srand seed
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6293 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-18 15:14:38 +00:00
Bill Somerville
bc3e565ef5 Quote file name passed to wsprd
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6292 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-18 12:44:04 +00:00
Bill Somerville
ca5cfc1402 Fix defect in jt9 standalone mode causing randon file read
Made default values for decoding  parameters better in standalone jt65
tool.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6291 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-17 23:21:38 +00:00
Bill Somerville
d5bc774641 Get rid of jt9com and npar common blocks
Also  use correct  C binding  and have  compilers determine  sizes and
offsets.

The wsjtx.exe program now owns the  decoder shared data that is shared
with symspec.  It is now in  struct dec_data, still a  global variable
for now but hopefully a MainWindow member variable soon.

The struct  dec_data (in both C/C++  and Fortran) has a  sub structure
with the decoder  parameters which enables copying  and manipulating a
lot cleaner.

New  of  changed types  of  shared  data  must  still be  modified  in
commons.h and a  new file lib/jt9com.f90, they must stay  in sync as a
pointer to the structure is passed between C and Fortran.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6290 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-17 20:29:55 +00:00
Joe Taylor
bd38074f6b Reduce gain on 2d cumulative spectrum, to be more consistent with others.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6289 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-17 15:55:35 +00:00
Joe Taylor
a263657ba1 Include DT and fSpread on output to screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6288 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-17 15:35:39 +00:00
Bill Somerville
8668d37d9e Add new command line options to the standalone jt65 test program
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6287 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-17 10:43:07 +00:00
Joe Taylor
256feedd95 Correct the second calling sequence to jt65a().
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6286 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-17 00:47:55 +00:00
Joe Taylor
e8788ece2d Send the hinted-decode options into exp_decode65().
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6285 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-16 21:16:23 +00:00
Bill Somerville
523ee92a70 Pwr control refinements
Set tune power with SHIFT + "Pwr"  slider. SHIFT + "Pwr" slider to top
cancels separate  power level  for tune.  Smarter  tool tip  for "Pwr"
slider.

Needs User Guide update if change is acceptable.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6284 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-16 20:55:19 +00:00
Joe Taylor
9af174642b Send mycall, hiscall, hisgrid downstream to extract.f90.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6283 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-16 19:31:12 +00:00
Joe Taylor
c0c7e5d563 Suppress false decodes seen with new JT65 decoder running in crowded HF band.
Note to testers: see lines 100-105 in jt65a.f90.  If you want to experiment
with some of these parameters, one way is to uncomment lines 148-151
and look at output in "fort.79" after a decoding run.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6282 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-16 17:53:19 +00:00
Bill Somerville
2aea76777a Remember power level setting used for tune
Patch provided by Mike W9MDB, thanks.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6281 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-16 15:32:11 +00:00
Joe Taylor
b87c77ddf1 Make erasure pattern exponents work, the intended way. :-)
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6280 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-16 01:07:07 +00:00
Steven Franke
f281d082bf Make odd erasure pattern exponents work.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6279 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-16 00:49:47 +00:00
Joe Taylor
d7e7b43045 Many changes to the JT65 decode chain. This is development code! It
includes an initial implementation of the FTRSD decoder with a "qual"
parameter for evaluation of candidate codewords.  Also includes hinted
decoding.  Further testing is needed.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6278 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-15 21:24:22 +00:00
Bill Somerville
b66e0fc9b4 Clarify escaping of jt65sim arguments on *nix shells
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6277 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-15 15:56:37 +00:00
Bill Somerville
5f9ed5a5ac Tidy up command line processing in Fortran tools
Build script now  builds jt65. The tools jt65 and  jt65sim usilize the
options module for all comamnd line parsing.

The  tool  jt65sim  now  has  conventinal  command  line  options  and
switchs. Default values have been  added where appropriate and options
documentation  updated. An  option to  disable PRNG  seeding has  been
added.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6276 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-15 15:35:04 +00:00
Bill Somerville
eedb6d3458 Remove spurious argumenst that should never have been there
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6275 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-15 11:08:56 +00:00
Bill Somerville
3962a3514a More PRNG rationalization
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6274 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-15 01:36:05 +00:00
Bill Somerville
00f78dd646 Add missing files from last commit
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6273 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-14 22:37:56 +00:00
Bill Somerville
6be4f3d376 Rationalize random number seeding in C and Fortran
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6272 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-14 19:40:44 +00:00
Steven Franke
cc6ed82f9a Commit working OS X Makefile for jt65/jt65sim.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6271 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-14 15:50:12 +00:00
Steven Franke
914ab73849 One more data point.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6270 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-14 14:31:38 +00:00
Steven Franke
384a2240cf ftdata-1000.dat is tbd.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6269 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-14 02:14:15 +00:00
Steven Franke
d258279703 Add hard-won word-error-rate data.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6268 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-14 02:11:47 +00:00
Steven Franke
01b65be2f1 Revised figures for ftrsd paper.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6267 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-14 02:09:44 +00:00
Bill Somerville
81e11c06ad Ensure WF submode gets reverted to A in dual JT9+JT65 mode
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6266 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-12 11:55:41 +00:00
Steven Franke
66f0ec05b4 Updated FER values.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6258 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-10 17:17:15 +00:00
Bill Somerville
7cf8e82faf Handle disappearing displays correctly
Qt  makes sure  a widget's  window is  displayed on  a display  if the
display configuration  changes while  it is  running.  If  the display
configuration changes while  the application is not  running then only
QWidget::saveGeometry()  and  QWidget::restoreGeometry()  will  ensure
that  the  widget's window  is  correctly  displayed if  the  original
display is no longer present.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6257 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-10 14:15:43 +00:00
Joe Taylor
56a58fe6ab Implement "matched filter on s3(64,63)" as the criterion for hinted
(aka experience-based) decoding.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6256 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-09 21:02:37 +00:00
Bill Somerville
d7a4609314 Always start audio from zero angle
Merged from ^/branches/wsjtx-1.6.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6252 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-09 01:10:58 +00:00
Bill Somerville
246f3b90ea Install copyright and Debian change log in correct package directory
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6249 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-08 20:47:07 +00:00
Bill Somerville
c5ea6938d3 Another attempt to get installed locations right
That is, right for all platforms with both local and package installs.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6248 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-08 20:39:50 +00:00
Steven Franke
eef31e186b Add a few more points to FT-100000 data and fig_psuccess.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6247 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-08 19:28:58 +00:00
Bill Somerville
5d19eb3ee7 Fix a regression in the configured r/o data location
This change  will require the  following CMakeCache.txt entries  to be
deleted:

WSJTX_DATA_DESTINATION
WSJTX_DOC_DESTINATION

so that default values ca be substituted by CMake.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6244 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-08 00:22:48 +00:00
Joe Taylor
edbbc669d8 Replace the pdf file.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6243 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-07 14:17:27 +00:00
Joe Taylor
e50571135b Remove pdf file.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6242 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-07 13:49:22 +00:00
Joe Taylor
12d5ec8902 Morphing sfrsd toward ftrsd...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6241 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-07 13:44:00 +00:00
Steven Franke
c1de6ed05d Fill in more points on the Rayleigh fading plot.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6240 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-07 03:52:42 +00:00
Steven Franke
449a631bd8 Add FT Rayleigh fading WER to fig_wer2.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6239 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-07 00:33:22 +00:00
Steven Franke
a57ba0e28d Add BM Rayleigh fading Fig.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6237 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-06 23:21:01 +00:00
Bill Somerville
4cfefe8893 Allow for -0.0 DT value when matching UDP reply to CQ requests
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6236 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-06 23:14:32 +00:00
Steven Franke
b33f91f967 Small tweaks to sfrsd.lyx.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6235 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-06 22:34:38 +00:00
Steven Franke
ed03956d72 Updated bmdata.dat and tweaks to sfrsd.lyx
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6234 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-06 20:38:01 +00:00
Steven Franke
0930a149e8 Include mfsk.f90 in the Makefile.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6233 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-06 16:22:11 +00:00
Steven Franke
f6381577e4 mfsk.f90 calculates prob of symbol error vs Es/No.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6232 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-06 16:21:47 +00:00
Steven Franke
5db0f3aca7 Add gnuplot scripts for figs.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6231 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-06 14:31:12 +00:00
Steven Franke
04e9cc704c Add figures, refine notation.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6230 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-12-06 14:26:15 +00:00