def est1_off_t(self, b, c):
     '''estimates how long it takes from the current state to switch
        bending power supply off, depending on cabinet state c and
        power supply state b.
     '''
     nop(c)
     return BEND_OFF_T.get(b, 0.0)
Example #2
0
 def est1_off_t(self, b, c):
     '''estimates how long it takes from the current state to switch
        bending power supply off, depending on cabinet state c and
        power supply state b.
     '''
     nop(c)
     return BEND_OFF_T.get(b, 0.0)
Example #3
0
 def valfun(aname, aval1, aval2):
     nop(aname)
     return (aval1+aval2) / 2
Example #4
0
 def is_Voltage_allowed(self, write):
     nop(write)
     return not self._aWaveGeneration.value
Example #5
0
 def shiver(self, aname, x, y):
     """Every other second x is chosen, else y
     """
     nop(aname)
     return x if int(time()) % 2 else y
 def valfun(aname, aval1, aval2):
     nop(aname)
     return (aval1+aval2) / 2
 def is_Voltage_allowed(self, write):
     nop(write)
     return not self._aWaveGeneration.value
 def shiver(self, aname, x, y):
     """Every other second x is chosen, else y
     """
     nop(aname)
     return x if int(time()) % 2 else y