See, for example
http://www.python.org/doc/newstyle/
http://www.python.org/doc/2.5.2/ref/node33.html
17 files changed:
HOOKE_VERSION=['0.8.3_devel', 'Seinei', '2008-04-16']
WX_GOOD=['2.6','2.8']
HOOKE_VERSION=['0.8.3_devel', 'Seinei', '2008-04-16']
WX_GOOD=['2.6','2.8']
+class PlaylistXML(object):
'''
This module allows for import/export of an XML playlist into/out of a list of HookeCurve objects
'''
'''
This module allows for import/export of an XML playlist into/out of a list of HookeCurve objects
'''
+class HookeConfig(object):
'''
Handling of Hooke configuration file
'''
Handling of Hooke configuration file
+class ClickedPoint(object):
'''
this class defines what a clicked point on the curve plot is
'''
'''
this class defines what a clicked point on the curve plot is
'''
'''
Base class for file format drivers.
'''
Base class for file format drivers.
+class PlotObject(object):
warnings.simplefilter('ignore',np.RankWarning)
warnings.simplefilter('ignore',np.RankWarning)
+class autopeakCommands(object):
def do_autopeak(self,args):
'''
def do_autopeak(self,args):
'''
+class cutCommands(object):
def _plug_init(self):
self.cut_basecurrent=None
def _plug_init(self):
self.cut_basecurrent=None
events_from_fit=Queue.Queue() #GUI ---> CLI COMMUNICATION
events_from_fit=Queue.Queue() #GUI ---> CLI COMMUNICATION
+class fitCommands(object):
def _plug_init(self):
self.wlccurrent=None
def _plug_init(self):
self.wlccurrent=None
import libhookecurve as lhc
import libhookecurve as lhc
-class flatfiltsCommands:
+class flatfiltsCommands(object):
def _plug_init(self):
#configurate convfilt variables
def _plug_init(self):
#configurate convfilt variables
#########################
#HANDLING OF CONFIGURATION FILE
#########################
#HANDLING OF CONFIGURATION FILE
+class ConvfiltConfig(object):
'''
Handling of convfilt configuration file
'''
Handling of convfilt configuration file
wxversion.select(WX_GOOD)
from wx import PostEvent
wxversion.select(WX_GOOD)
from wx import PostEvent
-class generalclampCommands:
+class generalclampCommands(object):
def plotmanip_clamp(self, plot, current, customvalue=False):
'''
def plotmanip_clamp(self, plot, current, customvalue=False):
'''
General utilities for TCCD stuff
'''
General utilities for TCCD stuff
'''
-class generaltccdCommands:
+class generaltccdCommands(object):
def plotmanip_threshold(self, plot, current, customvalue=False):
'''
def plotmanip_threshold(self, plot, current, customvalue=False):
'''
warnings.simplefilter('ignore',np.RankWarning)
warnings.simplefilter('ignore',np.RankWarning)
-class generalvclampCommands:
+class generalvclampCommands(object):
def _plug_init(self):
self.basecurrent=None
def _plug_init(self):
self.basecurrent=None
import os.path
import string
import os.path
import string
+class macroCommands(object):
-class massanalysisCommands:
+class massanalysisCommands(object):
def _plug_init(self):
self.mass_variables={}
def _plug_init(self):
self.mass_variables={}
warnings.simplefilter('ignore',np.RankWarning)
warnings.simplefilter('ignore',np.RankWarning)
-class multidistanceCommands:
+class multidistanceCommands(object):
def do_multidistance(self,args):
'''
def do_multidistance(self,args):
'''
warnings.simplefilter('ignore',np.RankWarning)
warnings.simplefilter('ignore',np.RankWarning)
+class pclusterCommands(object):
def _plug_init(self):
self.clustplot1=None
def _plug_init(self):
self.clustplot1=None
import scipy.signal
import copy
import scipy.signal
import copy
-class procplotsCommands:
+class procplotsCommands(object):
def _plug_init(self):
pass
def _plug_init(self):
pass
import libhookecurve as lhc
from numpy import arange, mean
import libhookecurve as lhc
from numpy import arange, mean
-class superimposeCommands:
+class superimposeCommands(object):
def _plug_init(self):
self.imposed=[]
def _plug_init(self):
self.imposed=[]
+class tutorialCommands(object):
'''
Here we define the class containing all the Hooke commands we want to define
in the plugin.
'''
Here we define the class containing all the Hooke commands we want to define
in the plugin.
import libviewer as lview
import libinput as linput
import libviewer as lview
import libinput as linput
+class viewerCommands(object):
def _plug_init(self):
self.viewerlist=[]
def _plug_init(self):
self.viewerlist=[]