org.apache.commons.math.optimization.fitting
Class GaussianParametersGuesser
java.lang.Object
org.apache.commons.math.optimization.fitting.GaussianParametersGuesser
public class GaussianParametersGuesser
- extends Object
Guesses the parameters (a, b, c, and d)
of a ParametricGaussianFunction based on the specified observed
points.
- Since:
- 2.2
|
Method Summary |
double[] |
guess()
Guesses the parameters based on the observed points. |
GaussianParametersGuesser
public GaussianParametersGuesser(WeightedObservedPoint[] observations)
- Constructs instance with the specified observed points.
- Parameters:
observations - observed points upon which should base guess
guess
public double[] guess()
- Guesses the parameters based on the observed points.
- Returns:
- guessed parameters array
{a, b, c, d}
jHepWork 3.2 © jWork.org