Mercurial > hg > aimc
diff src/IHC.h @ 484:715fc47a965e carfac_cpp
stubbed some more, and tidying
author | Ulf.Hammarqvist@gmail.com |
---|---|
date | Sat, 31 Mar 2012 17:24:08 +0000 |
parents | 3673e3e67bab |
children | 5a5fc3a6051b |
line wrap: on
line diff
--- a/src/IHC.h Thu Mar 29 19:43:36 2012 +0000 +++ b/src/IHC.h Sat Mar 31 17:24:08 2012 +0000 @@ -2,18 +2,20 @@ #define IHC_H_ // not sure how to best deal with the "three style" IHC - ulha -class IHC_parameters { +class IHC_parameters{ public: - IHC_parameters() - { - tau_lpf_ = 0.000080; - tau1_out_ = 0.020; - tau1_in_ = 0.020; - tau2_out_ = 0.005; - tau2_in_ = 0.005; + IHC_parameters() : + tau_lpf_(0.000080), + tau1_out_(0.020), + tau1_in_(0.20), + tau2_out_(0.005), + tau2_in_(0.005){ + // do nothing more } - virtual ~IHC_parameters(){} + virtual ~IHC_parameters(){ + // do nothing + } float tau_lpf_; float tau1_out_; @@ -22,12 +24,15 @@ float tau2_in_; }; -class IHC_coefficients { +class IHC_coefficients{ public: IHC_coefficients(IHC_parameters*, float, int); virtual ~IHC_coefficients(); + + float saturation_output_; + private: - IHC_coefficients(){} + IHC_coefficients(); }; #endif /* IHC_H_ */