forked from Peter--K/Sakura
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sakura.py
36 lines (30 loc) · 1.14 KB
/
sakura.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# -----------------------------------------------------------------------------
#
# SAKURA,
# a toolkit to process and average multi-element fluorescence data
# (currently built for the XAS Beamline at Synchrotron Light Source Australia)
#
# -----------------------------------------------------------------------------
#
# Authors:
# Peter Kappen, XAS Beamline
# Gary Ruben, VeRSI (Victorian eResearch Strategic Initiative)
#
# Synchrotron Light Source Australia, 2013-2014
# -*- coding: utf-8 -*-
import wx # suppress import warning @UnusedImport
from sakura_ui import SakuraBaseMainFrame
import wx.lib.mixins.inspection
class SakuraWxApp(wx.App, wx.lib.mixins.inspection.InspectionMixin):
"""The main application class - added a wxPython inspection tool
http://wiki.wxpython.org/Widget%20Inspection%20Tool
"""
def OnInit(self):
self.Init() # initialize the inspection tool
self.m_frame = SakuraBaseMainFrame(None)
self.m_frame.Show()
self.SetTopWindow(self.m_frame)
return True
if __name__ == '__main__':
app = SakuraWxApp(0)
app.MainLoop()