|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvec_math.AbstractDataModel
vec_math.PhaseRegression.PhaseModel
private static class PhaseRegression.PhaseModel
Our data model.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class vec_math.AbstractDataModel |
|---|
AbstractDataModel.Construct, AbstractDataModel.LocalM |
| Field Summary | |
|---|---|
private double |
omega
The period, fixed. |
| Fields inherited from class vec_math.AbstractDataModel |
|---|
sigma, x, y |
| Constructor Summary | |
|---|---|
private |
PhaseRegression.PhaseModel(VectorG t,
VectorG y)
|
private |
PhaseRegression.PhaseModel(VectorG t,
VectorG y,
double p)
|
private |
PhaseRegression.PhaseModel(VectorG t,
VectorG y,
VectorG err,
double p)
|
| Method Summary | |
|---|---|
double |
evaluateModel(VectorG amp,
VectorG t)
We convert the model vector into a.0+a.1*cos(2pi/P*(t.0-a.2)) |
double[] |
getModel(VectorG amp)
We convert the model vector into a.0+a.1*cos(2pi/P*(t-a.2)) |
int |
getParameterCount()
Return 3. |
void |
setPeriod(double p)
Sets the period. |
private static VectorG[] |
shovel(VectorG t)
Converts a VectorG into a Vector1D[] |
| Methods inherited from class vec_math.AbstractDataModel |
|---|
getChiSquareModel, getChiSquareModel, getLorentzianModel, getMeasureCount, getMeasurementErrors, getMeasures, getModel, getResiduals, getResiduals, getRms, getRobustModel, getTimes, getTotalErrors, LorentzianSolver, RobustSolver, SimplexSolver |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private double omega
| Constructor Detail |
|---|
private PhaseRegression.PhaseModel(VectorG t,
VectorG y)
private PhaseRegression.PhaseModel(VectorG t,
VectorG y,
double p)
private PhaseRegression.PhaseModel(VectorG t,
VectorG y,
VectorG err,
double p)
| Method Detail |
|---|
private static final VectorG[] shovel(VectorG t)
public void setPeriod(double p)
public int getParameterCount()
DataModel.getModel(vec_math.VectorG).public double[] getModel(VectorG amp)
getModel in interface DataModelgetModel in class AbstractDataModelamp - The model parameters
public double evaluateModel(VectorG amp,
VectorG t)
amp - The model parameterst - The (one)dimensional vector of independant variables.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||