view branches/carfac_cpp/src/IHC.cpp @ 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 f3dde307f4b8
children
line wrap: on
line source
#include "IHC.h"

IHC_parameters::IHC_parameters():
tau_lpf_(0.000080),
tau1_out_(0.010),
tau1_in_(0.20),
tau2_out_(0.0025),
tau2_in_(0.005)
{
// do nothing more
}

IHC_coefficients::IHC_coefficients(IHC_parameters* IHC_params_p, float fs, int n_ch):
saturation_output_(0.0)
{
  // TODO stuff!
}