Commit Graph

3111 Commits

Author SHA1 Message Date
Joe Taylor
f46e42e622 Protect against bounds error in avecho when audio up/down shift is too big. 2022-07-29 09:02:06 -04:00
Joe Taylor
8992bbc16f Write to LU 13 ('decoded.txt') only if it was properly opened. 2022-07-28 11:32:57 -04:00
Joe Taylor
d4ed6785fb WIP toward processing Echo-mode data read from disk. 2022-07-28 08:55:19 -04:00
Joe Taylor
3fb362ac28 WIP to enable saving, opening, and processing Echo-mode .wav files. 2022-07-27 14:03:54 -04:00
k9an
6396980de3 Fix scaling of waveform in wspr_wav when SNR > 90dB. 2022-07-25 09:14:53 -05:00
Joe Taylor
992ee5140c Add a Leap Second for January 1, 2017. See https://www.nist.gov/pml/time-and-frequency-division/time-realization/leap-seconds 2022-07-20 09:26:41 -04:00
Joe Taylor
2e4a6c3c32 If DX grid is blank, set DX astro params to zero. Do this in astrosub.f90, not asstro.cpp! 2022-07-17 16:12:59 -04:00
Joe Taylor
8b767b4c75 Satisfy the fussy compiler on macOS. 2022-07-05 14:01:22 -04:00
Joe Taylor
0ef914fb5c Let Echo-mode "Measure" function use the computed fspread for DX grid. 2022-06-22 14:34:50 -04:00
Steven Franke
c073fefa74 Merge branch 'arrl-digi-dx' into develop 2022-04-25 07:24:03 -05:00
Steven Franke
062f3a8037 Merge branch 'feat-a7-UR' into develop 2022-04-25 07:23:06 -05:00
Joe Taylor
7d8d0b8b94 Integrate the new Echo SNR algorithm into WSJT-X. 2022-04-22 15:34:12 -04:00
Joe Taylor
581ef8b6e5 Final (?) version of test_snr, with echo_snr() moved into wsjt Fortran library. 2022-04-22 13:07:23 -04:00
Joe Taylor
87dcde7564 Move calculation of echo snr into a separate subroutine. 2022-04-22 11:43:28 -04:00
Joe Taylor
3b361b6d24 Tweak subroutine averms(). Add test program test_snr to exercise new algorithm for echo snr. 2022-04-22 11:02:47 -04:00
Joe Taylor
d0dd88de40 Add /echocom2/echo_spread to astro0.f90. 2022-04-22 11:00:42 -04:00
Steven Franke
64a124ff20 Make wspr mode work properly with 3 character callsigns like N1D. 2022-04-22 07:56:02 -05:00
Steven Franke
4331594e4a Make wspr mode work properly with 3 character callsigns like N1D. 2022-04-22 07:50:03 -05:00
k9an
6414a8624b Make minimum SNR -24 dB for a7 decodes. 2022-03-26 18:44:59 -05:00
Joe Taylor
bc9e8f89bc Remove the SNR adjustment for Q65 averaged decodes. It does not seem to work as expected. 2022-03-08 11:48:54 -05:00
Steven Franke
283d7d32e4 Fix a bounds error. 2022-03-07 11:46:29 -05:00
Steven Franke
561240763c Fix a bounds error. 2022-03-02 11:15:59 -06:00
Steven Franke
33d3955086 Make SNR calculation for a7 decodes consistent with that of regular decodes. 2022-02-26 11:06:37 -06:00
Joe Taylor
5471cb3534 Don't attempt a7 decodes for messages with /, <, or directed CQ. 2022-02-18 14:57:56 -05:00
Joe Taylor
8e6f027c5e Oops! I committed the wrong version. 2022-02-17 10:22:18 -05:00
Joe Taylor
5e1795ff5c Fix the issue with using 'QQ0XYZ' in ft8_a7.f90. 2022-02-17 10:17:47 -05:00
Joe Taylor
5dc70b18db Reject a7 decodes of the form "CQ <std_call>" with no grid. 2022-02-15 16:28:19 -05:00
Joe Taylor
cab1bb8aed Use BIND(C) for gen65.f90, and pass strings in/out as character*1 arrays. Please test on macOS! 2022-01-31 19:18:46 -05:00
Joe Taylor
c26aa9160b Go back to original settings for sync threshold and decode acceptance criteria. 2022-01-11 11:55:26 -05:00
Joe Taylor
fc40770960 Revert "Improve ft8 decoder sensitivity for Normal and Deep settings"
This reverts commit 3e49dfacc5.
2022-01-11 11:54:36 -05:00
Joe Taylor
9d7f323231 Merge branch 'feat-UR' into feat-a7-UR 2022-01-10 11:39:53 -05:00
Uwe Risse
b68e90ae88 Slightly reduce number of false decodes 2022-01-10 11:04:11 +01:00
Uwe Risse
ab89d70b6a Improve ft8 decoder sensitivity 2022-01-10 10:41:23 +01:00
Uwe Risse
3e49dfacc5 Improve ft8 decoder sensitivity for Normal and Deep settings 2022-01-10 10:34:08 +01:00
Joe Taylor
5797e51fe3 Protect against a blank message. 2022-01-09 09:46:33 -05:00
Joe Taylor
500e565d77 For now, at least, revert to NFILT=4000 in subtractft8.f90. 2022-01-08 14:20:55 -05:00
Joe Taylor
6b2df37137 Merge branch 'develop' into feat-ft8-q3 2022-01-07 11:38:10 -05:00
Joe Taylor
98b3cd9a05 W3SZ patch: Initialize AP params and set npasses=2 before first call to q65_dec0(). 2022-01-07 09:59:15 -06:00
Joe Taylor
43c0752140 Add the $DXCALL macro capability. 2021-12-06 11:12:10 -05:00
Joe Taylor
6020552473 Varioous adjustments to a7 decoding for FT8. 2021-11-11 12:28:24 -05:00
Joe Taylor
c13407612e Temporary save of changes related to a7 decodes. 2021-11-10 10:44:56 -05:00
Joe Taylor
21f8303511 W3SZ patch: Initialize AP params and set npasses=2 before first call to q65_dec0(). 2021-11-09 11:00:55 -05:00
Joe Taylor
9aa4786f11 Re-organize some of the FT8 a7 code. 2021-11-05 15:57:24 -04:00
Joe Taylor
4a68d3c4cf Adjustments to FT8 a7 code. Still more to come ... 2021-11-05 09:21:49 -04:00
Joe Taylor
393265a0e0 Working code for FT8 'a7' decodes. Still needs some cleanup. 2021-11-04 11:55:15 -04:00
Joe Taylor
5b406effcf Minor code cleanup. 2021-11-02 16:07:52 -04:00
Joe Taylor
77c532b1a3 Always use Deep for manual Q65 decodes (lagain==true). 2021-11-02 15:28:59 -04:00
Joe Taylor
7e078c805f Fix the issue noted by N9JIM by allowing decodes near frequencies already searched, but not displaying dupes. 2021-11-02 15:17:51 -04:00
Joe Taylor
32a3a75bb5 Revert "Add 'TNX 73 GL' to the list of possible messages for q3 decodes."
This reverts commit 8f2dc74b52.
2021-11-02 11:08:44 -04:00
Joe Taylor
4b6ad3857a Always use Deep for manual Q65 decodes (lagain==true). 2021-11-01 14:57:52 -04:00
Joe Taylor
994e00c5d2 Adjust the and-correction numbers for averaged Q65 decodes. 2021-11-01 10:22:41 -04:00
Joe Taylor
93ade73af7 Remove diagnostic writes. Include subtraction of a7 decodes. 2021-10-29 16:22:48 -04:00
Joe Taylor
c30b91cb69 Correct a format. 2021-10-29 15:31:22 -04:00
Joe Taylor
f13e318204 Improvements to a7 decoding for FT8. 2021-10-29 15:28:42 -04:00
Joe Taylor
48b1ad1e46 Send xdt and xsnr from ft8_dec7 to ft8_decode. 2021-10-28 15:19:40 -04:00
Joe Taylor
2b25c51169 First fully working version of 'a7' (q3-style) decoding for FT8. 2021-10-28 15:01:00 -04:00
Joe Taylor
5a0cb0f0a0 Fix a bug in gen_ft8wave.f90 that failed to update pulse and ctab when sample rate changes. 2021-10-28 11:47:00 -04:00
Joe Taylor
f51a7d4f7d Correct a longstanding error in values of "nw()" returned by subroutine split77(). 2021-10-27 12:09:23 -04:00
Joe Taylor
901e9dbc38 Working program test_ft8q3 and subroutine ft8q3(). 2021-10-26 16:40:14 -04:00
Joe Taylor
384899754f Add initial version of test_ft8q3.f90. 2021-10-26 12:31:24 -04:00
Joe Taylor
0ed62e4f80 Save test routine ft8q3.f90 -- first, as a main program. 2021-10-26 12:14:32 -04:00
Joe Taylor
a5be2fb4ef TEMPORARY: save downsampled data at f0=1500 Hz, for testing ft8q3. 2021-10-26 08:58:06 -04:00
Joe Taylor
8f2dc74b52 Add 'TNX 73 GL' to the list of possible messages for q3 decodes. 2021-10-25 11:51:11 -04:00
Joe Taylor
c56926595a Fix a problm with q3 decodes of "<call1> call2" messages, e.g., <KA1GT> DL/G3WDG. 2021-10-25 11:14:54 -04:00
Bill Somerville
175092f536
Environment variable to add extra data to azel.dat
The  new  environment  variable   WSJT_AZEL_EXTRA_LINES  when  set  to
positive integer value  adds up to that number of  extra data lines to
the azel.dat  file. Currently only  one extra line is  supported which
contains the following data: Dpol, MNR, Dgrd. Where the values are the
same as  displayed in the  astronomical data window. I.e.  EME spatial
polarization offset in degrees, maximum non-reciprocity of the PATH in
dB, and the estimated signal  degradation relative to best possible in
dB.
2021-10-23 12:03:33 +01:00
Joe Taylor
385f0e7b62 Activate the W3SZ code for 'q5' decodes only when max_drift = 50. 2021-10-22 10:22:23 -04:00
Bill Somerville
f7996de670
Merge branch 'release-2.5.1' into feat-Q65-aircraft-scatter-AFC 2021-10-21 02:44:15 +01:00
Bill Somerville
30e11106c8
Further refinements to complex to real FFT initialization 2021-10-20 19:28:58 +01:00
Bill Somerville
7695b7d331
Merge branch 'release-2.5.1' of bitbucket.org:k1jt/wsjtx into release-2.5.1 2021-10-20 18:02:53 +01:00
Bill Somerville
595ef8e9db
Repair a long-standing defect that could cause access violations
This was revealed when building with gcc-fortran v11 and using
reference spectrum correction.
2021-10-20 18:00:32 +01:00
Joe Taylor
83c1a85226 In Q65 mode, allow q2 decodes when MyCall is compound or nonstandard. 2021-10-20 12:51:18 -04:00
Joe Taylor
2fb5d22e6f Fix the logic for setting ibwa, ibwb, and maxiters in Q65 "Deep" decoding attempts. 2021-10-20 11:18:31 -04:00
Joe Taylor
12efb098bb Fix the problem with q3 decodes when DxCall is compount and DxGrid is present. 2021-10-19 14:43:17 -04:00
Joe Taylor
ef438919e4 Enable q3 decoding for Q65 messages containing a nonstandard callsign. 2021-10-19 11:44:20 -04:00
Joe Taylor
089e0b9ebe Protect against NaN in savg() after switch from Q65 to JT65 mode. 2021-10-19 10:01:47 -04:00
Joe Taylor
226c59982b Fix the calls to unpack77 in q65_decode.f90 so that they set nrx=1. 2021-10-18 13:24:29 -04:00
Bill Somerville
34753ca613
Repair issue with DE & DX call not being added to hash tables in Q65 2021-10-17 20:26:57 +01:00
Bill Somerville
1e2ceea199
Support for 10GHz Aircraft Scatter with Q65, tnx Rex, VK7MO & Roger, W3SZ
See: Rex Moncur, VK7MO et al "10 GHz Terrestrial with Q65" DUBUS Vol
1/2021 page 64.
2021-10-11 19:56:08 +01:00
Joe Taylor
dbb9eca66e Allow msk144sim[.exe] to generate files with length 5, 10, 15, and 30 s. 2021-09-14 14:09:54 -04:00
Bill Somerville
8794bad146
Use local 8-bit strings for paths passed to Fortran
By using  the local 8-bit character  set we can allow  local non-ASCII
characters in file paths, for example user account names on MS Windows
with characters in the default code page.
2021-08-22 13:24:03 +01:00
Bill Somerville
82e3949b8b
Repair a file handle leak in wsprd 2021-08-11 11:19:28 +01:00
Joe Taylor
11d874ec37 Correct a flaw that caused some i3=4 messages to be encoded as free text. 2021-08-02 13:24:33 -04:00
k9an
ec2afd3fd2 Revert "FT8: ensure that nagain only decodes near nfqso."
This reverts commit 771f424108.
2021-07-28 12:18:33 -05:00
k9an
64eed79027 Revert "Another attempt to make nagain work correctly."
This reverts commit 777126ae1e.
2021-07-28 12:17:57 -05:00
Joe Taylor
e4144b7e19 Merge branch 'release-2.5.0' of bitbucket.org:k1jt/wsjtx into release-2.5.0 2021-07-28 13:07:53 -04:00
Joe Taylor
4b4e78cd9d FT8 decodes with data read from disk and nagain=.true. should decode only at RxFreq. 2021-07-28 13:06:07 -04:00
k9an
777126ae1e Another attempt to make nagain work correctly. 2021-07-28 10:58:20 -05:00
Steven Franke
771f424108 FT8: ensure that nagain only decodes near nfqso. 2021-07-28 09:54:05 -05:00
Steven Franke
afcfb08072 Make incomplete messages like 'K9AN G4WJS R-' encode as free text. 2021-07-22 13:54:35 -05:00
Joe Taylor
3d04c767ca Protect against a bounds error when no input data. 2021-07-18 08:39:34 -04:00
Joe Taylor
b25ef318a4 Don't require the "better.ge.1.10" condition for submodes D and E. 2021-07-16 17:07:41 -04:00
Joe Taylor
82de949a8c Disable a diagnostic write. 2021-07-16 11:26:17 -04:00
Joe Taylor
d53b5cbd33 Require best msg to produce ccf at least 1.10 x second-best message, for q3 decode. 2021-07-10 14:31:21 -04:00
Joe Taylor
4b0f116219 Revert "Tweak timer calls to distinguish the QuickDecode portion."
This reverts commit 203c8c25dd.
2021-07-01 14:45:33 -04:00
Joe Taylor
203c8c25dd Tweak timer calls to distinguish the QuickDecode portion. 2021-07-01 13:21:32 -04:00
Joe Taylor
e0c06168cf One more attempt at fixing the bounds errors in spec64. 2021-06-30 14:49:00 -04:00
Joe Taylor
8ab721bde3 Further protection against bounds error is spec64. 2021-06-30 11:28:03 -04:00
Joe Taylor
6310fcf619 Declare array c0 in spec64() with its active length rather than its maximum length. 2021-06-30 10:40:38 -04:00
Joe Taylor
f543cc21e7 Protect against jpk being too large (xdt > 4.8 s ?) in q65_loops. 2021-06-29 17:35:07 -04:00
Joe Taylor
915571827c Fix a compiler warning. 2021-06-29 10:17:42 -04:00
Joe Taylor
588e862346 Improves setting of limits for flattening s1(), when nfqso is too close to 0. 2021-06-25 16:29:42 -04:00
Joe Taylor
9b01bfae52 Restore plotting of a Q65 sync curve after a q3 decode. 2021-06-25 14:57:36 -04:00
Joe Taylor
bbd7fa059a Correct a flaw in setting values of ia, ib in q65_ccf_22.f90. 2021-06-24 10:36:34 -04:00
Joe Taylor
652e989356 For now, increase max DT to 5.5 s in Q65 EME mode. 2021-06-23 13:58:08 -04:00
Joe Taylor
e729a67a36 Increase max EME delay to 5.0 s. 2021-06-22 10:38:21 -04:00
Joe Taylor
dac2414da5 Fix several comments. 2021-06-08 11:16:26 -04:00
Joe Taylor
b7cb4ae9a6 Make test_q65 execute jt9 with the single_decode ('-X 32') flag set. 2021-06-08 11:12:42 -04:00
Joe Taylor
f7464c8df6 Protect against bounds error when ntol range goes below 0. 2021-06-03 13:34:22 -04:00
Joe Taylor
4847cf3617 Allow drift compensation with FTol greater than 100 Hz. 2021-05-31 10:23:22 -04:00
Joe Taylor
2e53a8a47d Add GUI controls to set max_drift in both WSJT-X and MAP65. 2021-05-30 12:07:48 -04:00
Joe Taylor
42ab7fcd20 Set max_drift = 10 for Q65-60A, 40 for Q65-15C, otherwise 0. Temporary ?? 2021-05-30 09:25:42 -04:00
Joe Taylor
ccf5e0daa7 Add a comment to clarify units for 'drift'. 2021-05-29 13:18:11 -04:00
Joe Taylor
40f1af5af2 Update test_q65 to allow testing larger frequency drifts. 2021-05-29 13:17:09 -04:00
Joe Taylor
47ee40540b Add comments to define units for a(1), a(2). 2021-05-29 13:16:09 -04:00
Joe Taylor
a973fa7215 Enable drift compensation only for TRperiod=60, nqd=1, ntol<=100, iavg=0. 2021-05-27 12:25:08 -04:00
Joe Taylor
cf87e74d1d First cut at usable AFC (linear drift compensation) for Q65. 2021-05-27 12:20:20 -04:00
Joe Taylor
8a541aa0ab Initialize npasses. 2021-05-20 12:57:41 -04:00
Joe Taylor
0b557adeb1 If q3 decode succeeds, return immediately from q65_dec0(). 2021-05-19 12:16:47 -04:00
Joe Taylor
4dd48551b2 Look for a q[0124] decode in the iavg=0 pass as well as iavg=2. 2021-05-18 16:47:59 -04:00
Joe Taylor
bf1d1dace6 Don't inadvertently erase hiscall and hisgrid in a call to q65_hist(). 2021-05-18 16:33:11 -04:00
Joe Taylor
25148a52e3 Remove more timer calls that are essentially moot. 2021-05-13 16:34:47 -04:00
Joe Taylor
8034a006d7 Enable q3 decodes, but only at the QSO freq. 2021-05-13 15:33:52 -04:00
Bill Somerville
6bd50b2444
Automatic FFTW3 wisdom handling for map65 GUI and shmem m65 runs 2021-05-13 12:44:32 +01:00
Steven Franke
c414a3261b Move q65 fortran encoding routines to a separate file. 2021-05-06 09:53:04 -05:00
Steven Franke
f864257838 Merge branch 'develop' into feat-map65-integration 2021-05-06 08:18:10 -05:00
Steven Franke
4efb2ab28f Define 'q65_encoding' module. 2021-05-06 07:28:48 -05:00
Joe Taylor
3f74137d32 Add Q65 modes and optional Doppler spread to mapsim. 2021-05-04 15:46:00 -04:00
Steven Franke
075e0bfd56 Fix uninitialized variables. 2021-05-04 07:47:15 -05:00
Steven Franke
79140b4430 An all-Fortran implementation of Q65 source encoding, CRC calculation, and LDPC coding, for reference. 2021-05-03 12:54:47 -05:00
Joe Taylor
c9b2a3d2cd If no 'hiscall', don't try for a q3 decode. 2021-04-30 08:31:45 -04:00
Joe Taylor
14a67761de Cleanup at end of decoding must take place in q65b, not in map65_mmdec. 2021-04-28 13:29:42 -04:00
Joe Taylor
c7af9945d3 m65 noe mostly OK for single-pol mode. Needs more work for xpol. 2021-04-28 10:13:42 -04:00
Joe Taylor
57f48187e7 Display the 'q#' tags for Q65 decodes. 2021-04-28 09:35:40 -04:00
Joe Taylor
8bdaf2dccf First working m65 that calls Q65 subroutines rather than execuring jt9[.exe]. Still needs work. 2021-04-27 17:02:39 -04:00
Joe Taylor
be2f48a34c Add map65_mmdec.f90. 2021-04-27 15:20:10 -04:00
Joe Taylor
03e67dff47 Trivial code cleanup in q65.g90. 2021-04-27 15:17:18 -04:00
Joe Taylor
14f8dc76c0 Trivial code cleanup of q65_decode.f90. 2021-04-27 15:13:47 -04:00
k9an
b3d15ea0c6 Prevent a divide-by-0 error in ftrsd2.c. 2021-04-26 08:08:27 -05:00
Joe Taylor
516f21b17c Remove temporary hardwiring of the "Fast" decode setting. 2021-04-24 08:22:54 -04:00
Joe Taylor
b2a56fec8b Fis a few more compiler warnings. 2021-04-22 14:08:53 -04:00
Joe Taylor
e0a20d25db Remove the diagnostic routine chk_samples(). 2021-04-22 13:17:30 -04:00
Joe Taylor
cfecb43d34 Cleaning up some build scripts and fixing compiler warnings. 2021-04-22 13:12:55 -04:00
Joe Taylor
83c3dd5482 Comment out several unused definitions. 2021-04-22 09:24:10 -04:00
Joe Taylor
ef46e81d3c Initialize several variables (to make valgrind happier). 2021-04-22 08:49:26 -04:00
Joe Taylor
a90b58ad40 Merge branch 'feat-map65-integration' of bitbucket.org:k1jt/wsjtx into feat-map65-integration 2021-04-21 17:06:00 -04:00
Bill Somerville
9d19de5cf3
Merge branch 'develop' into feat-map65-integration 2021-04-21 21:02:36 +01:00
Joe Taylor
9e9357b970 Implement sensible loop ranges for Fast/Normal/Deep Q65 decoding. 2021-04-21 15:57:54 -04:00
Joe Taylor
69619dd31e Remove an unused variable. Protect against extreme values leading to FPEs. 2021-04-20 15:35:56 -04:00
Joe Taylor
c61e796c50 Fix a possible floating point exception in q65_loops by making s3 allocatable. 2021-04-15 13:52:18 -04:00
Joe Taylor
47332aa9ac Always set emedelay=2.5 for submodes Q65-60[A-E]. 2021-04-12 12:19:49 -04:00