Searched refs:range_dict (Results 1 – 1 of 1) sorted by relevance
60 def __init__(self, slave_addr=None, range_dict=None): argument82 if range_dict is None:83 range_dict = DEFAULT_MEAS_RANGE_VALUE85 self._validateRangeDict(DEFAULT_MEAS_RANGE_VALUE, range_dict)86 self.range_dict = range_dict130 hex_str = '0x%.4x' % self.readWord(self.range_dict[measure]['reg'])166 hex_str, self.range_dict[measure]['denom'])168 range_msg = '[%(min).2f, %(max).2f]' % self.range_dict[measure]169 if (measure_float < self.range_dict[measure]['min'] or170 measure_float > self.range_dict[measure]['max']):