|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataModel
A data model evaluates a data model for all measurements x for given model parameters. If used with a chi-square multidimensional, general minimization can solve for the model parameters.
| Method Summary | |
|---|---|
double |
evaluateModel(VectorG parameters,
VectorG t)
Evaluates the data model on a single point in the independant parameter space, normally the time. |
int |
getMeasureCount()
Return the number of measurements in the data model. |
double[] |
getMeasurementErrors()
Returns the measurement errors without systematic errors of the measurements or null if unknown. |
double[] |
getMeasures()
Returns the measurements ('y') as a single vector. |
double[] |
getModel(VectorG parameters)
Returns model data for the given set of model parameters. |
int |
getParameterCount()
The number of model parameters should be less than the number of data points in the model, otherwise you fit a underdetermined problem. |
double[] |
getResiduals(VectorG a)
Returns the residuals of the measures to the data model. |
VectorG[] |
getTimes()
Returns the 'times' of the measurements ('x') as an array of vectors. |
double[] |
getTotalErrors()
Returns the total errors including systematic errors of the measurements or null if unknown. |
| Method Detail |
|---|
double evaluateModel(VectorG parameters,
VectorG t)
parameters - The model parameterst - The (one)dimensional vector of independant variables.double[] getModel(VectorG parameters)
evaluateModel(vec_math.VectorG, vec_math.VectorG) with all times available
in the second argument. Note that
the dimension of the vector returned is the same as the
#getPointCount method and will differ from the input
dimension, which is normally smaller than the number of data points.
parameters - The model parameters
double[] getResiduals(VectorG a)
getMeasures() and getModel(vec_math.VectorG) and returning the
difference between both.
a - The model parameters, not necessarily the best fit.double[] getMeasures()
getMeasureCount().
VectorG[] getTimes()
getMeasureCount().double[] getTotalErrors()
double[] getMeasurementErrors()
int getParameterCount()
getModel(vec_math.VectorG).int getMeasureCount()
getModel(vec_math.VectorG).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||