code: def calculateRange(self):
          
          if not self.autoRangeCti or not self.autoRangeCti.configValue:
              return (self.rangeMinCti.data, self.rangeMaxCti.data)
          else:
              rangeFunction = self._rangeFunctions[self.autoRangeMethod]
              return rangeFunction()
docs: Calculates the range depending on the config settings.