|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.grelf.Fitter_
public class Fitter_
Fits data to particular curves.
| Constructor Summary | |
|---|---|
Fitter_()
|
|
| Method Summary | |
|---|---|
double |
getC()
Get the intercept of the fitted straight line, as in y = Mx + c |
double |
getChiSq()
Get the chi-squared fitting factor. |
double |
getM()
Get the slope of the fitted straight line, as in y = Mx + C |
double |
getQ()
Get quality factor Q. |
double |
getSigmaC()
Get the standard deviation of the intercept of the fitted line. |
double |
getSigmaM()
Get the standard deviation of the slope of the fitted line. |
boolean |
isFitted()
|
void |
leastSquaresStraightLine(double[] x,
double[] y,
double[] sigmaY)
Fit a straight line y = mx + c to the given data points by the least squares method. |
double |
x(double y)
Calculate the inverse: x for given y, using the fitted parameters, x = (y - c) / m. |
double |
y(double x)
Calculate y for given x, using the fitted parameters, y = mx + c. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Fitter_()
| Method Detail |
|---|
public boolean isFitted()
isFitted in interface Fitterpublic double getM()
Fitter
getM in interface Fitterpublic double getC()
Fitter
getC in interface Fitterpublic double getSigmaM()
Fitter
getSigmaM in interface Fitterpublic double getSigmaC()
Fitter
getSigmaC in interface Fitterpublic double getChiSq()
Fitter
getChiSq in interface Fitterpublic double getQ()
Fitter
getQ in interface Fitter
public void leastSquaresStraightLine(double[] x,
double[] y,
double[] sigmaY)
leastSquaresStraightLine in interface Fitterpublic double y(double x)
y in interface Fitterpublic double x(double y)
x in interface Fitter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||