Mercurial > hg > fxanalyse
comparison FXAnalyse.c @ 8:5549a69e1cfa
Correctly scale 1062 nm cavity frequency to compute slope for 1542 nm cavity
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Tue, 03 Jul 2012 15:10:07 +0200 |
parents | 7028b7982af3 |
children | 239f2fe67cc0 |
comparison
equal
deleted
inserted
replaced
7:c4a80952cb63 | 8:5549a69e1cfa |
---|---|
1305 switch (slopeReference) { | 1305 switch (slopeReference) { |
1306 case SLOPE_REFERENCE_MICROWAVE: | 1306 case SLOPE_REFERENCE_MICROWAVE: |
1307 currentFreq = Math2; | 1307 currentFreq = Math2; |
1308 break; | 1308 break; |
1309 case SLOPE_REFERENCE_HG_CAVITY: | 1309 case SLOPE_REFERENCE_HG_CAVITY: |
1310 currentFreq = Math3; | 1310 currentFreq = Math3 * 1062.5 / 1542.2; |
1311 break; | 1311 break; |
1312 } | 1312 } |
1313 | 1313 |
1314 if (utc-SlopeMeasuringTimeBegin > TimetoSlope) | 1314 if (utc-SlopeMeasuringTimeBegin > TimetoSlope) |
1315 { | 1315 { |