Mercurial > hg > aimc
comparison carfac/carfac_output.h @ 610:01986636257a
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 | aefe2ca0674f |
children | 0fbaf443ec82 |
comparison
equal
deleted
inserted
replaced
609:aefe2ca0674f | 610:01986636257a |
---|---|
41 #ifndef CARFAC_Open_Source_C__Library_carfac_output_h | 41 #ifndef CARFAC_Open_Source_C__Library_carfac_output_h |
42 #define CARFAC_Open_Source_C__Library_carfac_output_h | 42 #define CARFAC_Open_Source_C__Library_carfac_output_h |
43 | 43 |
44 #include "ear_output.h" | 44 #include "ear_output.h" |
45 | 45 |
46 class CARFACOutput { | 46 struct CARFACOutput { |
47 public: | 47 void InitOutput(int n_ears, int n_ch, long n_tp); |
48 void MergeOutput(CARFACOutput output, long start, long length); | |
48 int n_ears_; | 49 int n_ears_; |
49 EarOutput *ears_; | 50 EarOutput *ears_; |
50 void InitOutput(int n_ears, int n_ch, long n_tp); | |
51 void MergeOutput(CARFACOutput output, long start, long length); | |
52 }; | 51 }; |
53 | 52 |
54 #endif | 53 #endif |