2268 if (!
CheckSize(d, (416+1+1+1+1+1+416+1+1)*
sizeof(
float)+
sizeof(uint32_t)))
2271 const float *ptr = d.
ptr<
float>();
2272 const float *Uov = ptr+416+6;
2276 valarray<double> datc(0., 1440);
2277 valarray<double> datu(0., 1440);
2280 for (
int i=0;
i<1440;
i++)
2285 datu[
i] = Uov[entry.
hv()];
2294 fBiasCamA->SetData(datc);
2295 fBiasCamA->updateCamera();
2304 for (
int i=0;
i<320;
i++)
2307 rms += Uov[
i]*Uov[
i];
2312 rms = sqrt(rms-avg*avg);
2315 fFeedbackDevCam->SetData(datu);
2318 fFeedbackDevCam->updateCamera();
2322 UpdateFeedback(*fFeedbackDev, d.
time, fGraphFeedbackDev, avg, rms);
vector< float > fVecFeedbackCurrents
bool CheckSize(const DimData &d, size_t sz, bool print=true) const
const PixelMapEntry & index(int idx) const
vector< int16_t > fVecBiasCurrent
const T * ptr(uint32_t offset=0) const