diff --git a/src/fe/controller.c b/src/fe/controller.c index 6dbf5b0d5d11085cccf231221acaa3f20a5805b2..d391cead06ee214e5652ed834958b8f49c229adf 100644 --- a/src/fe/controller.c +++ b/src/fe/controller.c @@ -178,6 +178,7 @@ static double __attribute__ ((unused)) feCoeff4x[9] = {0.014805052402446, 0.7166258547451800, -0.0683289874517300, 0.3031629575762000, 0.5171469569032900, 0.6838596423885499, -0.2534855521841101, 1.6838609161411500, 1.7447155374502499}; + // // New Brian Lantz 4k decimation filter static double __attribute__ ((unused)) feCoeff16x[9] = @@ -186,11 +187,20 @@ static double __attribute__ ((unused)) feCoeff16x[9] = 0.8339678987936501, -0.0376022631287799, -0.0131581721533700, 0.1145865116421301}; /* Coeffs for the 32x downsampling filter (2K system) */ +#if 0 /* Original Rana coeffs from 40m lab elog */ static double __attribute__ ((unused)) feCoeff32x[9] = {0.0001104130574447, 0.9701834961388200, -0.0010837026165800, -0.0200761119821899, 0.0085463156103800, 0.9871502388637901, -0.0039246182095299, 3.9871502388637898, 3.9960753817904697}; +#endif + +/* Coeffs for the 32x downsampling filter (2K system) per Brian Lantz May 5, 2009 */ +static double __attribute__ ((unused)) feCoeff32x[9] = + {0.010581064947739, + 0.90444302586137004, -0.0063413204375699639, -0.056459743474659874, 0.032075154877300172, + 0.92390910024681006, -0.0097523655540199261, 0.077383808424050127, 0.14238741130302013}; + #else /* Oversamping base rate is 64K */