add MAVelocity.py
This commit is contained in:
15
python/PBMotionAnalyzer.py
Normal file → Executable file
15
python/PBMotionAnalyzer.py
Normal file → Executable file
@@ -1,9 +1,18 @@
|
||||
#!/usr/bin/env python
|
||||
# *-----------------------------------------------------------------------*
|
||||
# | |
|
||||
# | Copyright (c) 2016 by Paul Scherrer Institute (http://www.psi.ch) |
|
||||
# | |
|
||||
# | Author Thierry Zamofing (thierry.zamofing@psi.ch) |
|
||||
# *-----------------------------------------------------------------------*
|
||||
|
||||
import os,sys
|
||||
import wx
|
||||
import wx.py
|
||||
import numpy as np
|
||||
from MAxyPlot import *
|
||||
from MAError import *
|
||||
from MAVelocity import *
|
||||
#from hdfTree import *
|
||||
#from hdfGrid import *
|
||||
#from hdfAttrib import *
|
||||
@@ -187,7 +196,8 @@ class MAMainFrame(wx.Frame):
|
||||
frame.Show(True)
|
||||
|
||||
def OnShowVelocity(self, event):
|
||||
pass
|
||||
frame=MAVelocityFrame(self,self.doc)
|
||||
frame.Show(True)
|
||||
|
||||
def OnShell(self, event):
|
||||
frame = wx.Frame(self, -1, "wxPyShell",size=wx.Size(800, 500))
|
||||
@@ -229,7 +239,8 @@ rec
|
||||
|
||||
def OnUpdate(self,msg,usrData):
|
||||
#this is the model-view-control update function
|
||||
print self,msg,usrData
|
||||
#print self,msg,usrData
|
||||
pass
|
||||
|
||||
@staticmethod
|
||||
def OnSetTime(usrData, value, msg):
|
||||
|
||||
Reference in New Issue
Block a user