Mercurial > hg > fxanalyse
diff FXAnalyse.c @ 150:75aad9969f87
Minor correction to N3 measurement
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Fri, 31 Jan 2014 21:26:40 +0100 |
parents | be87c8e78266 |
children | df7ce04af51d |
line wrap: on
line diff
--- 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);