Commit graph

128 commits

Author SHA1 Message Date
Allan Bazinet
40710efe18 Normalize percent2D 2024-12-11 05:45:24 -08:00
Allan Bazinet
5dc2a91f53 Add percent2DScreen() accessor 2024-12-11 05:38:52 -08:00
Allan Bazinet
68692ba7fb Provide flatten() accessor 2024-12-11 05:26:59 -08:00
Allan Bazinet
3b787720b9 Formatting 2024-12-08 19:48:05 -08:00
Allan Bazinet
3668880d3e Formatting 2024-12-07 10:53:36 -08:00
Allan Bazinet
c92faea53d Commentary 2024-12-07 10:51:33 -08:00
Allan Bazinet
8b93d6ed42 Add include 2024-12-07 09:14:13 -08:00
Allan Bazinet
09eccfc370 Introduce scalers; debounce gain and zero
Extract scaling logic for the waterfall and spectrum into scaler subclasses. Debounce replotting on setting of waterfall gain and zero.
2024-12-07 08:37:52 -08:00
Allan Bazinet
3b689f4ea0 Add ColorMapper functor 2024-12-06 06:07:03 -08:00
Allan Bazinet
67e4e16f3b Spectrum drawing avoidance based on sink state 2024-12-05 10:12:04 -08:00
Allan Bazinet
facbd84ca6 Extract RDP algorithm to functor class 2024-12-02 22:09:35 -08:00
Allan Bazinet
7cf5e9aef7 Extract Flatten class 2024-11-27 20:12:52 -08:00
Allan Bazinet
8307bb8387 Use pimp idiom for WF::Flatten 2024-11-23 06:02:11 -08:00
Allan Bazinet
8c8536531f Testing use of Eigen for waterfall flattening 2024-11-22 18:34:32 -08:00
Allan Bazinet
5c188c609b Initial swing at RDP algorithm addition 2024-11-15 11:32:10 -08:00
Allan Bazinet
443e531617 Use pass by value to handle copying 2024-11-14 09:25:16 -08:00
Allan Bazinet
cc173aff42 Refine resize drawing 2024-11-14 04:43:02 -08:00
Allan Bazinet
d586c96274 Commentary 2024-11-13 22:38:49 -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
6b2b45c127 Ensure default array value initializations 2024-11-13 17:10:34 -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
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
c7f90606e3 Use of float precision 2024-11-11 15:42:33 -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
52ebb45506 Extract replot logic 2024-11-10 17:55:09 -08:00
Allan Bazinet
8bf64c827d Inline overlay and spectrum drawing 2024-11-10 14:58:20 -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
eb61b6c66c Lose defuct m_sum array; tune spectrum math 2024-11-10 10:31:39 -08:00
Allan Bazinet
5d422caafd Accessor tuning 2024-11-10 09:41:16 -08:00
Allan Bazinet
dafe03c5d3 Plot accessor tuning 2024-11-10 09:37:15 -08:00
Allan Bazinet
41d7880303 Address decode line text latency possibility 2024-11-10 09:25:11 -08:00
Allan Bazinet
2488aa6114 Rework graph responsibilities
Simplify drawing, change, and replot logic
2024-11-10 07:41:10 -08:00
Allan Bazinet
ffa7e34602 Rename replot cache 2024-11-10 04:10:38 -08:00
Allan Bazinet
8a60d31933 Kill off Fortran plotsave() routine
It would be difficult to consider a more unspeakable horror than this; I can’t even think rationally about it. It must be purged, the implementation burned, the ashes scattered, and the ground salted. Dramatically improves replot performance.
2024-11-10 03:56:31 -08:00
Allan Bazinet
9c61c9d02f Pass replot on stack 2024-11-09 22:47:20 -08:00
Allan Bazinet
092e5316d1 Use QPolygon for spectrum draw 2024-11-09 13:15:00 -08:00
Allan Bazinet
0a3215f69d Simplify plotter inheritance
Plotter can be a QWidget; doesn’t need to be a QFrame.
2024-11-09 05:51:37 -08:00
Allan Bazinet
0560cd5342 Remove paint event recursion guard
We don’t do anything in the paint event that would trigger another paint event; should not need to guard.
2024-11-09 05:17:21 -08:00
Allan Bazinet
27cb05a0b4 Improve filter efficiency 2024-11-08 07:31:19 -08:00
Allan Bazinet
54f1033c47 Revise m_freqPerPixel initialization 2024-11-08 07:12:52 -08:00
Allan Bazinet
42efdbfc43 Reduce plotter memory usage
Cut up single overlay pixmap into two smaller pixmaps, displaying only what’s not the filter bandpass.
2024-11-08 04:49:04 -08:00
Allan Bazinet
a030b20c2f Update drawing guards 2024-11-07 20:16:19 -08:00
Allan Bazinet
2ebf5e2437 Ongoing filter display fixes 2024-11-07 17:51:23 -08:00
Allan Bazinet
45c4001989 Don’t need composition mode for dial drawing 2024-11-07 17:03:59 -08:00
Allan Bazinet
83700f9b4a Plotter update tuning 2024-11-07 13:44:04 -08:00