diff carfac/ear_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
line wrap: on
line diff
--- a/carfac/ear_output.h	Mon May 13 22:51:15 2013 +0000
+++ b/carfac/ear_output.h	Thu May 16 17:33:23 2013 +0000
@@ -25,8 +25,9 @@
 
 #include "carfac_common.h"
 
-class EarOutput {
-public:
+struct EarOutput {
+  void InitOutput(int n_ch, long n_tp);
+  void MergeOutput(EarOutput output, long start, long length);
   int n_ch_;
   long n_timepoints_;
   FloatArray2d nap_;
@@ -34,8 +35,6 @@
   FloatArray2d ohc_;
   FloatArray2d agc_;
   FloatArray2d bm_;
-  void InitOutput(int n_ch, long n_tp);
-  void MergeOutput(EarOutput output, long start, long length);
 };
 
-#endif
+#endif
\ No newline at end of file