Allan Bazinet
41eaac7dba
Allow reductions to be parallelized
2024-11-15 07:06:02 -08:00
Allan Bazinet
3607090f8b
Increase height of non-flatted cumulative display
2024-11-15 06:33:03 -08:00
Allan Bazinet
36af34fa36
Specrum drawing efficiency improvements
2024-11-15 05:03:56 -08:00
Allan Bazinet
6e478923f2
Reimplement spectrum creation
2024-11-14 21:04:06 -08:00
Allan Bazinet
031f06f6dd
Make Cumulative spectrum type usable
...
Values were in power scale format, not db scale, so you needed like, all the power to move the needle at all. Converts to dB scale non-destructively, in a read-only manner. Results should be practically identical to those displayed by WSJTX.
2024-11-14 19:09:08 -08:00
Allan Bazinet
36b617febf
Split apart flat4() function
...
Perform power to dB conversion in C++, leaving only flattening to perform in Fortran. Concerned that the Windows environment is ambiguous about the size of c_bool, so eliminating the possibility.
2024-11-14 18:24:56 -08:00
Allan Bazinet
443e531617
Use pass by value to handle copying
2024-11-14 09:25:16 -08:00
Allan Bazinet
f41769e1fd
Decompose to mutable lambda
2024-11-14 09:16:58 -08:00
Allan Bazinet
2fbe474ede
Avoid mutability hack
2024-11-14 09:11:21 -08:00
Allan Bazinet
b4646bd7b4
Update commentary
2024-11-14 09:00:35 -08:00
Allan Bazinet
cf9e525af3
Delay / cache ymin calculation
2024-11-14 08:51:59 -08:00
Allan Bazinet
7f1608e24b
Compute ymin only on displayed range
2024-11-14 06:37:58 -08:00
Allan Bazinet
d88b2cfcdd
Revise flat4 call order
2024-11-14 06:01:14 -08:00
Allan Bazinet
f7a47f3279
Use named C binding
2024-11-14 05:49:55 -08:00
Allan Bazinet
d5f671ad31
Use ISO C binding for flat4
2024-11-14 05:36:14 -08:00
Allan Bazinet
cc173aff42
Refine resize drawing
2024-11-14 04:43:02 -08:00
Allan Bazinet
7eba77ceae
Allow resizing without waterfall destruction
2024-11-13 22:17:15 -08:00
Allan Bazinet
a10947ffd4
Copy swide data only once
2024-11-13 21:01:28 -08:00
Allan Bazinet
2a42186ac3
Remove text responsiblity from plotter
2024-11-13 16:27:39 -08:00
Allan Bazinet
9dca308918
Simplify TR cycle line drawing
2024-11-13 06:35:44 -08:00
Allan Bazinet
45271e6349
Correct terminology
2024-11-13 03:57:33 -08:00
Allan Bazinet
80a9d2b67d
Extract resize logic
2024-11-12 04:49:21 -08:00
Allan Bazinet
7748848a5a
Take compiler-generated default dtor
2024-11-12 04:00:49 -08:00
Allan Bazinet
96ef17ccd8
Use float constants
2024-11-11 17:57:47 -08:00
Allan Bazinet
faf753748c
Correct commentary
2024-11-11 17:31:54 -08:00
Allan Bazinet
c7f90606e3
Use of float precision
2024-11-11 15:42:33 -08:00
Allan Bazinet
f6a3a1e210
Clean up replot iteration lambdas
2024-11-11 15:11:56 -08:00
Allan Bazinet
de3cb91e3e
Guard against replot with waterfall inactive
2024-11-11 12:24:56 -08:00
Allan Bazinet
dff66fdcc5
Eliminate extra linear average gain
...
Linear average spectrum display seems fine as-is, without the gain doubling that current WSJTX gives it.
2024-11-11 10:04:28 -08:00
Allan Bazinet
52f4ce07aa
Formatting
2024-11-11 09:55:28 -08:00
Allan Bazinet
571d75676d
Make linear average gain consistent with WSJTX
2024-11-11 09:20:08 -08:00
Allan Bazinet
9cc7f920b3
Eliminate compiler warning, class enum
2024-11-11 08:05:12 -08:00
Allan Bazinet
59b0c7a22c
Hoist overload; extract color function
2024-11-11 07:23:53 -08:00
Allan Bazinet
e054493f5e
Use common overload pattern name
2024-11-11 06:48:25 -08:00
Allan Bazinet
40c5efcf37
Convert replot to overloaded lambda visitation
2024-11-11 06:40:12 -08:00
Allan Bazinet
f9cf88db3f
Restore printed text on replot
2024-11-10 23:50:02 -08:00
Allan Bazinet
739cb32743
Formatting; use pixmap device pixel ratio
2024-11-10 21:05:39 -08:00
Allan Bazinet
90bab6879a
Spectrum logic tuning
2024-11-10 20:12:40 -08:00
Allan Bazinet
52ebb45506
Extract replot logic
2024-11-10 17:55:09 -08:00
Allan Bazinet
7dd4aa98de
Use default system font
2024-11-10 15:56:07 -08:00
Allan Bazinet
02c32afa6d
Update commentary
2024-11-10 15:01:58 -08:00
Allan Bazinet
8bf64c827d
Inline overlay and spectrum drawing
2024-11-10 14:58:20 -08:00
Allan Bazinet
3b6e69393a
Guard scale pixmap usage
2024-11-10 14:42:37 -08:00
Allan Bazinet
b0c1c5c7df
Invert metrics drawing order
2024-11-10 14:36:44 -08:00
Allan Bazinet
3070a8ff29
Lose m_h instance variable
2024-11-10 13:45:10 -08:00
Allan Bazinet
f8f4cc6ee5
Spectrum should be percent of waterfall, not total
2024-11-10 13:42:19 -08:00
Allan Bazinet
adc8f301e8
Allow spectrum to actually be 0% height
...
To date, this has been faked; 0% was equivalent to one pixel, and if that kind of thing doesn’t bother you, chances are good I just don’t want to know you.
2024-11-10 13:35:17 -08:00
Allan Bazinet
ea5977b688
Use std math functions
2024-11-10 13:03:44 -08:00
Allan Bazinet
e9f06aa681
Visually differentiate cumulative / current plots
2024-11-10 11:17:43 -08:00
Allan Bazinet
c3979cb537
Correct cumulative spectrum calculation
2024-11-10 11:05:13 -08:00