visualdynamics.gui.distortion_panel¶
distortion_panel
¶
The distortion readout: what a sine record carries besides its tone, read in the sine view.
A sine controller holds the tone it reads through its tracking band and
sees nothing else, so the levels the extraction reads say nothing of
what else was on the channel. Once the levels have been extracted, this
readout sits under the extraction's settings and checks them
(core.sine_distortion.check_distortion): the RMS of the record less
the tracked tones against the RMS of the tones at every line of the
sweep, as a distortion in percent and dB, against the limit a tolerance
on the ratio sets (the unfiltered RMS 5 % over the tone by default, a distortion of
32 %). On a channel chosen here (a control channel, since those are the
ones the extraction reads), it gives the limit, the worst reading and
where, how many lines are over, and the verdict in words. The small plot
under the numbers is the distortion against frequency with the limit
dashed across it, the same drawing plot_sine_distortion makes
(plot.sine_distortion.draw_distortion).
It is a reading, not an act: nothing is made, so there is no button,
and an edit reads again at once. It reads the levels already extracted
and never extracts them itself, since an extraction is the long part,
so beside a record with no levels it stays away (principle 3), and
beside levels the project marks stale it says so and checks nothing
(gui.levels_readout, which the frequency readout shares).
Classes:
| Name | Description |
|---|---|
DistortionPlot |
The distortion against frequency, small: frequency on the log axis |
DistortionPanel |
The tone, the channel and the limit, then what the check found. |
Classes¶
DistortionPlot
¶
Bases: CheckPlot
The distortion against frequency, small: frequency on the log axis every sine level is read on, the distortion linear from zero, since the limit is read as a height.
Source code in src/visualdynamics/gui/levels_readout.py
DistortionPanel
¶
Bases: LevelsReadout
The tone, the channel and the limit, then what the check found.
Methods:
| Name | Description |
|---|---|
show_distortion |
Check the extracted |