view branches/carfac_cpp/src/IHC.cpp @ 597:359bcd461dd1

First commit. Refer to the api [1] 'Philosophy of the implementation' for information on the approach used to implement CARFAC in C++. [1] aimc/C++/api/html/index.html
author flatmax
date Sat, 09 Feb 2013 23:53:48 +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!
}