Commit Graph

1151 Commits

Author SHA1 Message Date
Bill Somerville
cecc098924 First attempt at a UI phase compensation tool for MSK144
This builds on the static phase compensation in the MSK144 decoder and
the phase  analysis and  polynomial fitting  capabilities also  in teh
MSK144 decoder,  by allowing  captured data to  be selected  for phase
equalization from the WSJT-X UI.

Reads  captured phase  compensation  curve  estimate files  containing
fitted  polynomial coefficients  and measured  phase data  from MSK144
receptions. Intent  is to select a  compensation curve that is  from a
known transmitter like  an SDR which have good  phase linearity. Phase
plots and compensation polynomials may be viewed and compared with the
current compensation polynomial. A  suitable polynomial can be applied
to be use in all further decoding of MSK144 signals.

Plots of  the currently  selected polynomial  and its  modified higher
order terms  polynomial which is  actually used in  equalization (this
plot may  be dropped - it  is just for  kicks at the moment).   When a
captured phase analysis file is loaded plots of the measured phase and
the proposed best fit polynomial are shown.

Basic  maintenance  is also  included  allowing  clearing and  loading
captured  plots and  an option  to revert  to a  flat no  equalization
curve.

More to come on this as  amplitude equalization is also possible, this
will probably  be similar, maybe even  plotted on the same  graph with
dual  axes  for phase  and  amplitude.   Amplitude correction  from  a
measured  reference   spectrum  could  be  viewed   and  selected  for
equalization for all modes. TBC...

This   change    also   introduces    the   QCustomPlot    3rd   party
widget. Currently this  is statically linked from a  qcp library built
by the WSJT-X CMake script. This will probably be migrated to a shared
object (DLL) build as a CMake external project, once some CMake script
re-factoring  has been  completed,  which  is more  in  line with  the
QCustomPlot author's  intentions. This  will allow efficient  reuse in
other tools shipped with WSJT-X.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7570 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-21 02:13:13 +00:00
Joe Taylor
3c7e20b05b Better scheme for displaying QRA65 sync results.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7561 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-10 16:38:19 +00:00
Joe Taylor
bbe3cf9805 When logging, enforce QSO stop time >= start time.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7552 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-22 20:38:10 +00:00
Steven Franke
e45f7eaf67 After measuring phase response, write pcoeff file to the data directory.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7551 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-22 03:20:46 +00:00
Steven Franke
2644efc699 More work on Phase Equalization interface.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7506 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-15 22:13:59 +00:00
Steven Franke
c3d83a207a First steps to enable user control of phase calibration.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7504 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-15 21:43:40 +00:00
Bill Somerville
18a80232cc Filter general working frequencies in FreqCal mode
Allow band  drop down list to  be used to select  FreqCal frequencies,
also  resets position  in automatic  cycle. Tidy  up some  unnecessary
code.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7486 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-12 21:03:30 +00:00
Joe Taylor
247aa1a2ee Several changes to operational logic for FreqCal mode.
1. Menu item *Tools -> Execute frequency calibration cycle* is renamed and checkable.  Cycling does not start until checked.
2. Ctrl+F10 now allows you to cycle manually through the list of calibration frequencies.
3. Calibration sequence lengths can be set to 5, 10, 15, or 30 s with the sbTR spinBox.

Also: don't set sbTR index to 0 when entering a slow mode.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7485 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-12 18:21:58 +00:00
Bill Somerville
1009d87ab4 Do not do FreqCal calculations on period when rig changes frequency
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7471 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-10 01:39:27 +00:00
Bill Somerville
fb2592453d Ensure that startup in FreqCal mode selects the first monitoring frequency
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7469 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-09 22:54:40 +00:00
Bill Somerville
f75c36c2ce Skip all mode working frequencies in FreqCal mode
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7468 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-09 22:54:32 +00:00
Bill Somerville
105aa045b3 Tidy up FreqCal mode time signal switching and Rx DF
Rx  DF is  now  "real-time"  adjusting the  rig  in  concert with  the
monitored DF.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7465 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-09 13:50:02 +00:00
Bill Somerville
5b62f118c6 Remove some unnecessary code
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7464 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-09 01:09:58 +00:00
Bill Somerville
ea507b6ec8 Use the settings frequency list as a source for cal frequencies
Some default time  signals have been added to the  frequency list so a
base  set   can  be   obtained  by   resetting  the   frequency  list,
alternatively they can be added ad hoc in the normal fashion.

FreqCal  mode behavior  is to  select  the lowest  cal frequency  upon
entering  FreqCal   mode  and  cycling  through   each  cal  frequency
repeatedly. Ctrl+F10 jumps directly to the next higher frequency.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7463 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-08 23:58:09 +00:00
Joe Taylor
2698fc02c6 Re Sh and SWL: allow either or neither, but not both.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7459 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-06 19:01:29 +00:00
Bill Somerville
9ea25dec8d Tidy up decode menu actions and correct defect in logic
Deepest decode  level should be selected  automatically when switching
to JT4  or JT65 when VHF  & up mode is  on and either of  averaging or
deep search are enabled.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7456 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-06 13:53:06 +00:00
Joe Taylor
62f5447520 First usable-at-K1JT version of a semi-automated Frequency Calibration routine.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7452 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-05 20:20:43 +00:00
Joe Taylor
6d64eaa37b More work on FreqCal mode. Some of this code is temporary!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7451 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-05 18:35:26 +00:00
Joe Taylor
6d3ca346e0 Further progress toward a usable "FreqCal" (Frequency Calibration) mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7448 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-04 19:07:35 +00:00
Joe Taylor
dbeb21b050 Some possibly temporary ideas, playing around with a "FreqCal" mode to do simple frequency calibrations.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7446 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-03 21:37:38 +00:00
Joe Taylor
a65ebafd48 1. We did the experiment: users clearly prefer a "Prompt to log QSO"
only when 73 is sent.  Revert to that well-established behavior.
2. Correct the logic that detects short-form RO, RRR, and 73 messages in
JT65 VHF modes and color-highlights the Tx message box.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7442 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-02 14:22:29 +00:00
Joe Taylor
8fcda35808 Remove a diagnostic.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7435 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-31 02:51:33 +00:00
Steven Franke
077ac1d77b Progress toward SWL capability. Not finished and not tested.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7434 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-31 02:05:51 +00:00
Joe Taylor
33628fd9f4 1. Starting to add SWL feature for MSK144 Sh messages.
2. Add (part of) a geometry patch from W9MDB.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7433 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-30 21:46:29 +00:00
Steven Franke
2c2d31ea8d Remove some dead code.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7432 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-30 20:26:59 +00:00
Joe Taylor
f30311f324 I throw in the towel. Prompt to log QSO when *either* RRR or 73 is sent.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7431 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-30 19:04:51 +00:00
Joe Taylor
f98aa4e6f4 Options (via Ctrl+M) to minimize size of Main Window and Wide Graph; add separate Start/End times to logging information. Thanks to W9MDB!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7430 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-30 15:45:31 +00:00
Joe Taylor
b7309f1d36 1. No 2 kHz frequency offset for JT9 on 60m band.
2. Don't update the "Last Tx" message until current transmission is complete.
These suggestions from W9MDB.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7429 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-29 18:08:32 +00:00
Joe Taylor
d2fb561f10 Add "Clear reference spectrum" to the File menu.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7426 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-24 20:05:28 +00:00
Joe Taylor
df35f519df 1. As a test, zap any data at start if id2() that appears to be a T/R transient.
2. Send emedelay (now 0 or 2.5) to QRA64 decoder.
3. Tweaks to sync64, making it better for QRA64A.
4. Mainwindow MessageBox if it attempts to open a file with wrong format.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7424 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-22 20:51:27 +00:00
Steven Franke
02a4cb95a4 Add an option on advanced time to enable MSK144 Rx filter equalizer. Other changes necessary to accommodate coexistence of static (Rx Filter) and dynamic (QSO partner-dependent) phase corrections.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7421 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-22 17:21:23 +00:00
Joe Taylor
80e594d7b8 Back out the temporary changes for WSPR-15 in r7418 and 7419.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7420 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-22 14:24:56 +00:00
Joe Taylor
9e97dcf942 Allow WPR-15 Tx audio freq up to 1625 Hz.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7419 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-21 20:31:30 +00:00
Joe Taylor
b0e738b1f2 Test code: starting to implement WSPR-15. Not for general use!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7418 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-21 20:26:49 +00:00
Joe Taylor
344936a315 No need to truncate the decoded text line going to ALL.TXT.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7415 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-20 21:35:16 +00:00
Joe Taylor
d98253f3c8 Enable Sh (for Tx4 and Tx5 only) in MSK144 Contest Mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7397 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-18 18:31:48 +00:00
Joe Taylor
a125657803 If status of Contest Mode is changed, re-generate the standard MSK144 messages.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7394 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-17 21:48:14 +00:00
Joe Taylor
33af88a41b Complete the implementation of MSK144 contest mode. Needs testing!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7393 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-17 21:18:47 +00:00
Joe Taylor
e23ebc48ad Don't freeze the Tx5 message if use has double-clicked on a decode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7392 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-17 15:19:48 +00:00
Bill Somerville
336eb0c858 Add fast mode support to UDP messages and update example apllications
Sub mode and  fast mode flag are  added to the UDP  Status message and
Status messages  after appropriate UI changes.  MSK144 decodes produce
UDP Decode messages. Fast JT9 messages are treated similarly.

