view branches/carfac_cpp/include/IHC.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 057946a60b91
children
line wrap: on
line source
#ifndef IHC_H_
#define IHC_H_

// not sure how to best deal with the "three style" IHC - ulha
class IHC_parameters{
public:
  IHC_parameters();

  float tau_lpf_;
  float tau1_out_;
  float tau1_in_;
  float tau2_out_;
  float tau2_in_;
};

class IHC_coefficients{
public:
  IHC_coefficients(IHC_parameters* IHC_params_p, float fs, int n_ch);

  float saturation_output_;

private:

};

#endif /* IHC_H_ */