Mercurial > hg > aimc
diff 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 |
line wrap: on
line diff
--- a/trunk/carfac/ihc_params.h Mon May 13 22:51:15 2013 +0000 +++ b/trunk/carfac/ihc_params.h Thu May 16 17:33:23 2013 +0000 @@ -25,8 +25,10 @@ #include "carfac_common.h" -class IHCParams { -public: +struct IHCParams { + IHCParams(); + IHCParams(bool jh, bool oc, FPType tlpf, FPType t1out, FPType t1in, + FPType t2out, FPType t2in, FPType acchz); bool just_hwr_; bool one_cap_; FPType tau_lpf_; @@ -35,11 +37,6 @@ FPType tau2_out_; FPType tau2_in_; FPType ac_corner_hz_; - - IHCParams(); - void OutputParams(); //Output current parameter values using std::cout - void SetParams(bool jh, bool oc, FPType tlpf, FPType t1out, FPType t1in, - FPType t2out, FPType t2in, FPType acchz);//Method to set non-default params }; -#endif +#endif \ No newline at end of file