comparison FXAnalyse.c @ 43:39a0f396d778

Fix frequency scaling in frequency drift measurement
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Tue, 09 Oct 2012 13:32:51 +0200
parents dcc305411dcc
children 2e37910b28bc
comparison
equal deleted inserted replaced
42:dcc305411dcc 43:39a0f396d778
1246 switch (slopeReference) { 1246 switch (slopeReference) {
1247 case SLOPE_REFERENCE_MICROWAVE: 1247 case SLOPE_REFERENCE_MICROWAVE:
1248 currentFreq = Math2; 1248 currentFreq = Math2;
1249 break; 1249 break;
1250 case SLOPE_REFERENCE_HG_CAVITY: 1250 case SLOPE_REFERENCE_HG_CAVITY:
1251 currentFreq = Ch2 * 1062.5 / 1542.2; 1251 currentFreq = Ch2 * 1542.2 / 1062.5;
1252 break; 1252 break;
1253 } 1253 }
1254 1254
1255 if (utc-SlopeMeasuringTimeBegin > TimetoSlope) 1255 if (utc-SlopeMeasuringTimeBegin > TimetoSlope)
1256 { 1256 {