visualdynamics.gui.sine_panel¶
sine_panel
¶
The sine extraction's settings, as a table beside the time history.
The settings say how a sweep's levels are read out of the recording:
the smoothing, chosen automatically or set as a number of cycles, and
whether the sweep clock is fitted to the recording. Below them are the
values that follow: the cycles the automatic choice used, the smoothing
window in seconds at the start and end of the first tone, the median
scatter a reading is predicted to have, and the share of samples under
the noise floor. A preview plot shows the readings themselves, sampled
along each tone at the smoothing shown (core.sine.sample_levels, a
few short solves, so it follows every edit). The Extract Sine Levels
button runs the project verb with whatever is set at that moment, the
same split as in the filter panel, since these are also settings
carried by the record. Under the button, when the specification holds a
dwell, the dwell readout reads it against time (gui.dwell_panel); a
held tone is one point over frequency, and its story is in time. And once
the levels have been extracted, the distortion readout checks them
against the record read unfiltered (gui.distortion_panel): what the
channel carried besides the tone the extraction tracked; and the
frequency readout checks the tone's own frequency on the record against
the specification's (gui.frequency_panel). Under that, when the project also
holds a random specification of the floor, the mixed-mode readout
reads the record's data sheet, floor, tones and total, each by its
own rule (gui.mixed_panel).
Classes:
| Name | Description |
|---|---|
SamplePlot |
The sampled readings against frequency: a dot per control |
SinePanel |
The settings table. Edits are emitted as a whole |
Classes¶
SamplePlot
¶
Bases: PreviewPlot
The sampled readings against frequency: a dot per control channel at the smoothing shown, or a hollow ring at the noise floor where the tone is under it.
It is small on purpose, like the filter panel's response plot: it shows at a glance how clean the readings are at this smoothing, and the extracted levels show the rest.
Methods:
| Name | Description |
|---|---|
show_samples |
Draw the sampled readings: one color per tone, a dot per |
Source code in src/visualdynamics/gui/sine_panel.py
Methods:¶
show_samples
¶
Draw the sampled readings: one color per tone, a dot per channel and point, and a ring at the floor where the tone was under it.
Source code in src/visualdynamics/gui/sine_panel.py
SinePanel
¶
Bases: QWidget
The settings table. Edits are emitted as a whole SineExtraction.
Methods:
| Name | Description |
|---|---|
show_history |
Point the panel at a record, the sweep it is read against |
set_setting |
Show a setting in the panel without emitting |
setting |
The setting the editors currently describe, carrying the |
Source code in src/visualdynamics/gui/sine_panel.py
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 | |
Methods:¶
show_history
¶
show_history(history: TimeHistory, specification: SineSweepSpecification, setting: SineExtraction) -> None
Point the panel at a record, the sweep it is read against and the setting on it, and sample the readings at that setting.
Source code in src/visualdynamics/gui/sine_panel.py
set_setting
¶
set_setting(setting: SineExtraction) -> None
Show a setting in the panel without emitting changed.
Source code in src/visualdynamics/gui/sine_panel.py
setting
¶
setting() -> SineExtraction
The setting the editors currently describe, carrying the cycles the automatic choice picked for this record.