Searched refs:num_atten (Results 1 – 2 of 2) sorted by relevance
13 def __init__(self, host, num_atten=0): argument17 self.num_atten = num_atten35 if self.num_atten == 0:36 self.num_atten = 170 if channel >= self.num_atten:73 (channel, self.num_atten))94 if channel >= self.num_atten or channel < 0:97 "%d" % (channel, self.num_atten))
44 num_atten = len(self.supported_attenuators)46 self._attenuator = attenuator.Attenuator(hostname, num_atten)