comparison flys-artifacts/ChangeLog @ 2198:672a41efe222

"Bezugslinienverfahren": Replaced normalized curve generation with a better and needed solution. flys-artifacts/trunk@3814 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sat, 28 Jan 2012 12:50:03 +0000
parents 5781847433d8
children 7bac5afb9892
comparison
equal deleted inserted replaced
2197:5781847433d8 2198:672a41efe222
1 2012-01-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2
3 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
4 Removed the createNormalized() method because it did not
5 solve all problems with the transformation of the W~W data we have.
6
7 - We need to shift the values to be based in (0, 0).
8 - We need to linear transform the values if they are at gauges.
9 - Copying the data is memory expensive.
10
11 Therefore there is now a new inner class ApplyFunctionIterator
12 that is able to transform the values in an iterator like manner.
13 The transform functions default to the identity.
14
15 * src/main/java/de/intevation/flys/artifacts/math/Sub.java: New.
16 Simple function that subtract a scalar from the parameter.
17
18 * src/main/java/de/intevation/flys/artifacts/model/W.java: Added
19 method minWs() to calulate the minimal W of the data.
20
21 * src/main/java/de/intevation/flys/artifacts/model/NormalizedReferenceCurveFacet.java:
22 getData() returns a WW.ApplyFunctionIterator with identity transform.
23
24 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
25 getData() returns a WW.ApplyFunctionIterator with a base shift to (0, 0).
26
1 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> 27 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2 28
3 * src/main/java/de/intevation/flys/artifacts/model/WW.java: 29 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
4 Added method createNormalized() to shift the data to start in (0, 0). 30 Added method createNormalized() to shift the data to start in (0, 0).
5 31

http://dive4elements.wald.intevation.org