[Numpy-discussion] On the use of adding an expfit class in or next to the polynomial module

Stefan van der Walt stefanv at berkeley.edu
Fri Jan 29 01:49:00 EST 2021

Hi there,

Thanks for reaching out.

On Wed, Jan 27, 2021, at 04:24, Swan BOSC wrote:
> Namely, the expfit function, as presented here <https://octave.sourceforge.io/optim/function/expfit.html> (https://octave.sourceforge.io/optim/function/expfit.html) doesn't seem to exist. I'm currently building a replacement for it in my words (keywords I mean ;) ) but maybe a better solution would be to contribute some code into NumPy.
> AFAIK, the preferred way to fit a Polynomial nowadays is to call `numpy.polynomial.polynomial.``Polynomial.` 
> Do you think that a class for `Exponential` based on that one would be an interesting addition to NumPy ?

I think Prony's method would probably be a better fit for `scipy.signal`.  Please be mindful not to translate this from existing GPL code, but to implement it afresh.

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/numpy-discussion/attachments/20210128/e57abe44/attachment.html>

More information about the NumPy-Discussion mailing list