gui.widget_delay_file_editor module¶
This widget contains the functionality of a simple delay file editor. The widget can be executed as a standalone version.
Functionalities provided in this widget:¶
Loading and saving of delay files from/in txt format
Provides text editor panel which can be modified by the user.
Clearing of editor panel.
Generating of delay file by setting the start point (fs), end point (fs), number of time points, the spacing of time points (fs)
An additional post-offset (fs) can be applied to the already generated delay file.
It is possible to set a -4000 fs reference point
The spacing can be done linearly or logarithmically
-
class
WidgetDFE(*args, **kwargs)[source]¶ Bases:
PyQt5.QtWidgets.QWidget,ui_delayfile.Ui_Widget_delayfile-
apply_poffset()[source]¶ Reads the text field and adds the given offset to the first item in each line if it is a number
-
fill_spacing_delay()[source]¶ Spacing and Steps depend on each other. This function calculates the delay for a given spacing.
-