Commit Graph

75 Commits

Author SHA1 Message Date
Joe Taylor
3a8b2085eb Update a copyright notice.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8544 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-03-07 16:20:40 +00:00
Steven Franke
0ce5de0f28 Another round of tweaks to wsprd.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8500 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-02-12 01:13:03 +00:00
Steven Franke
0a21abd6bc Move wsprd_exp.c into wsprd.c. Change CMakeLists.txt so that it builds wsprd.c.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8497 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-02-11 21:36:52 +00:00
Steven Franke
e7077b4842 When called with -B, make second-pass the same as it was before block detection was introduced. This will be obtained with the Normal decode setting in WSJT-X.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8496 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-02-11 21:13:41 +00:00
Steven Franke
0829cdb98c Fix memory allocation error.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8494 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-02-11 19:06:31 +00:00
Steven Franke
4f96fbd1ca Use calloc instead of malloc with init loop.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8493 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-02-11 18:33:16 +00:00
Steven Franke
0eb941e082 Fixed numerous memory leaks in wsprd with the help of valgrind..
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8492 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-02-11 17:29:38 +00:00
Steven Franke
de2e6e1a2c Remove some unused variables.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8489 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-02-11 02:24:05 +00:00
Steven Franke
7578126454 Prevent a crash caused by a certain type of false decode. Update copyright date.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8452 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2018-02-03 16:31:22 +00:00
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