Mercurial > hg > aimc
comparison include/IHC.h @ 579:71e3794ececa carfac_cpp
some refactoring
author | Ulf.Hammarqvist@gmail.com |
---|---|
date | Thu, 11 Oct 2012 20:55:03 +0000 |
parents | 83cd5bbf2a3e |
children | daf1ca88fe20 |
comparison
equal
deleted
inserted
replaced
578:86601f76f47a | 579:71e3794ececa |
---|---|
2 #define IHC_H_ | 2 #define IHC_H_ |
3 | 3 |
4 // not sure how to best deal with the "three style" IHC - ulha | 4 // not sure how to best deal with the "three style" IHC - ulha |
5 class IHC_parameters{ | 5 class IHC_parameters{ |
6 public: | 6 public: |
7 IHC_parameters() : | 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 | 8 |
20 float tau_lpf_; | 9 float tau_lpf_; |
21 float tau1_out_; | 10 float tau1_out_; |
22 float tau1_in_; | 11 float tau1_in_; |
23 float tau2_out_; | 12 float tau2_out_; |
25 }; | 14 }; |
26 | 15 |
27 class IHC_coefficients{ | 16 class IHC_coefficients{ |
28 public: | 17 public: |
29 IHC_coefficients(IHC_parameters*, float, int); | 18 IHC_coefficients(IHC_parameters*, float, int); |
30 virtual ~IHC_coefficients(); | |
31 | 19 |
32 float saturation_output_; | 20 float saturation_output_; |
33 | 21 |
34 private: | 22 private: |
35 IHC_coefficients(); | 23 |
36 }; | 24 }; |
37 | 25 |
38 #endif /* IHC_H_ */ | 26 #endif /* IHC_H_ */ |