Mercurial > hg > aimc
annotate 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 |
rev | line source |
---|---|
Ulf@564 | 1 /* |
Ulf@564 | 2 * Ear.h |
Ulf@564 | 3 * |
Ulf@564 | 4 * Created on: 16 maj 2012 |
Ulf@564 | 5 * Author: ulha |
Ulf@564 | 6 */ |
Ulf@564 | 7 |
Ulf@564 | 8 #ifndef EAR_H_ |
Ulf@564 | 9 #define EAR_H_ |
Ulf@564 | 10 |
Ulf@564 | 11 #include "CAR.h" |
Ulf@564 | 12 #include "IHC.h" |
Ulf@564 | 13 #include "AGC.h" |
Ulf@564 | 14 |
Ulf@564 | 15 class Ear { |
Ulf@564 | 16 public: |
Ulf@590 | 17 Ear(CAR_parameters* car_params, IHC_parameters* ihc_params, AGC_parameters* agc_params, FloatArray pole_freqs, int n_ch, float fs); |
Ulf@564 | 18 |
Ulf@564 | 19 CAR_parameters car_params_; |
Ulf@564 | 20 IHC_parameters ihc_params_; |
Ulf@564 | 21 AGC_parameters agc_params_; |
Ulf@564 | 22 |
Ulf@564 | 23 CAR_coefficients* car_coeffs_p_; |
Ulf@564 | 24 IHC_coefficients* ihc_coeffs_p_; |
Ulf@564 | 25 AGC_coefficients* agc_coeffs_p_; |
Ulf@564 | 26 |
Ulf@564 | 27 private: |
Ulf@564 | 28 |
Ulf@564 | 29 }; |
Ulf@564 | 30 |
Ulf@564 | 31 #endif /* EAR_H_ */ |