IQM_Vis.UI package
Submodules
IQM_Vis.UI.custom_widgets module
Custom SubClasses of PyQt6 widget to extent to the required functionality
IQM_Vis.UI.experiment_mode_2AFC module
create experiment window
- class IQM_Vis.UI.experiment_mode_2AFC.make_experiment_2AFC(checked_transformation_params, data_store, image_display_size, rgb_brightness, display_brightness, default_save_dir='/home/matt/IQM-Vis', image_preprocessing='None', image_postprocessing='None', checked_metrics={})[source]
Bases:
PyQt6.QtWidgets.QMainWindow
- get_metric_scores()[source]
get IQM scores to save alongside the experiment for plotting/analysis purposes
- partition(low, high)[source]
given an unsorted partition of the array between low and high, order elements lower than a given pivot point to the left and higher to the right
- reset_clicked_image
- saved_experiment
IQM_Vis.UI.experiment_mode_JND module
create experiment window JND
- class IQM_Vis.UI.experiment_mode_JND.make_experiment_JND(checked_transformation_params, data_store, image_display_size, rgb_brightness, display_brightness, default_save_dir='/home/matt/IQM-Vis', dataset_name='dataset1', image_preprocessing='None', image_postprocessing='None', lower_im_num=1, upper_im_num=1, checked_metrics={})[source]
Bases:
PyQt6.QtWidgets.QMainWindow
https://www.verywellmind.com/what-is-the-just-noticeable-difference-2795306
- get_metric_scores(calc=False)[source]
get IQM scores to save alongside the experiment for plotting/analysis purposes
- get_unique_save_dir()[source]
get directory that is unique based on if it’s the same experiment or not
- reset_clicked_image
- saved_experiment
IQM_Vis.UI.images module
UI image functions
IQM_Vis.UI.layout module
UI create layout
IQM_Vis.UI.main module
main entry point to initialise the UI
- class IQM_Vis.UI.main.make_app(app, data_stores: list, transformations: dict, metrics_info_format='graph', metrics_avg_graph=False, metric_range_graph=True, metric_params: dict = {}, image_display_size=300, default_save_dir='/home/matt/IQM-Vis', default_dataset_name='dataset1', restrict_options=None, num_steps_range=11, num_step_experiment=6, num_images_scroll_show=7, test=False)[source]
Bases:
IQM_Vis.UI.widgets.widgets
,IQM_Vis.UI.layout.layout
,IQM_Vis.UI.images.images
list all trans/metrics in the menu drop downs
IQM_Vis.UI.threads module
thread and signal classes to makethe UI smoother useful info about PyQt6 threads: https://www.pythontutorial.net/pyqt/pyqt-qthread/
IQM_Vis.UI.utils module
IQM_Vis.UI.widgets module
UI create widgets