Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/sq/SQRelationExporter.java @ 6207:a82a724356f0
Updade sq relation pdf export as specified in issue1071
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 05 Jun 2013 14:44:36 +0200 |
parents | 6a04081a2f69 |
children | 8c976bb0362f |
comparison
equal
deleted
inserted
replaced
6206:743eab7acfdb | 6207:a82a724356f0 |
---|---|
169 if (parameters == null) { | 169 if (parameters == null) { |
170 continue; | 170 continue; |
171 } | 171 } |
172 | 172 |
173 String a, b, sd, o, t; | 173 String a, b, sd, o, t; |
174 a = Formatter.getSQRelation(context).format(parameters.getValue(0, "a")); | 174 a = Formatter.getSQRelationA(context).format(parameters.getValue(0, "a")); |
175 b = Formatter.getSQRelation(context).format(parameters.getValue(0, "b")); | 175 b = Formatter.getSQRelationB(context).format(parameters.getValue(0, "b")); |
176 sd = Formatter.getVariance(context).format(Math.sqrt(parameters.getValue(0, "std_dev"))); | 176 sd = Formatter.getVariance(context).format(Math.sqrt(parameters.getValue(0, "std_dev"))); |
177 | 177 |
178 o = String.valueOf(fraction.totalNumOutliers()); | 178 o = String.valueOf(fraction.totalNumOutliers()); |
179 t = String.valueOf(fraction.numMeasurements() + o); | 179 t = String.valueOf(fraction.numMeasurements() + o); |
180 | 180 |