Changeset 15148
- Timestamp:
- 03/25/13 09:35:32 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/ratecontrol.cc
r15110 r15148 480 480 481 481 //fThresholdMin = max(uint16_t(36.0833*pow(avg, 0.638393)+184.037), fThresholdReference); 482 fThresholdMin = max(uint16_t(36.0833*pow(avg, 0.638393)+210), fThresholdReference); 482 //fThresholdMin = max(uint16_t(42.4*pow(avg, 0.642)+182), fThresholdReference); 483 fThresholdMin = max(uint16_t(41.6*pow(avg, 0.642)+175), fThresholdReference); 483 484 fThresholds.assign(160, fThresholdMin); 484 485 … … 494 495 if (vec[i]-avg>6*avg_dev) 495 496 { 496 fThresholds[i] = max(uint16_t(36.0833*pow(vec[i], 0.638393)+185), fThresholdReference); 497 498 cout << "i=" << i << " " << avg << " " << avg_dev << " " << vec[i] << " " << fThresholds[i] << endl; 497 fThresholds[i] = max(uint16_t(40.5*pow(vec[i], 0.642)+164), fThresholdReference); 499 498 500 499 const int32_t dat[2] = { i, fThresholds[i] }; … … 506 505 507 506 avg2 /= 160; 508 cout << "AVG2="<<avg2 << endl;509 507 510 508 const RateControl::DimThreshold data = { fThresholdMin, fCalibrationTimeStart.Mjd(), Time().Mjd() };
Note:
See TracChangeset
for help on using the changeset viewer.