# HG changeset patch # User Daniele Nicolodi # Date 1391200000 -3600 # Node ID 75aad9969f875de43d6c5c6b4f6ac9cdc0f70413 # Parent 39bff2e412d87c1f940d90e587ff5b43d0fcaa8d Minor correction to N3 measurement diff -r 39bff2e412d8 -r 75aad9969f87 FXAnalyse.c --- a/FXAnalyse.c Thu Jan 30 18:44:07 2014 +0100 +++ b/FXAnalyse.c Fri Jan 31 21:26:40 2014 +0100 @@ -1173,7 +1173,7 @@ // check delta frep double delta_f_rep_m = f_rep_plus - f_rep_minus; - double delta_f_rep = Ndiv * 2.0 * DeltakHz_3 * 1000.0 / N1; + double delta_f_rep = -Sign1 * Ndiv * 2.0 * DeltakHz_3 * 1000.0 / N1; logmsg("delta frep: measured=%.12e Hz expected=%.12e Hz difference=%.12e", delta_f_rep_m, delta_f_rep, delta_f_rep_m - delta_f_rep);