view branches/carfac_cpp/include/Ear.h @ 695:2e3672df5698

Simple integration test between CARFAC and SAI. The interface between the two classes is pretty clunky because of the way CARFACOutput stores things. We should work on this, probably by rotating the outer two dimensions of CARFACOutput (i.e. store outputs in containers with sizes n_ears x n_samples x n_channels instead of n_samples x n_ears x n_channels).
author ronw@google.com
date Wed, 26 Jun 2013 23:35:47 +0000
parents 057946a60b91
children
line wrap: on
line source
/*
 * Ear.h
 *
 *  Created on: 16 maj 2012
 *      Author: ulha
 */

#ifndef EAR_H_
#define EAR_H_

#include "CAR.h"
#include "IHC.h"
#include "AGC.h"

class Ear {
public:
  Ear(CAR_parameters* car_params, IHC_parameters* ihc_params, AGC_parameters* agc_params, FloatArray pole_freqs, int n_ch, float fs);

  CAR_parameters car_params_;
  IHC_parameters ihc_params_;
  AGC_parameters agc_params_;

  CAR_coefficients* car_coeffs_p_;
  IHC_coefficients* ihc_coeffs_p_;
  AGC_coefficients* agc_coeffs_p_;

private:

};

#endif /* EAR_H_ */