Changeset 13482 for trunk/FACT++/src/feedback.cc
- Timestamp:
- 04/30/12 22:53:26 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/feedback.cc
r13479 r13482 379 379 const double I = double(fCurrentsAvg[i])/fCursorCur; 380 380 381 res[i] = fVoltGapd[i]/I / conv * 1e6;381 res[i] = (fVoltGapd[i]+fCalibrationOffset)/I / conv * 1e6; 382 382 avg[i] = conv * I; 383 383 rms[i] = conv * sqrt(double(fCurrentsRms[i])/fCursorCur-I*I);
Note:
See TracChangeset
for help on using the changeset viewer.