HOOKE_VERSION=['0.8.3_devel', 'Seinei', '2008-04-16']
WX_GOOD=['2.6','2.8']
-class PlaylistXML:
+class PlaylistXML(object):
'''
This module allows for import/export of an XML playlist into/out of a list of HookeCurve objects
'''
outfile.close()
-class HookeConfig:
+class HookeConfig(object):
'''
Handling of Hooke configuration file
pass
-class ClickedPoint:
+class ClickedPoint(object):
'''
this class defines what a clicked point on the curve plot is
'''
return False
-class Driver:
+class Driver(object):
'''
Base class for file format drivers.
return [dummy_default]
-class PlotObject:
+class PlotObject(object):
def __init__(self):
warnings.simplefilter('ignore',np.RankWarning)
-class autopeakCommands:
+class autopeakCommands(object):
def do_autopeak(self,args):
'''
# -*- coding: utf-8 -*-
-class cutCommands:
+class cutCommands(object):
def _plug_init(self):
self.cut_basecurrent=None
events_from_fit=Queue.Queue() #GUI ---> CLI COMMUNICATION
-class fitCommands:
+class fitCommands(object):
def _plug_init(self):
self.wlccurrent=None
import libhookecurve as lhc
-class flatfiltsCommands:
+class flatfiltsCommands(object):
def _plug_init(self):
#configurate convfilt variables
#########################
#HANDLING OF CONFIGURATION FILE
-class ConvfiltConfig:
+class ConvfiltConfig(object):
'''
Handling of convfilt configuration file
wxversion.select(WX_GOOD)
from wx import PostEvent
-class generalclampCommands:
+class generalclampCommands(object):
def plotmanip_clamp(self, plot, current, customvalue=False):
'''
General utilities for TCCD stuff
'''
-class generaltccdCommands:
+class generaltccdCommands(object):
def plotmanip_threshold(self, plot, current, customvalue=False):
'''
warnings.simplefilter('ignore',np.RankWarning)
-class generalvclampCommands:
+class generalvclampCommands(object):
def _plug_init(self):
self.basecurrent=None
import os.path
import string
-class macroCommands:
+class macroCommands(object):
currentmacro=[]
pause=0
import csv
-class massanalysisCommands:
+class massanalysisCommands(object):
def _plug_init(self):
self.mass_variables={}
warnings.simplefilter('ignore',np.RankWarning)
-class multidistanceCommands:
+class multidistanceCommands(object):
def do_multidistance(self,args):
'''
warnings.simplefilter('ignore',np.RankWarning)
-class pclusterCommands:
+class pclusterCommands(object):
def _plug_init(self):
self.clustplot1=None
import scipy.signal
import copy
-class procplotsCommands:
+class procplotsCommands(object):
def _plug_init(self):
pass
import libhookecurve as lhc
from numpy import arange, mean
-class superimposeCommands:
+class superimposeCommands(object):
def _plug_init(self):
self.imposed=[]
'''
-class tutorialCommands:
+class tutorialCommands(object):
'''
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
-class viewerCommands:
+class viewerCommands(object):
def _plug_init(self):
self.viewerlist=[]