Re: [Math] HarmonicFitter and GaussianFitter

2012-06-09 Thread Gilles Sadowski
Hello. > > [...] > >> > >> Then, we could keep "PolynomialFitter". > >> > >> > >> OK for this change? > > > > OK. > > > > Luc > > > Sounds good to me! Could you please have a look at "PolynomialFitter"? I'm not sure that it is useful to select the degree of the polynomial at construction, as it

Re: [Math] HarmonicFitter and GaussianFitter

2012-06-09 Thread Sébastien Brisard
2012/6/9 Luc Maisonobe : > Le 09/06/2012 02:48, Gilles Sadowski a écrit : >> On Sat, Jun 09, 2012 at 02:00:42AM +0200, Gilles Sadowski wrote: >>> Hi. >>> >>> I'm a bit annoyed that "HarmonicFitter" and "GaussianFitter" suffer from the >>> same design flaw as "PolynomialFitter", namely that it is po

Re: [Math] HarmonicFitter and GaussianFitter

2012-06-09 Thread Luc Maisonobe
Le 09/06/2012 02:48, Gilles Sadowski a écrit : > On Sat, Jun 09, 2012 at 02:00:42AM +0200, Gilles Sadowski wrote: >> Hi. >> >> I'm a bit annoyed that "HarmonicFitter" and "GaussianFitter" suffer from the >> same design flaw as "PolynomialFitter", namely that it is possible to call >> the non-overri

Re: [Math] HarmonicFitter and GaussianFitter

2012-06-08 Thread Gilles Sadowski
On Sat, Jun 09, 2012 at 02:00:42AM +0200, Gilles Sadowski wrote: > Hi. > > I'm a bit annoyed that "HarmonicFitter" and "GaussianFitter" suffer from the > same design flaw as "PolynomialFitter", namely that it is possible to call > the non-overridden "fit" with an argument that is not of the right

[Math] HarmonicFitter and GaussianFitter

2012-06-08 Thread Gilles Sadowski
Hi. I'm a bit annoyed that "HarmonicFitter" and "GaussianFitter" suffer from the same design flaw as "PolynomialFitter", namely that it is possible to call the non-overridden "fit" with an argument that is not of the right type (i.e. "HarmonicOscillator.Parametric" and "Gaussian.Parametric", respe