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