[xiph-commits] r18010 - trunk/chirptest

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Wed Jun 1 12:42:56 PDT 2011


Author: xiphmont
Date: 2011-06-01 12:42:56 -0700 (Wed, 01 Jun 2011)
New Revision: 18010

Modified:
   trunk/chirptest/chirptest.c
Log:
Add the dW vs W multichirp tests. 


Modified: trunk/chirptest/chirptest.c
===================================================================
--- trunk/chirptest/chirptest.c	2011-06-01 03:32:21 UTC (rev 18009)
+++ trunk/chirptest/chirptest.c	2011-06-01 19:42:56 UTC (rev 18010)
@@ -2506,7 +2506,7 @@
     /* fontsize */      18,
     /* titles */        0,0,0,0,0,0,
     /* blocksize */     256,
-    /* threads */       8,
+    /* threads */       32,
 
     /* window */        window_functions.sine,
     /* fit_tol */       .000001,
@@ -3086,8 +3086,6 @@
   arg.est_alt.P_0=-.1;
   arg.est_alt.P_1=.1;
 
-  arg.sweep_steps=32;
-
   arg.fit_nonlinear=0;
   arg.window = window_functions.rectangle;
   graph_1chirp("2ch-AA-",&arg);
@@ -3130,8 +3128,6 @@
   graph_1chirp("2ch-AA-",&arg);
 
   /* Simulate an estimate taken from an initial FFT  */
-  arg.sweep_steps=32;
-
   arg.est.A_rel=1;
   arg.est_alt.A_rel=1;
   arg.est.A_0=0;
@@ -3194,10 +3190,7 @@
 
 
   /* dW vs W *****************************************************************/
-#if 0
   arg.sweep_steps=32;
-  arg.chirp.A_0 = arg.chirp.A_1 = 0.;
-
   arg.y_dim=DIM_CHIRP_dW;
   arg.chirp.dW_0 = -10.;
   arg.chirp.dW_1 = 10.;
@@ -3256,7 +3249,6 @@
     }
   }
 #endif
-#endif
 
   return 0;
 }



More information about the commits mailing list