diff 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
line wrap: on
line diff
--- a/trunk/carfac/ihc_params.h	Mon May 27 16:36:54 2013 +0000
+++ b/trunk/carfac/ihc_params.h	Tue May 28 15:54:54 2013 +0000
@@ -26,7 +26,16 @@
 #include "carfac_common.h"
 
 struct IHCParams {
-  IHCParams();
+  IHCParams() {
+    just_half_wave_rectify_ = false;
+    one_capacitor_ = true;
+    tau_lpf_ = 0.000080;
+    tau1_out_ = 0.0005;
+    tau1_in_ = 0.010;
+    tau2_out_ = 0.0025;
+    tau2_in_ = 0.005;
+    ac_corner_hz_ = 20.0;
+  };
   bool just_half_wave_rectify_;
   bool one_capacitor_;
   FPType tau_lpf_;