Package | Description |
---|---|
org.apache.commons.math3.optimization.fitting |
This package provides classes to perform curve fitting.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<WeightedObservedPoint> |
CurveFitter.observations
Deprecated.
Observed points.
|
Modifier and Type | Method and Description |
---|---|
private WeightedObservedPoint[] |
GaussianFitter.ParameterGuesser.getInterpolationPointsForY(WeightedObservedPoint[] points,
int startIdx,
int idxStep,
double y)
Gets the two bounding interpolation points from the specified points
suitable for determining X at the specified Y.
|
WeightedObservedPoint[] |
CurveFitter.getObservations()
Deprecated.
Get the observed points.
|
private WeightedObservedPoint[] |
HarmonicFitter.ParameterGuesser.sortObservations(WeightedObservedPoint[] unsorted)
Sort the observations with respect to the abscissa.
|
private WeightedObservedPoint[] |
GaussianFitter.ParameterGuesser.sortObservations(WeightedObservedPoint[] unsorted)
Sort the observations.
|
Modifier and Type | Method and Description |
---|---|
void |
CurveFitter.addObservedPoint(WeightedObservedPoint observed)
Deprecated.
Add an observed weighted (x,y) point to the sample.
|
private double[] |
GaussianFitter.ParameterGuesser.basicGuess(WeightedObservedPoint[] points)
Guesses the parameters based on the specified observed points.
|
private int |
GaussianFitter.ParameterGuesser.findMaxY(WeightedObservedPoint[] points)
Finds index of point in specified points with the largest Y.
|
private WeightedObservedPoint[] |
GaussianFitter.ParameterGuesser.getInterpolationPointsForY(WeightedObservedPoint[] points,
int startIdx,
int idxStep,
double y)
Gets the two bounding interpolation points from the specified points
suitable for determining X at the specified Y.
|
private double[] |
HarmonicFitter.ParameterGuesser.guessAOmega(WeightedObservedPoint[] observations)
Estimate a first guess of the amplitude and angular frequency.
|
private double |
HarmonicFitter.ParameterGuesser.guessPhi(WeightedObservedPoint[] observations)
Estimate a first guess of the phase.
|
private double |
GaussianFitter.ParameterGuesser.interpolateXAtY(WeightedObservedPoint[] points,
int startIdx,
int idxStep,
double y)
Interpolates using the specified points to determine X at the
specified Y.
|
private WeightedObservedPoint[] |
HarmonicFitter.ParameterGuesser.sortObservations(WeightedObservedPoint[] unsorted)
Sort the observations with respect to the abscissa.
|
private WeightedObservedPoint[] |
GaussianFitter.ParameterGuesser.sortObservations(WeightedObservedPoint[] unsorted)
Sort the observations.
|
Constructor and Description |
---|
ParameterGuesser(WeightedObservedPoint[] observations)
Simple constructor.
|
ParameterGuesser(WeightedObservedPoint[] observations)
Constructs instance with the specified observed points.
|