Skip to content

Label the sweep's amplitude range with the stream's unit - #14

Merged
cboulay merged 1 commit into
mainfrom
feat/amplitude-unit-label
Oct 14, 2026
Merged

cboulay merged 1 commit into
mainfrom
feat/amplitude-unit-label

Conversation

@cboulay

@cboulay cboulay commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Passes the stream's unit (StreamShape.unit) to phosphor's controls bar, which now shows the amplitude range as an editable ± value field (ezmsg-org/phosphor#10). Set on build and when the stream changes in place, not every tick.

Pins phosphor>=0.11.0 in the sigmon and viewer extras (0.11.0 is on PyPI).

Tested: 91 tests pass against phosphor 0.11.0 from PyPI; exercised in a downstream timeseries viewer on live data.

phosphor's controls bar now shows the amplitude range as an editable
"± value" field, but cannot know the unit -- that is a property of the
signal, which arrives on the shmem metadata. ShmemSweepWidget passes
shape.unit through when it builds the controls and when the stream changes
in place. Requires phosphor>=0.11.0 for set_amplitude_unit.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@cboulay
cboulay marked this pull request as ready for review October 14, 2026 07:03
@cboulay
cboulay merged commit 7c33dfb into main Oct 14, 2026
13 of 33 checks passed
@cboulay
cboulay deleted the feat/amplitude-unit-label branch October 14, 2026 07:04
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