Currently ISCAT decodes are not posted  as UDP Decode messages as they
do not fit well with the model.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7389 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-16 19:36:21 +00:00
Joe Taylor
1de0689d4b Another tweak to User Guide. Disable Deep Search and Averaging if VHF features is turned off.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7387 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-16 17:14:00 +00:00
Joe Taylor
3b1e9c1e6c Extend the Rx period in QRA64 mode to 53.5 s; an improved label on Settings -> General tab.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7385 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-16 16:25:07 +00:00
Joe Taylor
8ff9cb01b2 Remove JT9/JT65 decoding statistics from timer.out. Remove the auto_tx_label, it's not really needed.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7383 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-15 18:58:17 +00:00
Joe Taylor
e21f69b5e9 Make the setting of *Enable AP for DX call* persistent.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7375 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-09 21:06:26 +00:00
Joe Taylor
82ecc6afcf Correct the sending of minsync to decoder. Fix statement ordering that affects timer calls.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7370 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-08 15:38:54 +00:00
Bill Somerville
bae3b94fd6 Build a cache of allowed SSL exceptions and use them on future network requests
The   class  NetworkAccessManager   sub-classes  QNetworkAccessManager
adding  a  message  box  to  ask   the  user  if  SSL  errors  may  be
ignored. Ignored errors  are ignored in future server  replies so that
the user is not asked about he same peer certificate chain repeatedly.
The cache is currently per process only and not persistent.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7361 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-04 14:17:01 +00:00
Bill Somerville
2255b17e91 Add version and revision information to UDP heartbeat messages
Updated  UDP examples  to show  the version  and revision  information
received from clients.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7358 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-04 00:55:15 +00:00
Bill Somerville
ac859c8f68 Several rig control enhancements and fixes
Use the  new DX Lab Suite  Commander command option to  stop Commander
trying to change the rig Tx VFO mode when we don't want to. Requires a
recent DX Lab Suite Commander version.

All rig controllers  can now detect 20Hz resolution  rigs, still needs
2Hz resolution code which will be needed for the FT-891 AFAIK.

Enhance  the HRD  interface  to be  able to  use  the alternative  PTT
command as found on most Kenwood  rigs for audio source selection. Fix
Icom data mode selection issues.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7357 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-04 00:55:07 +00:00
Bill Somerville
fed0e9e171 Make handling of special CQ messages consistent
CQ NNN ... and CQ aa ... are  coalesced to CQ_NNN ... and CQ_aa ... so
as to keep the word count and indexes consistent with plain CQ ..., DE
... and QRZ ... standard message forms when parsing messages.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7356 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-04 00:54:58 +00:00
Joe Taylor
d972375792 Permit use of "CQ nnn" and AutoSeq in fast JT9 submodes.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7345 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-11-28 19:34:52 +00:00