Ignore:
Timestamp:
05/04/12 10:34:59 (13 years ago)
Author:
tbretz
Message:
The voltage U0 had the wrong sign.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/feedback.cc

    r13553 r13556  
    228228            // dU[i] = { Im[i] - Iavg[i] + (U0-dT)/Ravg[i] } * r    with   r := 1 / (1/R[g]+1/Ravg[i])
    229229
    230             const double U0 = fCalibrationOffset-fAppliedOffset;
     230            const double U0 = fAppliedOffset-fCalibrationOffset;
    231231
    232232            for (int i=0; i<BIAS::kNumChannels; i++)
Note: See TracChangeset for help on using the changeset viewer.