Pascal de Bruijn wrote:
/* Weights in shaper parameters, to minimise unconstrained "wiggles" */ #define MXNORDERS 30 /* Maximum shaper harmonic orders to use */ #define XSHAPE_MAG 5000.0 /* Overall shaper parameter magnitide */ #define XSHAPE_BASE 0.00001 /* 0 & 1 harmonic weight */ #define XSHAPE_HBASE 0.0001 /* 2nd and higher additional weight */
I do wonder how each variable will affect the contraining of the wiggles...
The only way of finding out is to try it and see. Increase XSHAPE_BASE and/or XSHAPE_HBASE. Unless you have a very small number of sample points though, the accuracy of the profile will probably deteriorate... Graeme Gill.