view branches/carfac_cpp/src/IHC.cpp @ 703:2bd09040ecf0

Better SAI unit tests. Includes a test to compare the output of the Matlab and C++ version which is currently disabled since the outputs are not identical.
author ronw@google.com
date Mon, 01 Jul 2013 19:02:37 +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!
}