Commit graph

1474 commits

Author SHA1 Message Date
Allan Bazinet
3509e6ae3a Simplify string output 2025-01-26 09:34:30 -08:00
Allan Bazinet
267c1be109 Use QStringBuilder % operator for output 2025-01-26 09:05:06 -08:00
Allan Bazinet
d543af5d8d Simplify writeAllTxt()
Messages are always written out verbatim; bits and DecodedText are not required here.
2025-01-26 08:33:57 -08:00
Allan Bazinet
6fca87ff2b Add JS8_RX_SAMPLE_SIZE macro 2025-01-25 17:24:42 -08:00
Allan Bazinet
90f65ec352 Prefix common macros with JS8 2025-01-25 17:20:45 -08:00
Allan Bazinet
fa3bd3862e Potential crash fix on low-quality decodes
I think I misinterpreted the purpose of this code in Fortran, and it’s never actually been active; that’s my theory at present, anyway.
2025-01-25 11:14:01 -08:00
Allan Bazinet
c64fda406b Disable low-SNR discarding for testing 2025-01-25 09:23:51 -08:00
Allan Bazinet
8820bac56d Ongoing dead decodedtext code stripping 2025-01-25 07:50:55 -08:00
Allan Bazinet
f42f1ff9b2 Remove legacy nsubmode parameter; always -1
Use of this parameter went away when the multi-decoder arrived; no longer needed at all.
2025-01-25 05:14:19 -08:00
Allan Bazinet
717a2fd3a0 Kill off write-only npts8 variables 2025-01-25 04:56:34 -08:00
Allan Bazinet
ad63650626 Kill of unused params.nagain
This value was invariably set to false; it’s a constant. Dramatically simplifies pass and SNR calculation in decoder by killing it off.
2025-01-25 04:52:54 -08:00
Allan Bazinet
9c171b7300 Remove unused params.ndiskdat and nranera 2025-01-25 04:13:07 -08:00
Allan Bazinet
5423ee61a9 Remove unused params.mode 2025-01-25 04:09:41 -08:00
Allan Bazinet
fc9e45e50b Remove unused params.mycall and support function 2025-01-25 04:08:05 -08:00
Allan Bazinet
325441736a Remove unused datetime from parameters 2025-01-25 04:04:45 -08:00
Allan Bazinet
a7247b08e3 Remove debug 2025-01-24 18:36:51 -08:00
Allan Bazinet
ea04d32fc7 Address data race potential in JS8 Worker 2025-01-24 05:56:10 -08:00
Allan Bazinet
4df324d7b8 Allow debug of decoded sync value 2025-01-23 15:19:30 -08:00
Allan Bazinet
e9a0d90760 Simplify debug stats drawing 2025-01-23 14:54:04 -08:00
Allan Bazinet
f0820fd0a5 Collapse sync state events 2025-01-23 13:43:11 -08:00
Allan Bazinet
a51bc2be25 Break out common JS8 encode function 2025-01-22 20:22:29 -08:00
Allan Bazinet
e92f9915c7 Burn the boats
Initial rough cut at complete Fortran elimination. A lot of cleanup work to be done, but this finally no long requires Fortran at all.
2025-01-22 17:42:38 -08:00
Allan Bazinet
cd8492c927 FFT R2C allocation correction
We were allocating about twice as much memory as we actually needed for an in-place real to complex FFT.
2025-01-16 05:52:42 -08:00
Allan Bazinet
ab0acd72b7 Simplify ssum fill 2024-12-31 02:21:00 -08:00
Allan Bazinet
be7a21a7c4 Reduce itone size to actual usage
No idea at this point what the huge NUM_ISCAT_SYMBOLS was from; historical in nature.
2024-12-30 07:37:07 -08:00
Allan Bazinet
e3fd82371e Encapsulate table generation 2024-12-30 05:01:12 -08:00
Allan Bazinet
9e3beced39 Encapsulate matrix initialization 2024-12-30 04:30:57 -08:00
Allan Bazinet
f475e5e80e Use std::uint64_t 2024-12-29 20:26:04 -08:00
Allan Bazinet
2e6ebc1510 Use digits limit for bit count 2024-12-29 19:54:38 -08:00
Allan Bazinet
0973d924af Reduce parity matrix to simple function export 2024-12-29 19:48:02 -08:00
Allan Bazinet
9b482028f8 Simplify matrix generation 2024-12-29 17:17:07 -08:00
Allan Bazinet
1a0c82a435 Cleanup 2024-12-29 16:33:26 -08:00
Allan Bazinet
7dafd66680 Commentary 2024-12-29 14:51:11 -08:00
Allan Bazinet
9a8d25e7a5 Commentary 2024-12-29 14:40:59 -08:00
Allan Bazinet
54568250fa Commentary 2024-12-29 13:37:57 -08:00
Allan Bazinet
dc438ccb7f Reorder accessors 2024-12-29 13:02:51 -08:00
Allan Bazinet
feda79ca2e Finalize Matrix class usage 2024-12-29 13:01:10 -08:00
Allan Bazinet
407902b9c9 BitMatrix class addition WIP 2024-12-29 12:40:41 -08:00
Allan Bazinet
3ce260e8db Refine and document parity bit computations 2024-12-29 11:53:12 -08:00
Allan Bazinet
0e41bde90b Commentary 2024-12-29 11:31:53 -08:00
Allan Bazinet
fb9b44d4c6 Commentary 2024-12-29 09:07:41 -08:00
Allan Bazinet
d365590f1d Simpler Costas array output 2024-12-29 08:57:31 -08:00
Allan Bazinet
400f80a301 Simplify truncated assignments to uint8_t 2024-12-29 08:39:06 -08:00
Allan Bazinet
4aca593671 Better scoping of loop variables 2024-12-29 08:31:04 -08:00
Allan Bazinet
f7019a35bb Simplify 6-bit word packing 2024-12-29 08:22:08 -08:00
Allan Bazinet
dac3075e1b Rename outputBits 2024-12-29 07:54:10 -08:00
Allan Bazinet
6df5246e26 Use std types 2024-12-29 07:37:10 -08:00
Allan Bazinet
5c7734d5a5 Harden alphabetWord function table creation
Removes characters from Fortran version that exceed 6 bit representation, adds sanity check that alphabet is 64 characters in size.
2024-12-29 07:33:25 -08:00
Allan Bazinet
be536d4075 Harden parity table parsing 2024-12-29 07:29:05 -08:00
Allan Bazinet
dea68652e7 Add test callouts for 6-bit alphabet outliers 2024-12-29 06:19:42 -08:00