annotate branches/carfac_cpp/include/IHC.h @ 699:9900ef01df23

Match precision of C++ test output to that in the Matlab code.
author ronw@google.com
date Thu, 27 Jun 2013 22:28:34 +0000
parents 057946a60b91
children
rev   line source
Ulf@564 1 #ifndef IHC_H_
Ulf@564 2 #define IHC_H_
Ulf@564 3
Ulf@564 4 // not sure how to best deal with the "three style" IHC - ulha
Ulf@564 5 class IHC_parameters{
Ulf@564 6 public:
Ulf@586 7 IHC_parameters();
Ulf@564 8
Ulf@564 9 float tau_lpf_;
Ulf@564 10 float tau1_out_;
Ulf@564 11 float tau1_in_;
Ulf@564 12 float tau2_out_;
Ulf@564 13 float tau2_in_;
Ulf@564 14 };
Ulf@564 15
Ulf@564 16 class IHC_coefficients{
Ulf@564 17 public:
Ulf@590 18 IHC_coefficients(IHC_parameters* IHC_params_p, float fs, int n_ch);
Ulf@564 19
Ulf@564 20 float saturation_output_;
Ulf@564 21
Ulf@564 22 private:
Ulf@586 23
Ulf@564 24 };
Ulf@564 25
Ulf@564 26 #endif /* IHC_H_ */