Changeset 13249 for trunk


Ignore:
Timestamp:
03/27/12 11:19:11 (13 years ago)
Author:
tbretz
Message:
Fixed the 'broken pixel' correction. The voltage was devided by the correction instead of multiplied.
File:
1 edited

Legend:

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

    r13241 r13249  
    216216                // have a 1kOhm instead of 390 Ohm serial resistor
    217217                if (i==66 || i==193)
    218                     U /= 2110./R[0];    // (1k)2665 / (390)2400 / (~0)2110
     218                    U *= 2100./R[0];    // (1k)2665 / (390)2400 / (~0)2100
    219219                if (i==191)
    220                     U /= 2110./R[1];    // (1k)2794 / (390)2320 / (~0)2110
     220                    U *= 2100./R[1];    // (1k)2794 / (390)2320 / (~0)2100
    221221
    222222                vec[i+BIAS::kNumChannels] += U;
Note: See TracChangeset for help on using the changeset viewer.