private double[] loge(double[] array){

        int n = array.length;
        double[] ret = new double[n];
        this.nPlot = 0;
        this.nPlot = this.nAnalyteConcns;
        for(int i=0; i<n; i++){
            if(array[i]==0.0){
                ret[i] = Double.NaN;
                this.nPlot--;
            }
            else{
               ret[i] = Math.log(array[i]);
            }
        }
        return ret;
    }