Skip to content
Snippets Groups Projects
Commit 84a7a850 authored by Luc Maisonobe's avatar Luc Maisonobe
Browse files

Fixed logging of elevation residuals.

parent 747e39e0
No related branches found
No related tags found
No related merge requests found
......@@ -1558,15 +1558,15 @@ public class OrbitDetermination {
stream.format(Locale.US, "%s %s %12.9f %12.9f %12.9f%n",
evaluation.getDate().toString(),
evaluation.getMeasurement().getStation().getBaseFrame().getName(),
FastMath.toDegrees(theoretical[0]),
FastMath.toDegrees(observed[0]),
FastMath.toDegrees(theoretical[1]),
FastMath.toDegrees(observed[1]),
residual(evaluation));
}
/** {@inheritDoc} */
@Override
double residual(final Evaluation<Angular> evaluation) {
return FastMath.toDegrees(evaluation.getValue()[0] - evaluation.getMeasurement().getObservedValue()[0]);
return FastMath.toDegrees(evaluation.getValue()[1] - evaluation.getMeasurement().getObservedValue()[1]);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment