visualdynamics.gui.lines_panel¶
lines_panel
¶
The Convert to PSD/CPSD pane beside the plot, for a specification written at breakpoints: the frequency spacing of the lines to read it onto, what that gives, a preview, and the button that converts it.
A density to drive or predict with is read line by line, so a
specification at breakpoints is read onto evenly spaced lines when it
is converted (Project.convert_to_psd, with the sheet's own reading,
core.author.read_onto_lines). The spacing opens at the one its sheet
remembers, and blank when there is none: it is not guessed. The plot
previews the result; Generate converts it (principle 13: select, see,
set, apply). A specification already on lines converts with no pane.
Classes:
| Name | Description |
|---|---|
LinesPanel |
The spacing, emitted in Hz when it changes and when Generate is |
Classes¶
LinesPanel
¶
Bases: QWidget
The spacing, emitted in Hz when it changes and when Generate is pressed; 0 means none set.
Methods:
| Name | Description |
|---|---|
spacing |
The spacing set, in Hz; 0 when none is. |
show_settings |
Put the title and the spacing up without emitting them. |
show_reading |
The rows under the setting, the note under them, and whether |
Source code in src/visualdynamics/gui/lines_panel.py
Methods:¶
spacing
¶
show_settings
¶
Put the title and the spacing up without emitting them.
Source code in src/visualdynamics/gui/lines_panel.py
show_reading
¶
show_reading(*, breakpoints: str = '—', span: str = '—', lines: str = '—', note: str = '', ready: bool = True) -> None
The rows under the setting, the note under them, and whether Generate can be pressed.