1804 const float *ptr = d.
Ptr<
float>(4);
1812 for (
const float *
t=ptr;
t<ptr+31;
t++)
1832 rms = rms<0 ? 0 : sqrt(rms);
1835 static double pre_rms1 = 1.5;
1836 static double pre_rms2 = 0;
1838 const double cut = pre_rms1 + 0.1;
1840 const bool reject = rms>cut && pre_rms2<cut;
1842 pre_rms2 = pre_rms1;
1859 out << setprecision(3);
1866 ofstream(
fPath+
"/fsc.data") << out.str();
1868 WriteHist(d,
"hist-fsccontrol-temperature",
1872 out << setprecision(3);
1878 ofstream(
fPath+
"/camtemp.data") << out.str();
int GetCurrentState() const
return the current state of the machine
deque< float > fFscControlTemperatureHist
bool CheckDataSize(const EventImp &d, const char *name, size_t size, bool min=false)
void WriteHist(const EventImp &d, const string &fname, const T &t, double scale, double offset=0)
float fFscControlHumidityAvg
static const string kWhite
uint64_t GetJavaDate() const
deque< float > fMagicWeatherHist[kWeatherEnd]
const T * Ptr(size_t offset=0) const