pyarts3.gui

GUI subpackage for pyarts3.

Exports: - start_gui: Convenience function to start the GUI - PlotGui: Main plotting GUI widget - edit: Module containing workspace group editors

class pyarts3.gui.PlotGui(plot_kwarg_func, plot_func, simulation_settings=None, post=None, *args, **kwargs)[source]
__init__(plot_kwarg_func, plot_func, simulation_settings=None, post=None, *args, **kwargs)[source]
add_option(settings_type)[source]

Show dialog to add a new Plot or Post Setting.

Parameters:

settings_type – Either “plot” or “post”

edit_option(settings_type)[source]

Edit an existing Plot or Post Setting.

Parameters:

settings_type – Either “plot” or “post”

init_ui()[source]
on_item_double_clicked(list_type, item)[source]

Handle double-click on an item from any of the lists.

on_motion(event)[source]

Handle mouse motion for panning and zoom rectangle.

on_plot_tab_changed(index)[source]

Handle change of the plot selection tab above the canvas.

on_press(event)[source]

Handle mouse button press for panning, zooming, and reset.

on_release(event)[source]

Handle mouse button release.

on_scroll(event)[source]

Handle mouse scroll for zooming.

on_settings_item_clicked(item, settings_type)[source]

Handle click on settings list items.

Parameters:
  • item – The clicked item

  • settings_type – Either “plot” or “post”

remove_option(settings_type)[source]

Remove the selected Plot or Post Setting.

Parameters:

settings_type – Either “plot” or “post”

run_plot()[source]

Run the plot function with current results and settings.

run_simulation()[source]

Run the simulation function to generate results.

show_options_context_menu(position, settings_type)[source]

Show context menu for Plot Settings or Post Settings list.

Parameters:
  • position – Position where menu was requested

  • settings_type – Either “plot” or “post”

update_settings_display(settings_type)[source]

Refresh the Plot Settings or Post Settings display.

Parameters:

settings_type – Either “plot” or “post”

pyarts3.gui.start_gui(plot_kwarg_func, plot_func=<function plot>, simulation_settings=None, post=None)[source]