Mercurial > hg > aimc
comparison trunk/carfac/ihc_params.h @ 679:594b410c2aed
Sixth revision of Alex Brandmeyer's C++ implementation. Only small changes in response to Lyon's comments from r285. Note: I tried to use a consistent indentation with two spaces, but also preserving parenthetical structure to make reading the longer equations easier. Please advise if this is OK. Additional documentation and tests with non-standard parameter sets will be added in a subsequent revision.
author | alexbrandmeyer |
---|---|
date | Tue, 28 May 2013 15:54:54 +0000 |
parents | 7f424c1a8b78 |
children | 10dc41e4d2f2 |
comparison
equal
deleted
inserted
replaced
678:7f424c1a8b78 | 679:594b410c2aed |
---|---|
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 struct IHCParams { | 28 struct IHCParams { |
29 IHCParams(); | 29 IHCParams() { |
30 just_half_wave_rectify_ = false; | |
31 one_capacitor_ = true; | |
32 tau_lpf_ = 0.000080; | |
33 tau1_out_ = 0.0005; | |
34 tau1_in_ = 0.010; | |
35 tau2_out_ = 0.0025; | |
36 tau2_in_ = 0.005; | |
37 ac_corner_hz_ = 20.0; | |
38 }; | |
30 bool just_half_wave_rectify_; | 39 bool just_half_wave_rectify_; |
31 bool one_capacitor_; | 40 bool one_capacitor_; |
32 FPType tau_lpf_; | 41 FPType tau_lpf_; |
33 FPType tau1_out_; | 42 FPType tau1_out_; |
34 FPType tau1_in_; | 43 FPType tau1_in_; |