diff trunk/matlab/bmm/carfac/CARFAC_Spatial_Smooth.m @ 536:2964a3b4a00a

New design params, including narrower AGC, Greenwood map for more channels, default 71, some renaming, open loop feature, ...
author dicklyon@google.com
date Thu, 22 Mar 2012 22:37:56 +0000
parents 95a11cca4619
children d0ff15c36828
line wrap: on
line diff
--- a/trunk/matlab/bmm/carfac/CARFAC_Spatial_Smooth.m	Fri Mar 16 04:31:56 2012 +0000
+++ b/trunk/matlab/bmm/carfac/CARFAC_Spatial_Smooth.m	Thu Mar 22 22:37:56 2012 +0000
@@ -27,7 +27,7 @@
 
 if use_FIR
   FIR_coeffs = coeffs.AGC_spatial_FIR(:,stage);
-  switch coeffs.AGC_n_taps(stage)
+  switch coeffs.AGC_spatial_n_taps(stage)
     case 3
       for iter = 1:n_iterations
         stage_state = ...
@@ -45,10 +45,10 @@
           stage_state([3:end, end, end-1], :));
       end
     otherwise
-      error('Bad n_taps in CARFAC_Spatial_Smooth');
+      error('Bad AGC_spatial_n_taps in CARFAC_Spatial_Smooth');
   end
 else
-  % use IIR method, back-and-forth firt-order smoothers:
+  % use IIR method, back-and-forth first-order smoothers:
   stage_state = SmoothDoubleExponential(stage_state, ...
     coeffs.AGC_polez1(stage), coeffs.AGC_polez2(stage));
 end