visualdynamics.gui.rescale_panel¶
rescale_panel
¶
A time history's records rescaled, beside the plot that previews it.
The Rescale reading draws the records picked (all of them when none
are) as recorded and as they would be rescaled, one over the other on
the same axes. This panel holds how the factor is given, above the rule:
typed as a factor, or worked out from the sensitivity the data was
recorded with and the correct one (core.rescale.sensitivity_factor).
Under the rule are the factor that applies, the records it applies to
and the largest value drawn before and after.
Every edit redraws at once. Apply Rescale makes the record
(Project.rescale, the call a script makes) beside the source and
linked to it, the records picked multiplied by the factor shown.
Classes:
| Name | Description |
|---|---|
RescalePanel |
The settings and the readout. Edits are emitted as |
Classes¶
RescalePanel
¶
Bases: QWidget
The settings and the readout. Edits are emitted as settings().
Methods:
| Name | Description |
|---|---|
settings |
The settings: 'way' ('factor' or 'sensitivity'), 'factor', and |
set_settings |
Set the fields from a |
show_reading |
Fill the readout from |
Source code in src/visualdynamics/gui/rescale_panel.py
Methods:¶
settings
¶
The settings: 'way' ('factor' or 'sensitivity'), 'factor', and 'recorded' and 'correct' in mV per engineering unit.
Source code in src/visualdynamics/gui/rescale_panel.py
set_settings
¶
Set the fields from a settings() dict without a redraw per
field; emits nothing, since the caller is about to draw.
Source code in src/visualdynamics/gui/rescale_panel.py
show_reading
¶
Fill the readout from reading (key to text, ROWS' keys);
None clears it.