visualdynamics.gui.levels_readout¶
levels_readout
¶
What the sine view's readouts of extracted levels share.
The distortion readout (gui.distortion_panel) and the frequency readout
(gui.frequency_panel) are one shape: a rule and a title under the
extraction's settings, the tone and the control channel to check, the
check's own settings, the numbers it found, its notes, and a small plot.
Each reads the levels already extracted and never extracts them, hides
beside a record with none (principle 3), says so and checks nothing
beside levels the project marks stale, and reads again at once on an
edit, keeping the expensive part of the check when only its judgement
moved. That behavior lives here once; each readout says what it checks,
what its settings are and how its numbers are worded.
Classes:
| Name | Description |
|---|---|
CheckPlot |
A check against frequency, small: frequency on the log axis every |
LevelsReadout |
The tone, the channel and the check's settings, then what it |
Classes¶
CheckPlot
¶
Bases: PreviewPlot
A check against frequency, small: frequency on the log axis every
sine level is read on, the check's own reading linear up the side.
A readout's plot says how the check is drawn (draw) and how far up
the side it reaches (span).
Methods:
| Name | Description |
|---|---|
draw |
Draw |
span |
The range up the side, (bottom, top). |
show_check |
Draw channel |
Source code in src/visualdynamics/gui/levels_readout.py
Methods:¶
draw
¶
span
¶
show_check
¶
Draw channel dof of check, or clear the plot when the
check is None.
Source code in src/visualdynamics/gui/levels_readout.py
LevelsReadout
¶
Bases: QWidget
The tone, the channel and the check's settings, then what it
found. A readout names its TITLE, its plot class PLOT, its
derived rows DERIVED as (key, label), and fills in the methods
below the line.
Methods:
| Name | Description |
|---|---|
show_levels |
Check the extracted |
settings |
The check's arguments as its plot function takes them: 'tone', |
apply_theme |
Redraw the small plot in a new theme's colors. |
Source code in src/visualdynamics/gui/levels_readout.py
Methods:¶
show_levels
¶
Check the extracted levels of history against
specification and show it; hide, and return None, when there are
no levels to check (principle 3). The tone and channel boxes list
what the levels hold and keep the ones chosen while the levels
keep them; the tone row shows only when there is more than one.
stale is the project's reason the levels are stale, if they
are: then nothing is checked and the reason is shown, since the
levels describe the record as it was. Returns the check, or None
when there is none or it was refused (the refusal is shown).
Source code in src/visualdynamics/gui/levels_readout.py
settings
¶
The check's arguments as its plot function takes them: 'tone',
'channel' and the readout's own (_own_settings).
Source code in src/visualdynamics/gui/levels_readout.py
apply_theme
¶
Redraw the small plot in a new theme's colors.