Commit Graph

2984 Commits

Author SHA1 Message Date
Joe Taylor
d25e188dca Code cleanup. 2021-01-12 11:28:46 -05:00
Joe Taylor
ef478717ea Don't forget to do something about nsmo = ??. 2021-01-12 08:18:17 -05:00
Bill Somerville
b741eb761e
Implement the promised wsprd default data directory if accessible 2021-01-12 01:04:15 +00:00
Joe Taylor
cc2ca0f7e7 Fix an "off by one" times mode_q65 error, and some code cleanup. 2021-01-11 15:09:47 -05:00
Joe Taylor
fe1aefe93a More code cleanup for module q65.f90. 2021-01-10 16:30:07 -05:00
Joe Taylor
e8ba69099a Re-organize module q65.f90. Can still be improved! 2021-01-09 19:58:34 -05:00
Joe Taylor
c3010f1d14 Revert "Revert "Improve the trace behavior of timer().""
This reverts commit 7f4876cee0.
2021-01-09 18:41:41 -05:00
Joe Taylor
7f4876cee0 Revert "Improve the trace behavior of timer()."
This reverts commit d60a97634b.
2021-01-09 16:35:04 -05:00
Joe Taylor
d60a97634b Improve the trace behavior of timer(). 2021-01-09 15:03:41 -05:00
Joe Taylor
146ca19b97 Add some additional calls to timer(). 2021-01-09 11:02:54 -05:00
Joe Taylor
57b6b2dca1 Set the "b90" search range once (in q65_decocd.f90) and share valies through q65.mod. 2021-01-08 09:42:07 -05:00
Joe Taylor
3b54196206 Remove two disused lines of code. 2021-01-07 13:37:12 -05:00
k9an
b21477b3ba Fix a compiler warning. 2021-01-07 11:38:59 -06:00
Joe Taylor
f003ae653c Silence compiler warning. 2021-01-07 12:00:11 -05:00
Steven Franke
353edc4718 Fix one more compiler warning. 2021-01-07 10:18:38 -06:00
Joe Taylor
5b0975bf45 Correct several flaws in message averaging. Still may want to handle MAXAVE better? 2021-01-07 11:13:43 -05:00
Steven Franke
b9d33bc998 Address compiler warnings in fst4/w code. 2021-01-07 10:05:53 -06:00
Joe Taylor
2194f3096a Don't count lines with blank message in "ndecoded". 2021-01-06 21:44:49 -05:00
Joe Taylor
bc8d134135 Silence several compiler warnings. 2021-01-06 12:44:49 -05:00
Joe Taylor
aee0a1e851 Silence a compiler warning. 2021-01-06 10:58:25 -05:00
Bill Somerville
c7f2be4ba7
Initialize a variable 2021-01-06 15:49:51 +00:00
Bill Somerville
c407bc00f9
Revert "Mostly(?) temporary diagnostic tests."
This reverts commit fb6fcdf35e.
2021-01-06 15:48:21 +00:00
Bill Somerville
9b35eeaead
Revert "Add s1 to the diagnostic output."
This reverts commit 5fe0bd3508.
2021-01-06 15:48:07 +00:00
Joe Taylor
5fe0bd3508 Add s1 to the diagnostic output. 2021-01-06 10:30:05 -05:00
Joe Taylor
fb6fcdf35e Mostly(?) temporary diagnostic tests. 2021-01-06 10:24:08 -05:00
Joe Taylor
47c8286db8 Disallow Q65 decodes with sum(dat4)=0: all 78 bita are zero. 2021-01-05 19:45:00 -05:00
Joe Taylor
4fb90e336e Better orange sync curve. Clear message averaging after a successful decode. 2021-01-05 11:30:22 -05:00
Joe Taylor
f82356e199 q65sim: nonzero step size ==> Doppler tracking; otherwise, linear drift. 2021-01-05 10:42:19 -05:00
Joe Taylor
b8bd745816 Merge branch 'feat-fst280' of bitbucket.org:k1jt/wsjtx into feat-fst280 2021-01-05 09:53:54 -05:00
Joe Taylor
ea271152b8 Implement "orange sync curve", useful for multi-signal situation. 2021-01-04 14:38:02 -05:00
Bill Somerville
f2e9c1d91d
Merge branch 'develop' into feat-fst280 2021-01-04 15:53:21 +00:00
Bill Somerville
94977df845
Merge branch 'release-2.3.0' into develop 2021-01-04 15:38:06 +00:00
Bill Somerville
607a346cf1
Add new function needed for FST4W decoder updates 2021-01-04 15:35:32 +00:00
Steven Franke
0013b15120
Remove some debug code. 2021-01-04 15:00:05 +00:00
Steven Franke
46222c61ed
Add rudimentary sanity checks to the values parsed from FST4W_ALSO_FST4. 2021-01-04 15:00:05 +00:00
Steven Franke
41f587c240
Fix a conflict between noise baseline percentile level and noise blanker percentage. Both were using the npct variable. Add an option for an FST4 pass when in FST4W mode. 2021-01-04 15:00:05 +00:00
Steven Franke
0fef0cc6e6
Minor formatting change in fst4_decodes.dat. 2021-01-04 15:00:04 +00:00
Steven Franke
a38b48d13d
Minor format change for nutc in fst4_decodes.dat. 2021-01-04 15:00:04 +00:00
Steven Franke
a657ce29a7
FT8: Make nagain work. 2021-01-04 15:00:04 +00:00
Steven Franke
41297e8761
FT8: Commit the rest of the fix for the nagain crash. 2021-01-04 15:00:04 +00:00
Steven Franke
b51bda4806
FT8: Fix jt9 crash when nagain is invoked. 2021-01-04 15:00:04 +00:00
Steven Franke
4081be94e1
Avoid a possible of bounds error. Compute some more decode diagnostic data. 2021-01-04 15:00:03 +00:00
Steven Franke
fb7b751e6d
Remove hmod from command line parameters for fst4sim. 2021-01-04 15:00:03 +00:00
Steven Franke
701d517e6e
For fst4sim, use Lorentzian fading spectrum when fspread is negative. 2021-01-04 15:00:03 +00:00
Steven Franke
b087328fc1
Don't waste time on excess BP iterations when doing K=50. Decode a little deeper. 2021-01-04 15:00:03 +00:00
Steven Franke
8079d35561
Append decoder data to file fst4_decodes.dat instead of overwriting. 2021-01-04 15:00:02 +00:00
Steven Franke
89cbd177df
If file decdata is present in the data directory, then write detailed decoder data to file fst4_decodes.dat in the same directory. 2021-01-04 15:00:02 +00:00
Steven Franke
812bd29e54
FST4W: Use K=66 for first OSD decode attempt and for updating fst4w_calls.txt. Use K=50 for 2nd attempt. 2021-01-04 15:00:02 +00:00
Steven Franke
fc3e24f696
More work on K=50 decoding. 2021-01-04 15:00:01 +00:00
Steven Franke
65ff3ce05e
Remove some debug prints. 2021-01-04 15:00:01 +00:00
Steven Franke
11b7aa9429
Implements decoding of FST4W messages as (240,50) crc-less codewords.
By cascading the full 24-bit crc generator matrix with the (240,74) LDPC code generator, create a (240,50) generator that is used to decode with approximately 1 dB better sensitivity than the (240,64) with 14-bit CRC approach that is normally used. This approach treats the CRC bits as additional parity bits and provides no means for identifying incorrect codewords. All codewords on the list generated by the OSD algorithm have CRCs that match the CRC of the message payload. Codewords are validated by unpacking the message and comparing the unpacked message with the list of stored callsign/grid pairs stored in the fst4w_calls.txt file.
2021-01-04 14:59:56 +00:00
Joe Taylor
662a43d3dd Corrections to the frequency-drift feature in q65sim. 2021-01-04 09:07:03 -05:00
Joe Taylor
6074e4e3af Options for introducing frequency drift and frequency steps (e.g. 10 Hz) in Q65 simulator. 2021-01-03 11:19:39 -05:00
Joe Taylor
a02cbabb99 Fix an off-by-1 bug introduced in the previous commit. 2021-01-03 11:18:14 -05:00
Joe Taylor
04b22ce250 Preparing to add solution for frequendy drift to q65_sync.f90. 2021-01-02 14:21:14 -05:00
Joe Taylor
bc58604d42 Allow optional frequency drift of simulated Q65 signals. 2021-01-02 13:09:47 -05:00
Joe Taylor
e5a8e80c49 Minor tweaks to Q^% decoding scheme. 2021-01-01 15:28:41 -05:00
Joe Taylor
6b351165f2 Re-introduce Q65 timer calls. Extend red sync baseline to minimum +/- 100 Hz. 2021-01-01 10:47:22 -05:00
Joe Taylor
8a4b5b6a40 Various tweaks to the Q65 decoder; new numbering of the end-of-line decoding flags. 2020-12-31 15:52:06 -05:00
Joe Taylor
bcbca02c08 Enforce Q65 ClrAvg action when requested. Tweak somne logic. 2020-12-30 16:12:02 -05:00
Joe Taylor
e07ba410c2 Fix a problem with access to apsym0() array. 2020-12-30 15:40:06 -05:00
Joe Taylor
5d7b5f83e2 Fix several more flaws in the way Q65 decodes are presented. 2020-12-30 15:05:02 -05:00
Joe Taylor
77a0e01b05 Allow for all AP types when averaging Q65, and for navg > 9. 2020-12-30 12:10:03 -05:00
Joe Taylor
91687c573b Fix the reporting of SNR for Q65 average decodes. 2020-12-30 11:02:49 -05:00
Joe Taylor
412422db17 Add 'q' to the Q65 end-of-line flags; label right text window for "Average decodes". 2020-12-30 10:42:27 -05:00
Joe Taylor
d81c01d23d Remove unneeded arguments from calls to q65_avg and q65_avg2. 2020-12-30 09:07:41 -05:00
Joe Taylor
057967a761 For Q65 nsg averaging, wrap nsave when it reaches MAXAVE. 2020-12-30 08:44:56 -05:00
Joe Taylor
b6d2002985 Q65 decoder mostly working now with all (A B C D) decoding types. 2020-12-29 16:41:48 -05:00
Joe Taylor
520a0c7cc0 Work in progress for Q65 decoder. 2020-12-28 18:53:13 -05:00
Joe Taylor
62074ab58f Much reworking of Q65 decoder. Have temporarily enabled all types of decoding passes. 2020-12-28 15:27:10 -05:00
Joe Taylor
30ab29d9e3 Work in progress, with lots of diagnostics. Do not use on the air! 2020-12-27 15:27:26 -05:00
Joe Taylor
48297e068b More work in ptogress ... 2020-12-27 14:14:10 -05:00
Joe Taylor
d246a23948 Work in progress on message averaging: save current status. 2020-12-27 11:35:55 -05:00
Joe Taylor
5c805dfb39 another realignment of red sync curve and convention for f0. 2020-12-27 10:35:04 -05:00
Joe Taylor
c8ace441f9 New files for Q65 message averaging. 2020-12-26 10:08:53 -05:00
Joe Taylor
3d042ee56f Work in progress, on Q65 message averaging. 2020-12-26 10:04:17 -05:00
Joe Taylor
d5957f51f9 Insert some (commented out) diagnostics. 2020-12-24 13:07:29 -05:00
Joe Taylor
171e466389 More work on Q65 message averaging. 2020-12-24 09:51:02 -05:00
Joe Taylor
844930fe75 Correct the frequency alignment of red sync curve. 2020-12-23 11:03:09 -05:00
Joe Taylor
c5a0de6210 Partial implementation of Q65 message averaging. 2020-12-23 09:47:11 -05:00
Joe Taylor
008cb37c16 Update test_q65 for having removed the T/F sync flag from q65sim command line. 2020-12-22 13:41:40 -05:00
Joe Taylor
408ac7bd0d Correct the reported f0 for Q65 signals. It was off by one tone spacing. 2020-12-22 13:21:31 -05:00
Joe Taylor
cac6577127 Extend the DT range for 30 s Q65 submodes to include EME delays. 2020-12-22 09:43:25 -05:00
Joe Taylor
83c917ac57 Don't allow previous values of DT, f0 to be displayed with a no-decode. 2020-12-21 15:59:33 -05:00
Joe Taylor
044aa80dc4 Remove all vestiges of the QRA64 mode. It has been replaced by Q65. 2020-12-21 15:07:53 -05:00
Joe Taylor
36a089de21 Remove the sync-test option from q65sim.f90. 2020-12-21 13:42:03 -05:00
Joe Taylor
44516dbbc1 Make the Q65 red sync curve at least 21 tone-spacings wide, even if FTol is smaller. 2020-12-21 13:33:54 -05:00
Joe Taylor
545079e951 Reorder the ibw loop in q65_loops.f90. 2020-12-20 21:43:30 -05:00
Joe Taylor
ddf727f351 Adjust a 3 dB offset in Q65 SNRs from list decodes. 2020-12-20 21:42:42 -05:00
Joe Taylor
1f33c857ac Measure fSpread from ccf1, then use resulting width to set effective ibwmin. 2020-12-19 13:25:51 -05:00
Joe Taylor
c7ca708569 Fix the problem with not honoring "Save Decoded" in Q65 mode. 2020-12-19 11:42:42 -05:00
Joe Taylor
f23129c33c Fix a problem with Q65 FTol range extending down below 0 Hz. 2020-12-19 11:25:18 -05:00
Joe Taylor
7096a548ec Correct a problem with estimating rms of ccf for Q65-300x submodes. 2020-12-19 10:42:27 -05:00
Joe Taylor
89ab3b0f01 Fix a bounds error with very small FTol. 2020-12-18 16:30:11 -05:00
Joe Taylor
450249dd4c Add a DT label to the Q65 red sync curve. 2020-12-18 16:19:01 -05:00
Joe Taylor
67b82c7666 Remove the klunky 2D sync plot. The red sync curve is better. 2020-12-18 16:00:33 -05:00
Joe Taylor
b3769bb6c8 For Q65, plot a red "Sync curve" in the Wide Graph. 2020-12-18 13:31:14 -05:00
Joe Taylor
d165532dc5 Oops! Committed the wrong version of q65_decode.f90. 2020-12-17 19:06:07 -05:00
Joe Taylor
8507a42655 Quasi-graphical display of the sync ccf(f0,DT). 2020-12-17 17:02:28 -05:00
Joe Taylor
6b8abe32b1 One more protection against too-large FTol. 2020-12-16 15:51:46 -05:00
Joe Taylor
a47ec75f56 Reformat the test_q65 headings and output. 2020-12-15 13:17:31 -05:00
Joe Taylor
0ee61205aa Disable diagnostic writing to 'fort.55' in CWD. 2020-12-15 11:37:48 -05:00
Joe Taylor
841bbac56e Increase the Q65 list decodes to include reports -50 to +49 dB. 2020-12-15 11:03:06 -05:00
Joe Taylor
3160e63dc7 Several minor tweaks to Q65 decoding. 2020-12-15 09:32:24 -05:00
Joe Taylor
99377e4c24 Measure avg and rms of estimated SNR values, for comparison with generated SNRs. 2020-12-15 09:31:29 -05:00
Joe Taylor
cd95df4089 Protect against pathological combinations of RxFreq and FTol. 2020-12-09 13:45:05 -05:00
Joe Taylor
84591fa2ef Protect against a bounds error with very large FTol. 2020-12-08 11:53:22 -05:00
Bill Somerville
2964bc6295
Merge branch 'develop' into feat-fst280 2020-12-06 22:27:07 +00:00
Joe Taylor
4b42937c35 Minor tweaks in q65_sync. 2020-12-06 08:12:58 -05:00
Joe Taylor
f948ba7c29 Allow fDop = 0.0 in test_q65. 2020-12-06 08:12:16 -05:00
Joe Taylor
a47f5e5103 Correct what appears to be an error in q65_intrinsics_fastfading: max hidx=63, not 64? 2020-12-06 08:09:28 -05:00
Joe Taylor
53f5e26580 First attempt ar reasonabkle values for nsmo and ibw range. 2020-12-05 13:46:44 -05:00
Joe Taylor
c50134691d Adjustments to test_q65 for wider submodes. 2020-12-05 13:46:07 -05:00
Joe Taylor
742e2ef59f Fix pctile for larger arrays. 2020-12-05 11:09:27 -05:00
Joe Taylor
9f8336de4e Code cleanup. 2020-12-05 11:09:15 -05:00
Joe Taylor
077811ae6d Update q65params.f90. 2020-12-05 11:03:16 -05:00
Joe Taylor
6416777278 Set ':' as the "mode character" for Q65. 2020-12-04 15:55:03 -05:00
Joe Taylor
8b9b71c894 Fix the "off by one" issue in measuring f0 for list decodes. 2020-12-04 15:37:54 -05:00
Joe Taylor
3dd34e13ba dd "MyCall DxCall DxGrid" to list. Set PLOG_MIN=-240. No list decoding if DxCall is not defined. 2020-12-04 15:29:46 -05:00
Joe Taylor
aaf832cbd2 Revert "Threshold in q65_sync.f90 increased to -250 only for reports. Assumes that the list is in the order defined in q65_set_list.f90 (reports are at indexes 5..56). Beware if q65_set_list is changed!!!"
This reverts commit bb08150e4b.
2020-12-04 12:56:45 -05:00
Joe Taylor
978ea0f3b5 Revert "forgot to uncomment fort.55 output. corrected"
This reverts commit 72bc2572e6.
2020-12-04 12:56:23 -05:00
Nico Palermo/IV3NWV
72bc2572e6 forgot to uncomment fort.55 output. corrected 2020-12-04 10:07:56 +01:00
Nico Palermo/IV3NWV
bb08150e4b Threshold in q65_sync.f90 increased to -250 only for reports. Assumes that the list is in the order defined in q65_set_list.f90 (reports are at indexes 5..56). Beware if q65_set_list is changed!!! 2020-12-04 09:43:41 +01:00
Joe Taylor
53e4052b8c Q65 additions for diagnostic purposes. 2020-12-03 14:28:30 -05:00
Bill Somerville
ac6a6d0cd7
Fail wsprd if data directory specified not accessible
Also fixed trivial memory leak on error exit.
2020-12-03 13:12:12 +00:00
Bill Somerville
3134dd8a60
Removed incorrect pointer declaration, tnx to Rud, K5RUD 2020-12-03 12:20:14 +00:00
Joe Taylor
d1ac5f71e2 Remove several diagnostic writes. 2020-12-01 11:31:52 -05:00
Joe Taylor
df3169ba22 Update test_q65. 2020-12-01 11:24:21 -05:00
Joe Taylor
6b540aaad0 Correct offset in (i,j) indices for selecting s3 from s1. 2020-12-01 11:23:35 -05:00
Nico Palermo/IV3NWV
70e0a84fe8 corrected a compile error. q65_llh declared as an external variable in q65.h and placed in q65.c 2020-12-01 04:13:30 +01:00
Nico Palermo/IV3NWV
68d964b5c7 merged Joe's changes in decode_fullaplist 2020-12-01 03:41:23 +01:00
Nico Palermo/IV3NWV
baf427c358 Merge branch 'feat-fst280' of bitbucket.org:k1jt/wsjtx into feat-fst280 2020-12-01 03:26:37 +01:00
Nico Palermo/IV3NWV
5a3dd69331 decode_fullaplist updated. the decoding threshold is now adjusted in function of the number of codewords passed 2020-12-01 03:26:00 +01:00
Joe Taylor
a03758e490 Add a file that was missing. 2020-11-30 17:44:33 -05:00
Joe Taylor
65dda491d2 More Q65 code cleanup. Make submodes higher than A work with List Decoding. 2020-11-30 15:20:19 -05:00
Joe Taylor
7cb87e315b Fix a format. 2020-11-30 14:15:59 -05:00
Joe Taylor
adc4c3d78a More Q65 cleanup. Single-digit at end of line. 2020-11-30 14:13:37 -05:00
Joe Taylor
5c947178ce Protect against a bounds error. 2020-11-30 13:26:14 -05:00
Joe Taylor
de6f5e4975 Q65 code cleanup. Use 3-digit format for the end-of-line flag. 2020-11-30 13:14:18 -05:00
Joe Taylor
8285fd28a8 List decoding now supports 57 list messages. 2020-11-30 11:41:50 -05:00
Joe Taylor
afc4f2fb54 Reorganize things in q65_sync. 2020-11-30 10:45:52 -05:00
Joe Taylor
9ff6f5b4d3 Temporary save, much work in progress. 2020-11-30 09:52:47 -05:00
Joe Taylor
64516e6abb Still testing various parts of the Q65 decoding chain. 2020-11-29 10:00:33 -05:00
Joe Taylor
f0a1694816 Minor code cleanup. 2020-11-28 10:12:12 -05:00
Joe Taylor
cbfb6dd250 Implement full-message sync possibility when QSOprogress > 0. 2020-11-23 14:30:36 -05:00
Joe Taylor
d76e56fa31 Merge branch 'feat-fst280' of bitbucket.org:k1jt/wsjtx into feat-fst280
Include code to try sync with full message info.
2020-11-23 08:47:37 -05:00
Nico Palermo/IV3NWV
6fa9f76a75 Interface to q65_intrinsics_fastfading changed to support B90Ts instead of B90 and then supporting correctly modes with any T/R interval 2020-11-23 06:03:59 +01:00
Joe Taylor
9c51e93f06 Implement Nico's "deep likelihood" to replace iaptype=4 and 75-bit APmask. 2020-11-22 13:58:29 -05:00
Nico Palermo/IV3NWV
de468e071a Merge branch 'feat-fst280' of bitbucket.org:k1jt/wsjtx into feat-fst280 2020-11-21 18:18:45 +01:00
Joe Taylor
b2833fd6f0 Fix the use of ndepth for setting jitter-loop limits. 2020-11-21 11:34:17 -05:00
Nico Palermo/IV3NWV
4bd7fcb4a1 added likelihood check for better false rejection - added function q65_decode_fullaplist for full-ap decoding of a list of codewords 2020-11-21 17:00:15 +01:00
Joe Taylor
8e4ed9b3be Fix a bug in jt65_decode: crash when Rx Freq is set too close to upper freq limit on waterfall. 2020-11-21 10:12:46 -05:00
Joe Taylor
6da4be174c We now have only 4 levels of AP decoding. Modify test_q65 accordingly. 2020-11-21 09:39:37 -05:00
Joe Taylor
d9cb870540 Adjust Q65 jitter-loop ranges according to ndepth. 2020-11-20 17:07:11 -05:00
Joe Taylor
7ff3d598c8 Use g15 = 32403 rather than 32373 for the "RR73" message fragment in Q65. 2020-11-20 15:40:25 -05:00
Joe Taylor
09815826e2 For Q65 with QSOprogress=3, reduce npasses to 2 (iaptype=3, 4 only); reduce APmast from 78 to 75 bits. 2020-11-20 15:16:23 -05:00
Joe Taylor
3662a76de7 More Q65 test program tweaks. 2020-11-19 15:41:15 -05:00
Joe Taylor
13d0b20661 Change the unmasked bits for iaptype 4, 5, 6. Tweak the SNR limits in test_q65. 2020-11-19 15:25:28 -05:00
Joe Taylor
0bcb2f0d11 Adjust SNR limits in test_q65. 2020-11-19 13:50:59 -05:00
Joe Taylor
44343d87f6 Allow input of fractional SNR to test_q65. 2020-11-19 13:45:16 -05:00
Joe Taylor
d26acd048c Minor tweak to test_q65. 2020-11-17 15:31:33 -05:00
Joe Taylor
2dcd8504e8 Updates to test_q65: allow command-line input of QSOprogress. 2020-11-17 15:09:03 -05:00
Joe Taylor
d3ed0be318 Allow 2-digit input of ndepth in test_q65. 2020-11-17 10:47:07 -05:00
Joe Taylor
e71bc50bbf Set irc to -9, DT and f0 to 0 if sync amplitude it too small. 2020-11-16 16:29:52 -05:00
Joe Taylor
0755e52993 Another reformatting of output to fort.53. 2020-11-16 13:49:31 -05:00
Joe Taylor
24ed64e5cc Add UTC and reformat diagnostic output to fort.53. 2020-11-15 12:21:08 -05:00
Joe Taylor
4903b38220 When jt9 is run from command line, set Q65 default FTol = 10. 2020-11-15 11:58:36 -05:00
Joe Taylor
dc3d567ce8 Correct the diagnostic output to fort.53. 2020-11-13 13:45:14 -05:00
Joe Taylor
91862e61e6 Display Q65 values of DT and f0 from the actual decode, not just values from sync_q65. 2020-11-13 13:40:16 -05:00
Joe Taylor
8703b66983 Update test_q65.f90. 2020-11-11 15:20:35 -05:00
Joe Taylor
5fe6a539b6 Fix an error in defining dat4(13) in Q65 mode. Not backward compatible! Also fix AP and message averaging for Q65. 2020-11-11 15:06:24 -05:00
Joe Taylor
3068f0c61f Use genwave() to create Q65 audio signal. Send "include averaging" flag to Q65 decoder. 2020-11-11 11:14:02 -05:00
Bill Somerville
de0af5a2ed
Merge branch 'feat-outgoing-udp-interface' into develop 2020-11-10 20:09:48 +00:00
Joe Taylor
56a3201d14 Reactivate Q65 message averaging, and fix the reporting of those decodes. 2020-11-10 10:14:41 -05:00
Steven Franke
e0888eb70c Restore wsprsimf and dependencies. 2020-11-06 09:33:44 -06:00
Joe Taylor
145ddb8821 Correct the false-decode test in test_q65. 2020-11-03 17:17:21 -05:00
Joe Taylor
6d8958bce6 Code cleanup. 2020-11-03 15:49:11 -05:00
Bill Somerville
1a223f5c45
Remove unwanted file and directory 2020-11-03 20:29:25 +00:00
Joe Taylor
a01ebab363 Improve sync_q65() for larger values of FTol. 2020-11-03 11:31:21 -05:00
Joe Taylor
2c51c97b14 Increase the Q65 minimum snr1 from 2.5 to 2.8. 2020-11-03 10:36:19 -05:00
Joe Taylor
1b541082fd Optimize the Q65 inner loops. Also more code cleanup. 2020-11-02 16:04:46 -05:00
Joe Taylor
fa92799bda OPtimize the 2020-11-02 15:59:10 -05:00
Joe Taylor
1768971931 Add timer calls for two of Nico's routines. 2020-10-31 11:33:01 -04:00
Joe Taylor
abbb277793 Fix the issue with using AP for the "i3" bit and 78th bit. 2020-10-31 11:15:03 -04:00
Joe Taylor
b3f0aec407 Q65: compute snr from esnodb, using actual symbol rate. 2020-10-30 14:52:58 -04:00
Joe Taylor
306c0c8633 Limit the Q65 DT search rnge to +/- 1 s for TR=15, 30 s. 2020-10-30 12:02:15 -04:00
Joe Taylor
f974751e42 Q65 AP decoding is now (sort of?) working. Problem with i3 field, and maybe other problems... 2020-10-30 11:07:44 -04:00
Joe Taylor
1c30b97228 More adjustments for adding AP decoding to Q65. 2020-10-29 10:53:30 -04:00
Joe Taylor
e2978abcf5 Pass ncontest and lapcqonly to the Q65 decoder. 2020-10-29 10:33:54 -04:00
Joe Taylor
7786101dcf Add a missing file. 2020-10-28 13:38:06 -04:00
Joe Taylor
b6071d29da Code cleanup. 2020-10-28 12:04:10 -04:00
Joe Taylor
347fb06382 Separate calls to q65_intrinsics_ff() and q65_dec(). 2020-10-28 09:28:50 -04:00
Joe Taylor
fca76a5730 Report Q65 average decodes to the callback routine so test_q65 can distinguish them. 2020-10-27 16:28:25 -04:00
Joe Taylor
494a8fc9a7 More cleanup: Q65 SNRs, reported irc values. 2020-10-27 16:08:50 -04:00
Joe Taylor
bbad483aaf Code cleanup in q65sim.f90. 2020-10-27 15:52:57 -04:00
Joe Taylor
c6424100a2 Code cleanup. 2020-10-27 15:52:26 -04:00
Joe Taylor
9643e8a753 Code cleanup. 2020-10-27 15:51:32 -04:00
Joe Taylor
a41325d596 Use fast fading model in q65_ftn_test. 2020-10-27 15:45:34 -04:00
Joe Taylor
5d904927a0 Decode Q65 using the Lorentzian fast fading model. 2020-10-27 13:56:25 -04:00
Joe Taylor
4d739a31ca Minor cleanup of Q65 decoder sequence. Much more needed! 2020-10-27 13:22:02 -04:00
Joe Taylor
2dad27f1ad First decodes of Q65 from within wsjtx. 2020-10-27 13:08:07 -04:00
Joe Taylor
5a2f9e4f3f Updte q65sim to use the new Q65 code. 2020-10-27 12:04:15 -04:00
Joe Taylor
ccdaf49e3a Must initialize Q65 codec is decode is called before encode. 2020-10-27 12:02:49 -04:00
Joe Taylor
a473cee2ea Move q65sim.f90 to the q65 directory. 2020-10-26 19:42:03 -04:00
Joe Taylor
0d8734de47 Update some path names for QRA64/Q65 files. 2020-10-26 19:25:16 -04:00
Joe Taylor
cc5e0c7f2c Add a Fortran program to test calls to Nico's Q65 codec. 2020-10-26 16:54:05 -04:00
Bill Somerville
731fe53a1e
Reasonable default values for NB setting for command line jt9
Use the -X command option to set  single decode mode and to set the NB
level.

    -X 256*(n+3)+s

Where s=32  selects single decode mode,  and 'n' is the  equivalent NB
setting as used in the WSJT-X UI.  Default for both is zero in FST4(W)
mode if no -X option is passed. E.g. -X 544 selects single decode with
NB=-1 (256*(-1+3)+32).
2020-10-26 20:20:52 +00:00
Joe Taylor
11ec2eebf0 Merge branch 'feat-fst280' of bitbucket.org:k1jt/wsjtx into feat-fst280 2020-10-25 21:31:34 -04:00
Joe Taylor
5d352d3068 Declare _q65_mask() as static when first declared, in q65.h. Add qracodes.o to Makefile.Win. 2020-10-25 21:29:44 -04:00
Nico Palermo/IV3NWV
676d3578f1 removed unused qra65 files 2020-10-26 02:20:44 +01:00
Nico Palermo/IV3NWV
1f06fd65fc Initial q65 distrib 2020-10-26 01:10:53 +01:00
Joe Taylor
ef2c63af29 Enable some changes for Q65 submodes F, G, H. (They won't decode without additions to the core Q65 decoder.) 2020-10-25 15:44:52 -04:00
Joe Taylor
7a22e6a2e1 Change the Q65 value of nsps from 7680 to 7200. 2020-10-25 14:10:38 -04:00
Joe Taylor
9b452e8f99 Change mode name QRA65 to Q65 everywhere, supposedly. 2020-10-25 13:58:18 -04:00
Bill Somerville
5efe448a9c
Cosmetic change 2020-10-23 03:32:22 +01:00
Bill Somerville
308d815fb5
Add --freq-tolerance (-F) jt9 option 2020-10-23 03:24:19 +01:00
Joe Taylor
90fb84e43e All QRA65 submodes and sequence lengths 15 - 300 s are now basically functional. 2020-10-22 19:20:56 -04:00
Joe Taylor
37e5489080 QRA65 submodes A-E now basically OK for 15, 30, 60, 120 s sequences; 300 s is NG. 2020-10-22 19:07:21 -04:00
Joe Taylor
687d60019e Working toward functionality for sequence lengths other than 60 s. 2020-10-22 15:56:20 -04:00
Joe Taylor
b68ccee2fa Correct a flaw in assigning bin numbers for in sync64(), fixing QRA65 submodes B C D E. 2020-10-22 14:05:20 -04:00
Joe Taylor
0ce6556611 Slight reduction in snr1 limit after sync_qra65(). 2020-10-20 22:05:43 -04:00
Joe Taylor
7fe18a0a8c Reset the default values in qra_params.f90. 2020-10-19 18:56:54 -04:00
Joe Taylor
a17a519324 Send QRA65 navg to the callback routine. 2020-10-19 18:49:52 -04:00
Joe Taylor
ef3b158d43 QRA65 message averaging assumes a fixed DT close to zero. 2020-10-19 18:35:50 -04:00
Joe Taylor
35d8574426 Basic message averaging implemented for QRA65. 2020-10-19 17:27:11 -04:00
Joe Taylor
df69562a9f More tweaks to QRA65 decoder. 2020-10-19 15:24:32 -04:00
Joe Taylor
3187be3848 Improved qra_loops(). 2020-10-19 11:29:48 -04:00
Joe Taylor
1f2ca15ee5 Allocate some big arrays on the heap. 2020-10-17 13:16:46 -04:00
Joe Taylor
3f68f075e8 Tweak some QRA65 decoding ideas. 2020-10-17 11:19:15 -04:00
Joe Taylor
8542af30f9 Default ibwmin set to 0 in qra_params(). 2020-10-16 18:42:31 -04:00
Joe Taylor
2aa999ba44 Improved version of qra_params() subroutine, for testing. 2020-10-16 14:44:13 -04:00
Joe Taylor
4bf5f23c54 Update QRA test programs. 2020-10-14 11:49:27 -04:00
Joe Taylor
ad70cdeb8a More work on sync tests, etc., of QRA6[45]. 2020-10-13 13:49:09 -04:00
Bill Somerville
90b3fa2a46
Merge branch 'release-2.3.0' into develop 2020-10-13 16:51:40 +01:00
Bill Somerville
dcc9ac11ee
Merge branch 'develop' into feat-fst280 2020-10-10 15:26:17 +01:00
Joe Taylor
d5ce2def09 Code cleanup. 2020-10-09 17:04:06 -04:00
Joe Taylor
e82da4484c Code cleanup. 2020-10-09 15:29:16 -04:00
Joe Taylor
538b0b91ab Move s3, s3a arrays into qra_loops. 2020-10-09 14:12:34 -04:00
Joe Taylor
a4ba64a5fa Code cleanup and documentation. 2020-10-09 13:16:25 -04:00
Joe Taylor
8612398b02 Minor tweaks to test_qra65. 2020-10-09 10:44:25 -04:00
Joe Taylor
c5502cda05 QRA65 now decodes using qra_loops() -- the same inner loops as QRA64. Very effective! 2020-10-08 16:48:11 -04:00
Joe Taylor
5e23f88f7e Save a working temporary state for QRA64/QRA65 decoders. 2020-10-07 16:04:00 -04:00
Bill Somerville
6026944e33
Workaround for some memory issues, possibly thread stack sizing
Reduced maximum thread team size for MSK144 candidate discovery to 4.
2020-10-07 13:12:20 +01:00
Bill Somerville
314be8ccb7
Merge branch 'develop' into feat-fst280 2020-10-06 19:25:06 +01:00
Joe Taylor
69f7cea5e6 Formatting adjustments to qra64a.f90; updates to test_qra6[45].f90. 2020-10-06 10:29:03 -04:00
Joe Taylor
f38f355395 Many tweaks to QRA64 decoder to optimize processing of 6m ionoscatter signals. 2020-10-05 09:50:55 -04:00
Bill Somerville
ead587ee55
Fix up out of date common block sizing 2020-10-04 22:52:51 +01:00
Joe Taylor
333fac1fae Code cleanup. 2020-10-04 15:32:08 -04:00
Joe Taylor
20fb18c8ae Minor code cleanup. 2020-10-04 15:22:45 -04:00
Joe Taylor
95ec019da3 Improvements to test_qra64.# Please enter the commit message for your changes. Lines starting 2020-10-04 12:29:18 -04:00
Bill Somerville
203e0da5d6
Fix up out of date common block sizing 2020-10-04 00:45:56 +01:00
Joe Taylor
359b97f1ad Tweak test_qra64.f90 2020-10-03 11:02:18 -04:00
Joe Taylor
5d1fb28d2b Working on test_qra6[45].f90. 2020-10-03 08:25:17 -04:00
Joe Taylor
9200c3e27a Add NB = -3% option to cycle through NB=0, 1, 2, 3, ... 20%. 2020-09-30 13:32:03 -04:00
Joe Taylor
c3d8e4dd73 Working on QRA65, including simulator and test program. 2020-09-26 16:49:06 -04:00
Joe Taylor
acd6253373 A few more fixups for QRA65. Not finished, yet! 2020-09-25 15:38:20 -04:00
Joe Taylor
443aee5355 Restore AGC action in sync_qra65(). 2020-09-25 13:31:43 -04:00
Joe Taylor
7fd2f1afe6 Change QRA66 to QRA65, on the C++ side. 2020-09-25 13:20:46 -04:00
Joe Taylor
6ebc700288 Mostly(?) changed QRA66 to QRA65 on the Fortran side. 2020-09-25 12:21:57 -04:00
Joe Taylor
2057600f43 First functioning QRA65 encode and decode. 2020-09-25 10:55:21 -04:00
Joe Taylor
0ab3e5116f Fix several flaws in the loop-over-NB logic in the FST4 decoder. 2020-09-19 10:08:42 -04:00
Joe Taylor
2af01ebaa1 Fix a flaw in the loop-over NB logic. There are more flaws! 2020-09-18 15:52:33 -04:00
Joe Taylor
f0ed93cdd0 In the NB-loop, don't cycle around a decode attempt for the npct=0 pass. 2020-09-18 11:45:28 -04:00
Joe Taylor
52bdd57e57 Implement NB=-1%, NB=-2%. Fix a startup problem with WideGraps's fMax value. 2020-09-18 11:30:23 -04:00
Joe Taylor
375a869a51 Revert "Revert "Very basic code (including some diagnostics) for "try all NB settings". Will remove it again.""
This reverts commit 033cc65d08.
2020-09-18 09:01:51 -04:00
Joe Taylor
033cc65d08 Revert "Very basic code (including some diagnostics) for "try all NB settings". Will remove it again."
This reverts commit bcf7f36b9c.
2020-09-17 19:30:07 -04:00
Joe Taylor
bcf7f36b9c Very basic code (including some diagnostics) for "try all NB settings". Will remove it again. 2020-09-17 19:28:55 -04:00
Steven Franke
7d58df4cc1 In FST4 mode with Single Decode not checked, move candidates within 20 Hz of nfqso to the top of the list. 2020-09-17 14:22:38 -05:00
Joe Taylor
21dc6a5c59 Connect the FLow and FHigh limits for FST4 decoding. 2020-09-16 17:23:59 -04:00
Steven Franke
221ede2903 Remove some unused variables. 2020-09-14 13:07:07 -05:00
Steven Franke
b49a90f530 Remove a redundant array. 2020-09-14 13:03:33 -05:00
Steven Franke
1b59d9dc8c Eliminate redundancies from the calculation of sequence correlations. 2020-09-14 12:42:32 -05:00
Steven Franke
ca0804450b Remove some redundant code. 2020-09-14 09:07:45 -05:00
Steven Franke
3d8c8e3dd7 Merge branch 'develop' of bitbucket.org:k1jt/wsjtx into develop 2020-09-14 09:00:35 -05:00
Steven Franke
98d52e35ac Speed up FST4 decoding. 2020-09-14 09:00:30 -05:00
Joe Taylor
a1baaebee9 Decoder should reject data with rms < 3.0 over first 15 seconds. 2020-09-12 13:46:09 -04:00
Joe Taylor
263675cac4 Fix an oddball result with i*2 numbers: abs(-32768)=-32768. 2020-09-12 09:00:39 -04:00
Joe Taylor
8e69f84bdd Remove some obsolete, commented-out code. No real cghanges! 2020-09-11 18:39:24 -04:00
Bill Somerville
5fdcd8c15a
Merge branch 'develop' into feat-fst280 2020-09-11 20:06:20 +01:00
Steven Franke
71fdcd1119 Silence a compiler warning. 2020-09-10 16:11:07 -05:00
Steven Franke
2dcde590df Use widegraph limits for noise baseline fit. Limit signal search to within the widegraph limits. 2020-09-10 14:58:10 -05:00
Joe Taylor
47fcddcb50 Send nfa, nfb to fst4_decode(). 2020-09-10 14:59:52 -04:00
Joe Taylor
01a1688b32 FST4 and FST4W decoder: get freq range from nfqso and ntol; remove BCD submodes, i.e. hmod=2, 4, 8. 2020-09-05 13:14:40 -04:00
Joe Taylor
f24d15b16e Eliminate the FST4/FST4W submodes with hmod > 1. 2020-09-04 15:15:30 -04:00
K9AN
f066936043
Remove an unused variable from fst4_decode 2020-08-29 19:55:23 +01:00
Steven Franke
5ca81a6507
Use 3rd order polynomial fit to estimate the noise baseline. The
polynomial fit is done over 400 Hz bandwidth for T/R periods longer
than 15s, and over approx. 600 Hz (10 times the signal bandwidth) for
T/R period of 15s.
2020-08-29 19:55:23 +01:00
Steven Franke
d82b9f5b0e
Speed up decoder by eliminating some complex multiples in sequence detection loop. Add timer calls for doppler spread calculation and sequence detection loop. 2020-08-29 19:55:22 +01:00
Steven Franke
ecaca6af9f
Fix argument list in call to fet_fst4_bitmetrics.f90 2020-08-29 19:55:22 +01:00
Steven Franke
b9328b96c9
Tweaks to update the diagnostics that are written to fort.21. 2020-08-29 19:55:22 +01:00
Steven Franke
e02850ae5a
Streamline fst4_decode. Add timer for downsampling. 2020-08-29 19:55:22 +01:00
Steven Franke
782c779392
Reconfigure to optimize decoder for MF/LF (high coherence) channels. 2020-08-29 19:55:21 +01:00
Steven Franke
7cb5511ed0
Simplify some code in fst4_decode.f90 - no functional change. 2020-08-29 19:55:21 +01:00
Steven Franke
bf06193c10
Add timer call for bit metric calculation. Improve some comments. Make fort.21 ntype parameter more informative. 2020-08-29 19:54:38 +01:00
Steven Franke
6838a6b484
Remove some unneeded code. 2020-08-29 19:50:32 +01:00
Steven Franke
8b7db6556c
Changes to the llrs that are used as the basis for AP decoding. 2020-08-29 19:50:17 +01:00
Steven Franke
b191e0c5ef
Fix SNR calculation for B,C,D submodes. 2020-08-29 19:49:59 +01:00
Steven Franke
9d2bde7180
Fix SNR calculation for B,C,D submodes. 2020-08-29 19:49:46 +01:00
Steven Franke
cdbe425e56
Use squared metric for fst4 - works better on fading channel. 2020-08-29 19:49:23 +01:00
Steven Franke
37e05f6074
Set unpk77_success=.false. for messages with i3=0 and n3>6. 2020-08-29 19:48:54 +01:00
K9AN
8159478d51 Remove an unused variable from fst4_decode 2020-08-28 12:25:17 -05:00