GUI Module
Graphical user interface components for interactive data logging and analysis.
Main Logger Class
Logger
Attributes
settings
instance-attribute
test_name
instance-attribute
dataset
instance-attribute
default_window
instance-attribute
default_window = default_window
current_view
instance-attribute
N_frames
instance-attribute
overlap
instance-attribute
iw_fft_power
instance-attribute
iw_tf_power
instance-attribute
legend_loc
instance-attribute
legend_loc = 'lower right'
show_coherence
instance-attribute
show_data
instance-attribute
coherence_plot_type
instance-attribute
coherence_plot_type = 'linear'
xlinlog
instance-attribute
plot_type
instance-attribute
freq_range
instance-attribute
auto_xy
instance-attribute
channels
instance-attribute
last_action
instance-attribute
iw_power
instance-attribute
selected_channels
instance-attribute
flag_scaling
instance-attribute
message_time
instance-attribute
flag_log_and_replace
instance-attribute
flag_log_and_replace = False
flag_output
instance-attribute
message_timer
instance-attribute
stream_check_timer
instance-attribute
stream_check_timer = QTimer()
levels_timer
instance-attribute
message
instance-attribute
t0_clipped
instance-attribute
fn_in_range
instance-attribute
output_signal_settings
instance-attribute
output_signal_settings = Output_Signal_Settings(type='None', amp=0, f1=0, f2=0)
window
instance-attribute
Functions
__init__
__init__(settings=None, test_name=None, default_window=None, output_signal_settings=None, dataset=None)
setup_frame_plot_details
setup_frame_plot_details()
setup_frame_tools_selection()
setup_frame_tools_time_domain
setup_frame_tools_time_domain()
setup_frame_tools_scaling()
setup_frame_tools_mode_fitting()
setup_frame_tools_settings()
setup_frame_tools_generate_output()
setup_frame_tools_edit_dataset()
setup_frame_tools_sonogram()
setup_frame_tools_save_export()
show_message
show_message(message, b='ok')
button_clicked_log_data()
update_modal_message
update_modal_message(axes)
update_selected_channels
update_selected_channels(_)
update_co_axes_values
update_co_axes_values(axes)
switch_view
switch_view(new_view_text)
show_plot_details_with_coherence
show_plot_details_with_coherence()
show_plot_details_with_nqyuist
show_plot_details_with_nqyuist()
show_plot_details_basic
show_plot_details_basic()
view_modal_reconstruction
view_modal_reconstruction()
refresh_sono_N_frames_slider
refresh_sono_N_frames_slider()
refresh_sono_N_frames_text
refresh_sono_N_frames_text()
Window Classes
PreviewWindow
Attributes
preview_window
instance-attribute
preview_window = QWidget()
fig
instance-attribute
fig = Figure(figsize=(9, 5), dpi=100)
canvas
instance-attribute
canvas = FigureCanvas(fig)
toolbar = NavigationToolbar2QT(canvas, None)
p
instance-attribute
p = PlotData(canvas=canvas, fig=fig)
label_figure = boldLabel(title)
layout_figure = QVBoxLayout()
DampingFitWindow
Attributes
window
instance-attribute
fig
instance-attribute
fig = Figure(figsize=(9, 6), dpi=100)
canvas
instance-attribute
canvas = FigureCanvas(fig)
toolbar = NavigationToolbar2QT(canvas, None)
label_figure = boldLabel(title)
layout_figure = QVBoxLayout()
Functions
Note
The GUI module is primarily intended for interactive use through the
Logger interface. Most users will instantiate Logger(settings) rather
than using these classes directly.