Mercurial > hg > fxanalyse
comparison 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 |
comparison
equal
deleted
inserted
replaced
149:39bff2e412d8 | 150:75aad9969f87 |
---|---|
1171 f_rep_minus = f_rep_minus / n_3; | 1171 f_rep_minus = f_rep_minus / n_3; |
1172 f_beat_Sr_minus = f_beat_Sr_minus / n_3; | 1172 f_beat_Sr_minus = f_beat_Sr_minus / n_3; |
1173 | 1173 |
1174 // check delta frep | 1174 // check delta frep |
1175 double delta_f_rep_m = f_rep_plus - f_rep_minus; | 1175 double delta_f_rep_m = f_rep_plus - f_rep_minus; |
1176 double delta_f_rep = Ndiv * 2.0 * DeltakHz_3 * 1000.0 / N1; | 1176 double delta_f_rep = -Sign1 * Ndiv * 2.0 * DeltakHz_3 * 1000.0 / N1; |
1177 logmsg("delta frep: measured=%.12e Hz expected=%.12e Hz difference=%.12e", | 1177 logmsg("delta frep: measured=%.12e Hz expected=%.12e Hz difference=%.12e", |
1178 delta_f_rep_m, delta_f_rep, delta_f_rep_m - delta_f_rep); | 1178 delta_f_rep_m, delta_f_rep, delta_f_rep_m - delta_f_rep); |
1179 | 1179 |
1180 logmsg("f_beat_Sr_minus=%.12e", f_beat_Sr_minus); | 1180 logmsg("f_beat_Sr_minus=%.12e", f_beat_Sr_minus); |
1181 logmsg("f_beat_Sr_plus =%.12e", f_beat_Sr_plus); | 1181 logmsg("f_beat_Sr_plus =%.12e", f_beat_Sr_plus); |