visualdynamics.gui.frequency_panel¶
frequency_panel
¶
The frequency readout: whether a sine record's tone was at the frequency its profile asks for, read in the sine view.
A sine test is held to its frequency as well as its level, and the
levels the extraction reads are placed at the specified frequency
whether the tone was there or not. Once the levels have been extracted,
this readout sits under the extraction's settings, below the distortion
readout, and checks them (core.sine_frequency.check_frequency): the
tone's own frequency on the record against the specification's at every
line of the sweep, as an error in percent and hertz, against a band set
as a share of the frequency with a floor in hertz (2 % and no floor by
default; '2 % or 1 Hz, whichever is greater' is 2 % with a 1 Hz floor).
On a channel chosen here (a control channel, since those are the ones
the extraction reads), it gives the band, the worst reading and where,
how many lines are outside, and the verdict in words. The small plot
under the numbers is the error against frequency with the band dashed
either side of zero, the same drawing plot_sine_frequency makes
(plot.sine_frequency.draw_frequency).
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, 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).
Classes:
| Name | Description |
|---|---|
FrequencyPlot |
The frequency error against frequency, small: frequency on the |
FrequencyPanel |
The tone, the channel and the band, then what the check found. |
Classes¶
FrequencyPlot
¶
Bases: CheckPlot
The frequency error against frequency, small: frequency on the log axis every sine level is read on, the error linear about zero, since a tone runs off either way.
Source code in src/visualdynamics/gui/levels_readout.py
FrequencyPanel
¶
Bases: LevelsReadout
The tone, the channel and the band, then what the check found.
Methods:
| Name | Description |
|---|---|
show_frequency |
Check the extracted |