609 vector<Interpolator2D::vec> xy;
618 for (
int i=0;
i<31;
i++)
621 T.emplace_back(temp[
i]);
625 rms += temp[
i]*temp[
i];
630 Warn(
"No valid sensor temperatures.");
637 rms = rms<0 ? 0 : sqrt(rms);
640 const double cut_val = 0.015;
648 Warn(
"Suspicious temperature values rejecte for BIAS_TEMP.");
658 Warn(
"Temperature values rejecte for BIAS_TEMP (calculation of weights failed).");
663 T = inter.Interpolate(T);
667 for (
int i=0; i<320; i++)
676 rms = rms<0 ? 0 : sqrt(rms);
680 out.assign(T.cbegin(), T.cend());
681 out.emplace_back(avg);
682 out.emplace_back(rms);
DimDescribedService fDimTemp
vector< Interpolator2D::vec > fPositionsBias
Extra- and interpolate in 2D.
vector< double > fLastRms
Warning because the service this data corrsponds to might have been last updated longer ago than Local time
vector< Interpolator2D::vec > fPositionsSensors
void Update(DimDescribedService &svc, vector< float > data, float time) const
DimDescribedService fDimTemp2