@Deprecated public class BDHObjectiveAnalysis extends ObjectiveAnalysis
ObjectiveAnalysisand override the
Defined in the
|Constructor and Description|
Creates a new instance for interpolating values in the given region.
|Modifier and Type||Method and Description|
Returns the correlation between the values at the two given points.
Sets an arbitrary scale factor to be applied in the distance computed by
createImage, getOutputLength, getOutputLocation, interpolate, interpolate, setInputs
public BDHObjectiveAnalysis(Rectangle2D gridRegion, Dimension size)
gridRegion- The grid bounding box. The maximal ordinates are inclusive.
size- The number of grid cells along the x and y axes.
public void setScaleFactor(double scale)
#correlation(double). This is a hack for allowing the code to work with different CRS. Do not rely on this hack, it may be suppressed in future versions.
protected double correlation(Point2D.Double P1, Point2D.Double P2)
P2are the location of measurement stations and time series are available for those stations, then this method shall returns the correlation coefficient between the data at station 1 and the data at station 2.
This method should be overridden by subclasses, typically with a correlation estimated from the distance between the two stations. The value returned by this method must be in the [0…1] range. Current implementation assumes that the correlation has a gaussian distribution, with a value approaching zero as the distance between the two stations increase. The calibration coefficients in current implementation are totally arbitrary and may change in any future version..
P1- The first location. Implementors shall not modify this value.
P2- The second location. Implementors shall not modify this value.
Copyright © 2009–2017 Geotoolkit.org. All rights reserved.