code: public void setSigma(double sigma)
      {
          if(sigma <= 0 || Double.isNaN(sigma) || Double.isInfinite(sigma))
              throw new ArithmeticException("sigma must be positive, not " + sigma);
          this.sigma = sigma;
      }
docs: Sets the sigma parameter value, which controls the width of the kernel
  @param sigma the positive parameter value