Mercurial > hg > aimc
diff include/IHC.h @ 503:83cd5bbf2a3e carfac_cpp
* Added class Ear, and moved the CARFAC members AGC CAR IHC into Ear. CARFAC now holds an array of Ear. TBD what is best.
* Moved the files around, and introduced a makefile that builds unittests using GTest. (Note, GTest path is configured in makefile atm.).
- two moronic tests implemented. :)
author | Ulf.Hammarqvist@gmail.com |
---|---|
date | Sun, 20 May 2012 22:36:47 +0000 |
parents | |
children | 71e3794ececa |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/include/IHC.h Sun May 20 22:36:47 2012 +0000 @@ -0,0 +1,38 @@ +#ifndef IHC_H_ +#define IHC_H_ + +// not sure how to best deal with the "three style" IHC - ulha +class IHC_parameters{ +public: + IHC_parameters() : + tau_lpf_(0.000080), + tau1_out_(0.010), + tau1_in_(0.20), + tau2_out_(0.0025), + tau2_in_(0.005){ + // do nothing more + } + + virtual ~IHC_parameters(){ + // do nothing + } + + float tau_lpf_; + float tau1_out_; + float tau1_in_; + float tau2_out_; + float tau2_in_; +}; + +class IHC_coefficients{ +public: + IHC_coefficients(IHC_parameters*, float, int); + virtual ~IHC_coefficients(); + + float saturation_output_; + +private: + IHC_coefficients(); +}; + +#endif /* IHC_H_ */