Show more test context
This commit is contained in:
parent
55e5c1060c
commit
cba0440e54
|
@ -268,9 +268,9 @@ public class LevenbergMarquardtOptimizerTest
|
|||
final double[] asymptoticStandardErrorFound = optimum.getSigma(1e-14).toArray();
|
||||
|
||||
// Check that the parameters are found within the assumed error bars.
|
||||
Assert.assertEquals(xCenter, paramFound[0], 2 * asymptoticStandardErrorFound[0]);
|
||||
Assert.assertEquals(yCenter, paramFound[1], 2 * asymptoticStandardErrorFound[1]);
|
||||
Assert.assertEquals(radius, paramFound[2], asymptoticStandardErrorFound[2]);
|
||||
Assert.assertEquals("Delta=" + 2 * asymptoticStandardErrorFound[0], xCenter, paramFound[0], 2 * asymptoticStandardErrorFound[0]);
|
||||
Assert.assertEquals("Delta=" + 2 * asymptoticStandardErrorFound[1], yCenter, paramFound[1], 2 * asymptoticStandardErrorFound[1]);
|
||||
Assert.assertEquals("Delta=" + 2 * asymptoticStandardErrorFound[2], radius, paramFound[2], asymptoticStandardErrorFound[2]);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue