Remove old vclamp commands replaced by the curve plugin's DeltaCommand.
authorW. Trevor King <wking@drexel.edu>
Sun, 8 Aug 2010 20:41:47 +0000 (16:41 -0400)
committerW. Trevor King <wking@drexel.edu>
Sun, 8 Aug 2010 20:41:47 +0000 (16:41 -0400)
hooke/plugin/vclamp.py

index de5bff7f1951d5166323abf3c7eed87b389b7f51..64b5913ca6de275d46208c0c8e006b0205fbb29f 100644 (file)
@@ -581,49 +581,6 @@ Name of the spring constant in the `.info` dictionary.
 
 class generalvclampCommands(object):
 
-    def _plug_init(self):
-        self.basecurrent=None
-        self.basepoints=None
-        self.autofile=''
-
-    def do_distance(self,args):
-        '''
-        DISTANCE
-        (generalvclamp.py)
-        Measure the distance (in nm) between two points.
-        For a standard experiment this is the delta X distance.
-        For a force clamp experiment this is the delta Y distance (actually becomes
-        an alias of zpiezo)
-        -----------------
-        Syntax: distance
-        '''
-        if self.current.curve.experiment == 'clamp':
-            print 'You wanted to use zpiezo perhaps?'
-            return
-        else:
-            dx,unitx,dy,unity=self._delta(set=1)
-            print str(dx*(10**9))+' nm'
-            to_dump='distance '+self.current.path+' '+str(dx*(10**9))+' nm'
-            self.outlet.push(to_dump)
-
-
-    def do_force(self,args):
-        '''
-        FORCE
-        (generalvclamp.py)
-        Measure the force difference (in pN) between two points
-        ---------------
-        Syntax: force
-        '''
-        if self.current.curve.experiment == 'clamp':
-            print 'This command makes no sense for a force clamp experiment.'
-            return
-        dx,unitx,dy,unity=self._delta(set=1)
-        print str(dy*(10**12))+' pN'
-        to_dump='force '+self.current.path+' '+str(dy*(10**12))+' pN'
-        self.outlet.push(to_dump)
-
-
     def do_forcebase(self,args):
         '''
         FORCEBASE