visualdynamics.gui.state_space_panel¶
state_space_panel
¶
The Export State-Space Model pane beside the plot: the frequencies that shape the model, what it holds, a preview, and the button that writes it.
It opens on a real shape set selected together with a channel table.
The table's reference rows are the inputs and every row an output, so
the file matches the table Rattlesnake runs with
(core.state_space). The maximum frequency leaves out the modes at
and above it, for a controller its Nyquist frequency, and opens blank:
it is not guessed. Modes below the rigid frequency are moved up to it.
The plot previews the model's drive-point FRFs over the set's own;
Export writes the .npz (principle 13: select, see, set, apply).
Classes:
| Name | Description |
|---|---|
StateSpacePanel |
The maximum and rigid frequencies, emitted in Hz when either |
Classes¶
StateSpacePanel
¶
Bases: QWidget
The maximum and rigid frequencies, emitted in Hz when either changes and when Export is pressed; a maximum of 0 means none set.
Methods:
| Name | Description |
|---|---|
frequencies |
(maximum, rigid) in Hz; a maximum of 0 when none is set. |
show_settings |
Put the frequencies up without emitting them. |
show_reading |
The rows under the settings, the note under them, and whether |
Source code in src/visualdynamics/gui/state_space_panel.py
Methods:¶
frequencies
¶
(maximum, rigid) in Hz; a maximum of 0 when none is set.
show_settings
¶
Put the frequencies up without emitting them.
Source code in src/visualdynamics/gui/state_space_panel.py
show_reading
¶
show_reading(*, modes: str = '—', lifted: str = '—', dropped: str = '—', inputs: str = '—', channels: str = '—', units: str = '—', note: str = '', ready: bool = True) -> None
The rows under the settings, the note under them, and whether Export can be pressed.