diff FXAnalyse.c @ 129:24db0c2d5219

Add more N3 measurement debug information in the log
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Tue, 17 Dec 2013 12:26:29 +0100
parents 8a69c40f10b2
children 934843ee4434
line wrap: on
line diff
--- a/FXAnalyse.c	Mon Dec 16 19:50:20 2013 +0100
+++ b/FXAnalyse.c	Tue Dec 17 12:26:29 2013 +0100
@@ -1222,7 +1222,8 @@
 							// compute N3
 							double delta_f_beat_Sr = f_beat_Sr_plus - f_beat_Sr_minus + 2.0 * Sign1 * Sign3 * N3/N1 * Ndiv * DeltakHz_3 * 1000;
 							double delta_f_beat_Sr_expected = delta_f_rep * N3;
-							logmsg("delta fbeat: measured=%.12e expected=%.12e", delta_f_beat_Sr, delta_f_beat_Sr_expected);
+							logmsg("delta fbeat: measured=%.12e expected=%.12e difference=%.12e",
+								delta_f_beat_Sr, delta_f_beat_Sr_expected, delta_f_beat_Sr - delta_f_beat_Sr_expected);
 							N_3 = delta_f_beat_Sr / delta_f_rep;
 							logmsg("measured N3=%.3f", N_3);
 							SetCtrlVal(CalcNPanel, CALCN_N, N_3);