comparison 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
comparison
equal deleted inserted replaced
497:df22068a5b55 503:83cd5bbf2a3e
1 #ifndef IHC_H_
2 #define IHC_H_
3
4 // not sure how to best deal with the "three style" IHC - ulha
5 class IHC_parameters{
6 public:
7 IHC_parameters() :
8 tau_lpf_(0.000080),
9 tau1_out_(0.010),
10 tau1_in_(0.20),
11 tau2_out_(0.0025),
12 tau2_in_(0.005){
13 // do nothing more
14 }
15
16 virtual ~IHC_parameters(){
17 // do nothing
18 }
19
20 float tau_lpf_;
21 float tau1_out_;
22 float tau1_in_;
23 float tau2_out_;
24 float tau2_in_;
25 };
26
27 class IHC_coefficients{
28 public:
29 IHC_coefficients(IHC_parameters*, float, int);
30 virtual ~IHC_coefficients();
31
32 float saturation_output_;
33
34 private:
35 IHC_coefficients();
36 };
37
38 #endif /* IHC_H_ */