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 ; }
Sets the sigma parameter value which controls the width of the kernel