Commit 3d313a78 authored by Luc Maisonobe's avatar Luc Maisonobe

Revert "Removed unused method."

This reverts commit d912fb2a.
parent 08baf57d
......@@ -348,6 +348,14 @@ public class Phasing {
}
double[] mean(final AbsoluteDate t) {
final SinCos sc = FastMath.sinCos(eta * t.durationFrom(initial.getDate()));
return new double[] {
cx + dx0 * sc.cos() + dy0 * sc.sin(),
cy - dx0 * sc.sin() + dy0 * sc.cos()
};
}
/** Value of the error model.
* @param params fitting parameters
* @return model value
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment