code: public void setLowerAndUpperBounds(double lower, double upper) {
          if (data == null) {
              return;
          }
  
          this.originalLowerBound = lower;
          this.originalUpperBound = upper;
          if (originalLowerBound < min) {
              offset = Math.abs(originalLowerBound) + 10;
          } else {
              offset = Math.abs(min) + 10;
          }
  
          if (calibrationType == MEAN) {
              lowerBound = (originalLowerBound + offset) * (mean + offset) / (min + offset) - offset;
              upperBound = (originalUpperBound + offset) * (mean + offset) / (max + offset) - offset;
          } else {
              lowerBound = originalLowerBound;
              upperBound = originalUpperBound;
          }
          hasBounds = true;
          setDeviation();
      }
docs: Set the lower and upper bounds, and the actual bounds are determined.