X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=wdq2wav.h;h=fceee293df2b9819095020e7dad1be57d33971c5;hb=9e37c2bc13525ff817dd2d94971e2bce93a0ca1b;hp=a5e5ad2d2c33d00e6751dc90bc635666737aa8dd;hpb=191a48d05177c652a36e70fdd929eb9b09e83536;p=wdq2wav.git diff --git a/wdq2wav.h b/wdq2wav.h index a5e5ad2..fceee29 100644 --- a/wdq2wav.h +++ b/wdq2wav.h @@ -104,9 +104,11 @@ public: signed short int m_max_raw_data; double m_max_scaled_data; double m_min_scaled_data; + double m_raw_mean; WindaqChannel (WindaqFile& wdq, const int channel); ~WindaqChannel (); + double raw2measured(signed short int raw) const { return (raw * m_slope) + m_intercept; } private: bool read_channel_data();