Commit Graph

3825 Commits

Author SHA1 Message Date
Joe Taylor
bdf4ffa7ba Change several default parameter values used by jt9 when run from the command line.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7581 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-27 20:47:31 +00:00
Steven Franke
fa45380b51 Bring ldpcsim40.f90 up to date and add coherent averaging option to both ldpcsim144 and ldpcsim40. These routines simulate only the performance of the code and the hash/CRC.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7580 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-26 20:14:51 +00:00
Joe Taylor
9a895361cf Add a utility "allsim" to generate a wave file containing all WSJT-X slow modes as well as an unmodulated carrier and 25 WPM CW signal.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7579 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-24 18:20:56 +00:00
Bill Somerville
2131414791 Add reference spectrum to equalization plots and more plotting enhancements
Use  a header  format for  polynomial coefficients  that includes  the
valid  X  range  in  scaled  terms  and  a  count  of  the  number  of
coefficients.

Use double  precision consistently  for polynomial  coefficients. This
includes formatting with sufficient DPs when writing to files.

Many changes to the equalization plots, more to come.

Add  error   handling  for   reading  coefficient,  plot   and  filter
files.  This  includes  being  backward  compatible  for  old  format
refspec.dat files with no header.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7578 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-23 16:21:26 +00:00
Steven Franke
0215ed58c1 Fixes to make Ref Spec work.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7577 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-23 02:18:10 +00:00
Steven Franke
d1ad018b1a Do polyfit to fil vector in refspectrum.f90 and write the coeffs to the first line of refspec.dat.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7576 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-22 20:43:40 +00:00
Bill Somerville
5d9ac3966b Generalize the equalization plotting code and add group delay plot
Moving towards some useful generic plotting templates.

Phase plots are now fixed to +/- Pi range and the phase axis is now in
units of Pi.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7575 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-22 02:20:11 +00:00
Steven Franke
d62dacd7e2 Swap mode symbols for MSK144 so that & is the normal symbol.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7574 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-21 20:57:49 +00:00
Steven Franke
208e7e2d0b Simplify equalization logic - still need to fix & vs ^ display.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7573 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-21 20:13:36 +00:00
Steven Franke
4525981f73 Require an average over at least 5 decoded frames when measuring phase response.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7572 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-21 17:17:05 +00:00
Bill Somerville
9712447253 Fix a clang++ gripe
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7571 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-21 02:50:10 +00:00
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
Steven Franke
bb2fff65da Update an ldpc-code simulation tool.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7569 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-20 16:45:35 +00:00
Bill Somerville
25e9fe245d Fix misuse of auto in assignment
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7568 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-17 14:03:46 +00:00
Bill Somerville
b4ea0194f1 Support for a startup configuration
The --config <configuration> (-c for short) command line option can be
used  to  select  an  existing  configuration  at  start  up.  If  the
configuration does not exist the last configuration used is selected.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7567 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-17 12:32:47 +00:00
Bill Somerville
75d371ebd9 Ensure logged times are UTC
Because of the way  logged QSO times are split and  rebuilt in the QSO
logging code the UTC time specification is lost. This change sets them
back to UTC since that is what they are.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7566 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-17 12:32:40 +00:00
Bill Somerville
db111b6529 Read mode before attempting to change it when using DX Lab Suite Commander
This change is  specifically to work around  some surprising behaviour
in the Elecraft K3[S] which suffers  audio drop outs when null changes
that might effect the internal DSP are processed.  This manifests when
a blind mode  change is sent through Commander. Here  we read the mode
and  only subsequently  command a  mode change  if it  is not  what we
expect.  Blind  mode changes were  preferred with Commander  until now
since state queries through Commander are occasionally unreliable.

This issue  has been reported to  Elecraft so may not  be permanent if
they can and will address it in the rig's firmware.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7565 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-17 12:32:33 +00:00
Bill Somerville
43cdd1df3c Add deley to rig resolution detection with DX Lab Suite Commander
Commander queues rig control commands  and can return stale or invalid
results immediately after state change commands so this change waits a
couple of seconds hoping that Commander gets around to polling the rig
before we read back the state.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7564 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-17 12:32:26 +00:00
Bill Somerville
6349b602e8 Remove User Guide tip about SSL libraries on Windows
This is  no longer necessary as  the sample downloader now  reverts to
HTTP if SSL libararies are not installed.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7563 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-17 12:32:19 +00:00
Joe Taylor
23c69ceecc Delete the default frequency for WSPR in the 60 m band. Insert a warning
about same in the USer Guide.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7562 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-14 18:12:50 +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
f72fc0d7a3 Fix a typo.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7560 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-08 16:15:43 +00:00
Joe Taylor
f66d142963 Try up to three times to open 'decoded.txt".
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7559 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-07 14:31:11 +00:00
Steven Franke
1f65b19bf1 Add tooltip message for SWL box.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7558 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-06 23:38:32 +00:00
Bill Somerville
26a581a482 Ensure that Mode=None is enforced when setting or resetting PTT
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7557 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-31 19:47:51 +00:00
Bill Somerville
b4fc646455 Add minimum support for one way CAT control rigs
Older  rigs like  the  Yaesu  FT-736R only  support  set commands  and
extremely   limited  query   commands   (like   squelch  and   S-meter
levels). This change allows them to  be supported via Hamlib albeit in
a very minimal way.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7556 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-28 18:46:55 +00:00
Bill Somerville
cf97a23379 Temporarily disable the Tx/Rx transient suppressor introduced in r7424
This code was causing the JT9 decoder  to fail to decode, maybe due to
high  noise  levels  and  the resulting  discontinuity  introduced  by
zeroing out samples.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7555 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-27 02:22:54 +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
Bill Somerville
ee7aa0d31e Track rig mode
I can't remember exactly why mode tracking was disabled but it doesn't
seem to be necessary  to do so. I am expecting  some fallout from this
change, when I discover why it was  necessary to ignore the rig mode I
will find a better way to do this.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7548 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-21 12:16:16 +00:00
Joe Taylor
f85a6c5034 Addition about Echo mode to Astro Tool Tip.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7539 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-19 15:06:36 +00:00
Bill Somerville
423b3b7361 Fix Log QSO so new data entries on form are actually used for the UDP message.
Fix tab order on Log  QSO window. Amend message_aggregator QSOs logged
window to show both time on and time off.

Thanks to Mike W9MDB for this patch.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7532 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-18 17:24:08 +00:00
Joe Taylor
ffb8046c91 When nagain=1 (double-click on waterfall, or click Decode button), act as if "single decode" is selected.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7531 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-18 14:20:28 +00:00
Bill Somerville
94b1a00040 Add some debug diagnostics for the Hamlib optional settings JSON file
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7530 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-18 13:44:32 +00:00
Bill Somerville
ca796744a3 Remove unnecesary main window size defaults
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7529 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-18 13:44:24 +00:00
Joe Taylor
602002b489 Correct a typo in User Guide. Re-order items on Tools menu.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7507 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-16 13:38:12 +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
Steven Franke
1135c33f33 Remove an obsolete file.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7503 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-15 20:43:11 +00:00
Steven Franke
f0e7bf8033 Only train on DX Call when Rx Equalization is checked.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7502 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-15 18:39:18 +00:00
Steven Franke
5fb051e3cb Never apply dynamic phase coeffs. Measure phase response for DX Call and write coeffs, as before. Rx Equalization is still hardwired for K9AN's TS2000.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7501 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-15 18:25:54 +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
Steven Franke
1b1aa99a68 Improve accuracy of frequency estimate for non-fading, phase-stable, high-SNR signals.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7484 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-12 03:48:18 +00:00
Joe Taylor
edef3bc39e Use a sin^2 window on FFT in freqcal. Fix the table header for fcal.f90.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7472 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-10 14:51:32 +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
b43567c38c Deal with the FreqCal edge case of FTol>DF
Reduce the tolerance to +-DF in this case to avoid array bounds error.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7470 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-09 22:54:47 +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
Joe Taylor
6016f03523 Add the "FMT" tools; remove unnecessary references to calibration station callsigns.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7467 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-09 15:55:42 +00:00