|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math3.optimization.fitting.GaussianFitterTest
public class GaussianFitterTest
Tests GaussianFitter.
| Field Summary | |
|---|---|
protected static double[][] |
DATASET1
Good data. |
protected static double[][] |
DATASET2
Poor data: right of peak not symmetric with left of peak. |
protected static double[][] |
DATASET3
Poor data: long tails. |
protected static double[][] |
DATASET4
Poor data: right of peak is missing. |
protected static double[][] |
DATASET5
Good data, but few points. |
| Constructor Summary | |
|---|---|
GaussianFitterTest()
|
|
| Method Summary | |
|---|---|
protected static void |
addDatasetToGaussianFitter(double[][] points,
GaussianFitter fitter)
Adds the specified points to specified GaussianFitter
instance. |
void |
testFit01()
Basic. |
void |
testFit02()
Zero points is not enough observed points. |
void |
testFit03()
Two points is not enough observed points. |
void |
testFit04()
Poor data: right of peak not symmetric with left of peak. |
void |
testFit05()
Poor data: long tails. |
void |
testFit06()
Poor data: right of peak is missing. |
void |
testFit07()
Basic with smaller dataset. |
void |
testMath519()
|
void |
testMath798()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final double[][] DATASET1
protected static final double[][] DATASET2
protected static final double[][] DATASET3
protected static final double[][] DATASET4
protected static final double[][] DATASET5
| Constructor Detail |
|---|
public GaussianFitterTest()
| Method Detail |
|---|
public void testFit01()
public void testFit02()
public void testFit03()
public void testFit04()
public void testFit05()
public void testFit06()
public void testFit07()
public void testMath519()
public void testMath798()
protected static void addDatasetToGaussianFitter(double[][] points,
GaussianFitter fitter)
GaussianFitter
instance.
points - data points where first dimension is a point index and
second dimension is an array of length two representing the point
with the first value corresponding to X and the second value
corresponding to Yfitter - fitter to which the points in points should be
added as observed points
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||