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)
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