Definition at line 22 of file mainwindow.py.
Public Member Functions | |
def | __init__ (self) |
def | AddDirectory (self, tdir) |
def | close_all_canvases (self) |
def | get_canvas_size (self, size="") |
def | hello (self) |
def | load_library (self, library_name, grut_lib=True) |
def | LoadCutG (self, cutg) |
def | LoadDataFile (self, filename=None) |
def | LoadGuiFile (self, filename) |
def | LoadRootFile (self, filename=None) |
def | LoadWindowFile (self, filename=None) |
def | open_canvas (self, title="", columns=-1, rows=-1, topx=0, topy=0, width=0, height=0) |
def | RefreshHistograms (self) |
def | ResetAllHistograms (self) |
def | ResetHistograms (self, hist=None) |
def | ResortDataFile (self) |
def | Run (self) |
def | set_zones (self) |
def | Terminate (self) |
def | Update (self) |
Private Member Functions | |
def | _draw_single (self, hist, color=1, nselected=1) |
def | _dump_root_file (self, filename=None, include_histograms=True) |
def | _load_default_style (self) |
def | _load_icons (self) |
def | _MakeFileMenu (self, menubar) |
def | _MakeHelpMenu (self, menubar) |
def | _MakeMenuBar (self) |
def | _MakeOptStatMenu (self, menubar) |
def | _MakePlotMenu (self, menubar) |
def | _MakeRefreshMenu (self, menubar) |
def | _MakeZoneMenu (self, menubar) |
def | _PeriodicRefresh (self) |
def | _PickIcon (self, obj) |
def | _save_gui_file (self, filename=None) |
def | _SetOptStat (self) |
def | _setup_GUI (self) |
def | _setup_status_bar (self, parent) |
def | _update_status_bar (self) |
def pygui.mainwindow.MainWindow.__init__ | ( | self | ) |
Definition at line 24 of file mainwindow.py.
|
private |
Definition at line 455 of file mainwindow.py.
References pygui.mainwindow.MainWindow._SetOptStat(), pygui.mainwindow.MainWindow.canvases, if(), pygui.mainwindow.MainWindow.open_canvas(), pygui.mainwindow.MainWindow.plotlocation, pygui.mainwindow.MainWindow.zone_cols, and pygui.mainwindow.MainWindow.zone_rows.
|
private |
Definition at line 67 of file mainwindow.py.
References pygui.mainwindow.MainWindow.hist_tab, pygui.mainwindow.MainWindow.RefreshHistograms(), pygui.mainwindow.MainWindow.tcut_tab, and pygui.mainwindow.MainWindow.variable_tab.
|
private |
Definition at line 102 of file mainwindow.py.
|
private |
Definition at line 85 of file mainwindow.py.
|
private |
Definition at line 246 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._MakeMenuBar().
|
private |
Definition at line 433 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._MakeMenuBar().
|
private |
Definition at line 234 of file mainwindow.py.
References pygui.mainwindow.MainWindow._MakeFileMenu(), pygui.mainwindow.MainWindow._MakeHelpMenu(), pygui.mainwindow.MainWindow._MakeOptStatMenu(), pygui.mainwindow.MainWindow._MakePlotMenu(), pygui.mainwindow.MainWindow._MakeRefreshMenu(), pygui.mainwindow.MainWindow._MakeZoneMenu(), and pygui.mainwindow.MainWindow.window.
Referenced by pygui.mainwindow.MainWindow._setup_GUI().
|
private |
Definition at line 388 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._MakeMenuBar().
|
private |
Definition at line 419 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._MakeMenuBar().
|
private |
Definition at line 309 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._MakeMenuBar().
|
private |
Definition at line 338 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._MakeMenuBar().
|
private |
Definition at line 330 of file mainwindow.py.
References pygui.mainwindow.MainWindow._PeriodicRefresh(), pygui.mainwindow.MainWindow.RefreshHistograms(), pygui.mainwindow.MainWindow.refreshrate, and pygui.mainwindow.MainWindow.window.
Referenced by pygui.mainwindow.MainWindow._PeriodicRefresh().
|
private |
Definition at line 275 of file mainwindow.py.
References pygui.mainwindow.MainWindow.icons.
|
private |
Definition at line 46 of file mainwindow.py.
References pygui.mainwindow.MainWindow.hist_tab, pygui.mainwindow.MainWindow.tcut_tab, and pygui.mainwindow.MainWindow.variable_tab.
|
private |
Definition at line 204 of file mainwindow.py.
References pygui.mainwindow.MainWindow.optstat_entries, pygui.mainwindow.MainWindow.optstat_integral, pygui.mainwindow.MainWindow.optstat_kurt, pygui.mainwindow.MainWindow.optstat_kurt_err, pygui.mainwindow.MainWindow.optstat_mean, pygui.mainwindow.MainWindow.optstat_mean_err, pygui.mainwindow.MainWindow.optstat_name, pygui.mainwindow.MainWindow.optstat_overflow, pygui.mainwindow.MainWindow.optstat_rms, pygui.mainwindow.MainWindow.optstat_rms_err, pygui.mainwindow.MainWindow.optstat_skew, pygui.mainwindow.MainWindow.optstat_skew_err, and pygui.mainwindow.MainWindow.optstat_underflow.
Referenced by pygui.mainwindow.MainWindow._draw_single().
|
private |
Definition at line 117 of file mainwindow.py.
References pygui.mainwindow.MainWindow._MakeMenuBar(), pygui.mainwindow.MainWindow.LoadDataFile(), pygui.mainwindow.MainWindow.LoadRootFile(), pygui.mainwindow.MainWindow.LoadWindowFile(), pygui.mainwindow.MainWindow.RefreshHistograms(), pygui.mainwindow.MainWindow.ResetAllHistograms(), pygui.mainwindow.MainWindow.ResetHistograms(), pygui.mainwindow.MainWindow.ResortDataFile(), and pygui.mainwindow.MainWindow.window.
Referenced by pygui.status_widget.ThreadStatusFrame._ThreadCheck().
|
private |
Definition at line 189 of file mainwindow.py.
|
private |
Definition at line 197 of file mainwindow.py.
References pygui.mainwindow.MainWindow.status_bar.
def pygui.mainwindow.MainWindow.AddDirectory | ( | self, | |
tdir | |||
) |
Definition at line 501 of file mainwindow.py.
References pygui.mainwindow.MainWindow.hist_tab, and pygui.mainwindow.MainWindow.tcut_tab.
def pygui.mainwindow.MainWindow.close_all_canvases | ( | self | ) |
Definition at line 571 of file mainwindow.py.
def pygui.mainwindow.MainWindow.get_canvas_size | ( | self, | |
size = "" |
|||
) |
Definition at line 300 of file mainwindow.py.
References pygui.mainwindow.MainWindow.defaultcanvassize.
Referenced by pygui.mainwindow.MainWindow.open_canvas().
def pygui.mainwindow.MainWindow.hello | ( | self | ) |
Definition at line 568 of file mainwindow.py.
def pygui.mainwindow.MainWindow.load_library | ( | self, | |
library_name, | |||
grut_lib = True |
|||
) |
Definition at line 562 of file mainwindow.py.
def pygui.mainwindow.MainWindow.LoadCutG | ( | self, | |
cutg | |||
) |
Definition at line 511 of file mainwindow.py.
References pygui.mainwindow.MainWindow.tcut_tab.
def pygui.mainwindow.MainWindow.LoadDataFile | ( | self, | |
filename = None |
|||
) |
Definition at line 515 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._setup_GUI().
def pygui.mainwindow.MainWindow.LoadGuiFile | ( | self, | |
filename | |||
) |
Definition at line 34 of file mainwindow.py.
References pygui.mainwindow.MainWindow.hist_tab, pygui.mainwindow.MainWindow.tcut_tab, and pygui.mainwindow.MainWindow.variable_tab.
def pygui.mainwindow.MainWindow.LoadRootFile | ( | self, | |
filename = None |
|||
) |
Definition at line 526 of file mainwindow.py.
References pygui.mainwindow.MainWindow.files, pygui.mainwindow.MainWindow.hist_tab, pygui.mainwindow.MainWindow.tcut_tab, and pygui.mainwindow.MainWindow.variable_tab.
Referenced by pygui.mainwindow.MainWindow._setup_GUI().
def pygui.mainwindow.MainWindow.LoadWindowFile | ( | self, | |
filename = None |
|||
) |
Definition at line 544 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._setup_GUI().
def pygui.mainwindow.MainWindow.open_canvas | ( | self, | |
title = "" , |
|||
columns = -1 , |
|||
rows = -1 , |
|||
topx = 0 , |
|||
topy = 0 , |
|||
width = 0 , |
|||
height = 0 |
|||
) |
Definition at line 576 of file mainwindow.py.
References pygui.mainwindow.MainWindow.canvases, pygui.mainwindow.MainWindow.get_canvas_size(), pygui.mainwindow.MainWindow.plotlocation, pygui.mainwindow.MainWindow.zone_cols, and pygui.mainwindow.MainWindow.zone_rows.
Referenced by pygui.mainwindow.MainWindow._draw_single().
def pygui.mainwindow.MainWindow.RefreshHistograms | ( | self | ) |
Definition at line 437 of file mainwindow.py.
References pygui.util.update_tcanvases().
Referenced by pygui.mainwindow.MainWindow._dump_root_file(), pygui.mainwindow.MainWindow._PeriodicRefresh(), and pygui.mainwindow.MainWindow._setup_GUI().
def pygui.mainwindow.MainWindow.ResetAllHistograms | ( | self | ) |
Definition at line 449 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._setup_GUI().
def pygui.mainwindow.MainWindow.ResetHistograms | ( | self, | |
hist = None |
|||
) |
Definition at line 440 of file mainwindow.py.
References pygui.util.update_tcanvases().
Referenced by pygui.mainwindow.MainWindow._setup_GUI().
def pygui.mainwindow.MainWindow.ResortDataFile | ( | self | ) |
Definition at line 452 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._setup_GUI().
def pygui.mainwindow.MainWindow.Run | ( | self | ) |
Definition at line 556 of file mainwindow.py.
References pygui.mainwindow.MainWindow.window.
def pygui.mainwindow.MainWindow.set_zones | ( | self | ) |
Definition at line 380 of file mainwindow.py.
References pygui.mainwindow.MainWindow.predefinedzones, pygui.mainwindow.MainWindow.zone_cols, and pygui.mainwindow.MainWindow.zone_rows.
def pygui.mainwindow.MainWindow.Terminate | ( | self | ) |
Definition at line 271 of file mainwindow.py.
def pygui.mainwindow.MainWindow.Update | ( | self | ) |
Definition at line 559 of file mainwindow.py.
References pygui.grut-view.update(), and pygui.mainwindow.MainWindow.window.
pygui.mainwindow.MainWindow.canvases |
Definition at line 29 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._draw_single(), and pygui.mainwindow.MainWindow.open_canvas().
pygui.mainwindow.MainWindow.defaultcanvassize |
Definition at line 247 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow.get_canvas_size().
pygui.mainwindow.MainWindow.dummy |
Definition at line 272 of file mainwindow.py.
pygui.mainwindow.MainWindow.files |
Definition at line 30 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow.LoadRootFile().
pygui.mainwindow.MainWindow.hist_tab |
pygui.mainwindow.MainWindow.icons |
Definition at line 86 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._PickIcon().
pygui.mainwindow.MainWindow.optstat_entries |
Definition at line 390 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
pygui.mainwindow.MainWindow.optstat_integral |
Definition at line 397 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
pygui.mainwindow.MainWindow.optstat_kurt |
Definition at line 400 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
pygui.mainwindow.MainWindow.optstat_kurt_err |
Definition at line 401 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
pygui.mainwindow.MainWindow.optstat_mean |
Definition at line 391 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
pygui.mainwindow.MainWindow.optstat_mean_err |
Definition at line 392 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
pygui.mainwindow.MainWindow.optstat_name |
Definition at line 389 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
pygui.mainwindow.MainWindow.optstat_overflow |
Definition at line 396 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
pygui.mainwindow.MainWindow.optstat_rms |
Definition at line 393 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
pygui.mainwindow.MainWindow.optstat_rms_err |
Definition at line 394 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
pygui.mainwindow.MainWindow.optstat_skew |
Definition at line 398 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
pygui.mainwindow.MainWindow.optstat_skew_err |
Definition at line 399 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
pygui.mainwindow.MainWindow.optstat_underflow |
Definition at line 395 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._SetOptStat().
pygui.mainwindow.MainWindow.plotlocation |
Definition at line 420 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._draw_single(), and pygui.mainwindow.MainWindow.open_canvas().
pygui.mainwindow.MainWindow.predefinedzones |
Definition at line 339 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow.set_zones().
pygui.mainwindow.MainWindow.refreshrate |
Definition at line 310 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._PeriodicRefresh().
pygui.mainwindow.MainWindow.status_bar |
Definition at line 192 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._update_status_bar().
pygui.mainwindow.MainWindow.tcut_tab |
Definition at line 174 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._dump_root_file(), pygui.mainwindow.MainWindow._save_gui_file(), pygui.mainwindow.MainWindow.AddDirectory(), pygui.mainwindow.MainWindow.LoadCutG(), pygui.mainwindow.MainWindow.LoadGuiFile(), and pygui.mainwindow.MainWindow.LoadRootFile().
pygui.mainwindow.MainWindow.variable_tab |
Definition at line 178 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._dump_root_file(), pygui.mainwindow.MainWindow._save_gui_file(), pygui.mainwindow.MainWindow.LoadGuiFile(), and pygui.mainwindow.MainWindow.LoadRootFile().
pygui.mainwindow.MainWindow.window |
Definition at line 25 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._MakeMenuBar(), pygui.mainwindow.MainWindow._PeriodicRefresh(), pygui.mainwindow.MainWindow._setup_GUI(), pygui.mainwindow.MainWindow.Run(), and pygui.mainwindow.MainWindow.Update().
pygui.mainwindow.MainWindow.zone_cols |
Definition at line 341 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._draw_single(), pygui.mainwindow.MainWindow.open_canvas(), and pygui.mainwindow.MainWindow.set_zones().
pygui.mainwindow.MainWindow.zone_rows |
Definition at line 340 of file mainwindow.py.
Referenced by pygui.mainwindow.MainWindow._draw_single(), pygui.mainwindow.MainWindow.open_canvas(), and pygui.mainwindow.MainWindow.set_zones().