Commit Graph

66 Commits

Author SHA1 Message Date
Steven Franke
f1aafe76c7 Clean up wsprd_exp. Build WSJT-X with wsprd_exp, for testing.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8408 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-01-13 03:26:54 +00:00
Steven Franke
9f9932b560 New scheme - first pass is same as stock wsprd with blocksize=1; second pass tries blocksizes {1,2,3}. Drift estimation is turned off on second pass for smaller frequency estimate variance.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8404 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-01-12 22:47:59 +00:00
Steven Franke
2697ad1d56 Don't write blocksize to wsprd.spots because it seems to corrupt the spots sent to wsprnet.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8402 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-01-12 01:54:33 +00:00
Steven Franke
ae5e00d83c Restrict max blocksize to [1,2,3].
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8401 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-01-11 23:49:03 +00:00
Steven Franke
fc6389d3ce Loop over all blocksizes, write successful blocksize to ALL_WSPR.TXT.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8400 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-01-11 23:35:11 +00:00
Steven Franke
4f0e73f68f Tweaks to simulators.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8398 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-01-07 15:26:43 +00:00
Steven Franke
e8e2d57cc2 Make the sequence detector work for arbitrary frequency offsets. Assume drift=0 for now.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8396 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-01-05 21:57:15 +00:00
Steven Franke
3ea288b97a Add new command line option (-f) to set simulated signal's frequency offset.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8395 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-01-04 17:40:33 +00:00
Steven Franke
62eabdba8e Sequence detector block length is set from command line using -b <nblock>.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8394 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-01-02 03:11:43 +00:00
Steven Franke
e2c76b5991 Experimental noncoherent block sequence detector for wspr. Not yet completely functional.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8393 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-01-02 02:16:44 +00:00
Steven Franke
d79e413da5 Make wsprsim.c accept non-integer SNR
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8392 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-01-02 01:16:13 +00:00
Steven Franke
794e6ada00 Fix a wsprd bug that was introduced in r7090, which attempted to fix encoding of callsigns like 5N/6O0O.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7391 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-17 06:41:07 +00:00
Joe Taylor
83937fbb0e In ALL_WSPR.TXT: add another decimal place for DT and place for another MHz digit.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7275 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-11-01 21:15:29 +00:00
Steven Franke
538f814905 Fix a bug in wspr callsign packing that affected wsprsim and signal subtraction for a subset of callsigns.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7090 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-09-16 19:38:18 +00:00
Bill Somerville
c2c982dba9 Fix an issue with hashing compound callsigns with prefixes shorter than 3 characters
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7044 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-08-29 17:02:16 +00:00
Bill Somerville
e7ecd5f5b3 Correcty unpack both 4 & 6 character grids from WSPR type 3 messages
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7043 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-08-29 17:02:08 +00:00
Bill Somerville
7281664990 Fix file handle leak, thanks to Mike W9MDB for the patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7038 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-08-29 17:01:31 +00:00
Steven Franke
5e8f9074a6 Fix a regression that had degraded the accuracy of wsprd frequency reporting.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7034 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-08-17 23:33:08 +00:00
Bill Somerville
1d7e86bc35 Binary branding
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6786 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-21 00:13:52 +00:00
Bill Somerville
e7bfd6de76 Sharpen
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6785 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-20 23:53:57 +00:00
Bill Somerville
e565e1796a Clean up some compiler warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6591 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-06 22:37:22 +00:00
Steven Franke
abf869f665 Remove wsprd_exp from stand-alone Makefile.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6574 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-03 20:01:43 +00:00
Steven Franke
0574251ff0 Rename wsprd_exp.c to wsprd.c and eliminate wsprd_exp.c.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6572 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-03 19:09:07 +00:00
Steven Franke
bf5195414a Tweaks to wsprd_exp. Apply Pavel's double->float patch, fix long-standing 1-second dt offset, retune metric bias to lower false-decode probability.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6571 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-03 00:33:21 +00:00
Bill Somerville
4de778c4e7 Reverting r6531 and replacing with correct fix
The WSPR  message is unpacked  into a symbol  per byte array  which is
processed  by  encoding a  whole  number  of  bytes of  message,  this
requires the output  array to be bigger than the  number of symbols to
accommodate  extra values  that are  not part  of the  message due  to
rounding up to whole bytes. I.e.  176 (11*8*2) elements to contain the
162 symbols.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6532 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-15 11:46:26 +00:00
Bill Somerville
e81f018ed5 Fix buffer overrun in WSPR encode
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6531 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-15 11:17:11 +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
Bill Somerville
5e2fec1fe4 Squash some compiler warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6145 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-11-21 20:23:39 +00:00
Joe Taylor
70a5fbd34c Add optional Rayleigh fading to jt65sim.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6132 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-11-19 20:49:55 +00:00
Bill Somerville
1a23757b26 Reintegrate merge from wsjtx_exp branch.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6122 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-11-18 01:28:12 +00:00
Bill Somerville
4279c78be9 Fix incorrect drift field in on screen WSPR decodes
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6098 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-11-14 19:24:15 +00:00
Steven Franke
a9ed7a04d9 Make fano.c decode 31 tail zeros instead of just 30. This decreases the probability of bad decodes somewhat.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5746 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-08-02 23:18:51 +00:00
Joe Taylor
50b307f905 Update Makefile.win32 for building wsprd_exp.exe.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5739 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-30 12:30:05 +00:00
Steven Franke
1c41850d3d Remove redundant comparison.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5724 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-27 00:46:32 +00:00
Steven Franke
4be15b71f4 Decrease memory footprint of stack and improve stack decoder efficiency.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5723 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-26 14:09:25 +00:00
Steven Franke
8ca565516e Add stack decoder files.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5722 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-25 23:50:29 +00:00
Steven Franke
6951499db3 Move hashtab onto the heap. Add new wsprd_exp with stack decoder option (jelinek.c)
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5721 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-25 23:48:53 +00:00
Steven Franke
ac822b3ed7 Add drift estimate refinement and other minor tweaks.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5685 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-04 19:52:57 +00:00
Steven Franke
99442421de Add -d deep search option.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5669 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-03 15:05:09 +00:00
Steven Franke
03b3b1a47d Fine tuned sync-search and iifac. No more quickmode on second pass.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5668 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-03 02:39:38 +00:00
Steven Franke
6296a1b42b Signficant decrease of time spent in sync_and_demod(0) and 1.5% more spots
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5660 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-02 01:17:52 +00:00
Steven Franke
15618e4b16 Move some arrays to heap storage.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5656 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-01 19:33:40 +00:00
Joe Taylor
5250e0765a Only one text window in WSPR and Echo modes, even if "Show DXCC" is enabled.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5651 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-01 17:38:18 +00:00
Steven Franke
de84b28e8e Move wsprd_exp.c to wsprd.c, making two-pass decoding the default for wspr mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5644 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-30 22:03:07 +00:00
Steven Franke
77b488c075 Store decodes in a struct and sort by frequency before printing.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5636 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-28 14:01:23 +00:00
Joe Taylor
87c0c7b540 Add Makefilw.win32 for test builds of wsprd-exp.exe on Windows.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5631 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-26 15:42:11 +00:00
Steven Franke
61f76d6b46 Compensate for LPF filter step response at beginning and end of transmission.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5629 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-24 02:08:59 +00:00
Steven Franke
9bc4d03823 /lib/wsprd/Makefile now creates wsprd_exp.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5628 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-22 19:42:28 +00:00
Steven Franke
40cfb61462 Two-pass decoding is now the default in wsprd_exp.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5627 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-22 19:39:43 +00:00
Steven Franke
8d3f23788c Replace some hardwired parameters with variables in wsprd_exp.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5625 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-21 22:32:22 +00:00