Skip to content

Add direct power trace foundation - #2

Draft
AlCalzone wants to merge 8 commits into
mainfrom
alcalzone-power-trace-foundation
Draft

Add direct power trace foundation#2
AlCalzone wants to merge 8 commits into
mainfrom
alcalzone-power-trace-foundation

Conversation

@AlCalzone

@AlCalzone AlCalzone commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Upstream review: musithang#7. The prerequisites are musithang#12, musithang#13, and musithang#14. This stack adds support for spectrum analyzers that report calibrated power traces.

sdrtop only supported sample-streaming receivers. These analyzers had no accurate path into its spectrum and waterfall views.

This PR adds direct power acquisition, measured-point geometry, the power worker and RX control, and capability-aware layouts. #3 builds the tinySA backend on this foundation.

@AlCalzone
AlCalzone force-pushed the alcalzone-power-trace-foundation branch from 4b05fd9 to 4b2c404 Compare September 7, 2026 21:00
AlCalzone and others added 8 commits September 8, 2026 11:15
Use N intervals across an N-bin IQ FFT span. Share bin windows and frequency conversion across spectrum rendering, waterfall columns, and peak-jump tuning.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Use containing FFT intervals for cursor and marker lookup. Extend the final rendered interval and derive waterfall columns from each drawn row. Use captured-frame coordinates for lab peaks and recall.

Address the approved geometry review of musithang#12.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Keep existing IQ profiles at -120 to 0 dBFS with a 500 ms trace-age limit.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Address musithang#13 review with shared range-safe zoom, explicit display validation, capability-based initialization, and budget-aware FFT pacing.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Extract backend-neutral control and math helpers for the tinySA prerequisites. Preserve finite IQ averaging, peak decay, noise-floor calculation, and RX session behavior.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Address musithang#14 review with documented availability and parameter contracts, buffer preconditions, and boundary regressions.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Adapt display tests to the geometry window API while keeping each preparation layer independently testable.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Add backend-neutral calibrated trace acquisition, measured-point publication, power RX control, and capability-aware layout fallback. Preserve IQ behavior through the shared prerequisite contracts.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@AlCalzone
AlCalzone force-pushed the alcalzone-power-trace-foundation branch from 4b2c404 to b6182eb Compare September 8, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant