On Wed, Jul 04, 2007 at 08:51:55AM +0200, Volker Lorrmann wrote: > thanks for your answer, but can u be little bit more exactly please. What do you mean by a costfunction? > Maybe you can give a short example, if its not to much work. http://scipy.org/Cookbook/FittingData HTH, Gaël