@@ -497,25 +497,25 @@ |
DoubleMath doubleMath = new DoubleMath(); |
|
//Calculate the statistics for each baseflow filter pass |
- this.bflowStream_max = doubleMath.max(getColumn(graphData,1)); |
- this.bflowStream_min = doubleMath.min(getColumn(graphData,1)); |
- this.bflowStream_median = doubleMath.Median(getColumn(graphData,1)); |
- this.bflowStream_mean = doubleMath.Average(getColumn(graphData,1)); |
+ this.bflowStream_max = doubleMath.round(doubleMath.max(getColumn(graphData,1)),3); |
+ this.bflowStream_min = doubleMath.round(doubleMath.min(getColumn(graphData,1)),3); |
+ this.bflowStream_median = doubleMath.round(doubleMath.Median(getColumn(graphData,1)),3); |
+ this.bflowStream_mean = doubleMath.round(doubleMath.Average(getColumn(graphData,1)),3); |
|
- this.bflow1_max = doubleMath.max(getColumn(graphData,2)); |
- this.bflow1_min = doubleMath.min(getColumn(graphData,2)); |
- this.bflow1_median = doubleMath.Median(getColumn(graphData,2)); |
- this.bflow1_mean = doubleMath.Average(getColumn(graphData,2)); |
+ this.bflow1_max = doubleMath.round(doubleMath.max(getColumn(graphData,2)),3); |
+ this.bflow1_min = doubleMath.round(doubleMath.min(getColumn(graphData,2)),3); |
+ this.bflow1_median = doubleMath.round(doubleMath.Median(getColumn(graphData,2)),3); |
+ this.bflow1_mean = doubleMath.round(doubleMath.Average(getColumn(graphData,2)),3); |
|
- this.bflow2_max = doubleMath.max(getColumn(graphData,3)); |
- this.bflow2_min = doubleMath.min(getColumn(graphData,3)); |
- this.bflow2_median = doubleMath.Median(getColumn(graphData,3)); |
- this.bflow2_mean = doubleMath.Average(getColumn(graphData,3)); |
+ this.bflow2_max = doubleMath.round(doubleMath.max(getColumn(graphData,3)),3); |
+ this.bflow2_min = doubleMath.round(doubleMath.min(getColumn(graphData,3)),3); |
+ this.bflow2_median = doubleMath.round(doubleMath.Median(getColumn(graphData,3)),3); |
+ this.bflow2_mean = doubleMath.round(doubleMath.Average(getColumn(graphData,3)),3); |
|
- this.bflow3_max = doubleMath.max(getColumn(graphData,4)); |
- this.bflow3_min = doubleMath.min(getColumn(graphData,4)); |
- this.bflow3_median = doubleMath.Median(getColumn(graphData,4)); |
- this.bflow3_mean = doubleMath.Average(getColumn(graphData,4)); |
+ this.bflow3_max = doubleMath.round(doubleMath.max(getColumn(graphData,4)),3); |
+ this.bflow3_min = doubleMath.round(doubleMath.min(getColumn(graphData,4)),3); |
+ this.bflow3_median = doubleMath.round(doubleMath.Median(getColumn(graphData,4)),3); |
+ this.bflow3_mean = doubleMath.round(doubleMath.Average(getColumn(graphData,4)),3); |
} |
/** |
* Creates a double[] array of the elements in dataArray[all][column] |