Mercurial > hg > aimc
comparison trunk/carfac/ihc_params.h @ 621:d763637a05c5
Second check-in of Alex Brandmeyer's C++ implementation of CARFAC. Addressed style issues and completed implementation of remaining functions. Still needs proper testing of the output stages against the MATLAB version, and runtime functions need improvements in efficiency.
author | alexbrandmeyer |
---|---|
date | Thu, 16 May 2013 17:33:23 +0000 |
parents | 9c268a806bf2 |
children | 16918ffbf975 |
comparison
equal
deleted
inserted
replaced
620:9c268a806bf2 | 621:d763637a05c5 |
---|---|
23 #ifndef CARFAC_Open_Source_C__Library_IHCParams_h | 23 #ifndef CARFAC_Open_Source_C__Library_IHCParams_h |
24 #define CARFAC_Open_Source_C__Library_IHCParams_h | 24 #define CARFAC_Open_Source_C__Library_IHCParams_h |
25 | 25 |
26 #include "carfac_common.h" | 26 #include "carfac_common.h" |
27 | 27 |
28 class IHCParams { | 28 struct IHCParams { |
29 public: | 29 IHCParams(); |
30 IHCParams(bool jh, bool oc, FPType tlpf, FPType t1out, FPType t1in, | |
31 FPType t2out, FPType t2in, FPType acchz); | |
30 bool just_hwr_; | 32 bool just_hwr_; |
31 bool one_cap_; | 33 bool one_cap_; |
32 FPType tau_lpf_; | 34 FPType tau_lpf_; |
33 FPType tau1_out_; | 35 FPType tau1_out_; |
34 FPType tau1_in_; | 36 FPType tau1_in_; |
35 FPType tau2_out_; | 37 FPType tau2_out_; |
36 FPType tau2_in_; | 38 FPType tau2_in_; |
37 FPType ac_corner_hz_; | 39 FPType ac_corner_hz_; |
38 | |
39 IHCParams(); | |
40 void OutputParams(); //Output current parameter values using std::cout | |
41 void SetParams(bool jh, bool oc, FPType tlpf, FPType t1out, FPType t1in, | |
42 FPType t2out, FPType t2in, FPType acchz);//Method to set non-default params | |
43 }; | 40 }; |
44 | 41 |
45 #endif | 42 #endif |