Re: Modified Akima interpolation

Joseph Fox-Rabinovitz <[email protected]>
Newsgroups gmane.comp.python.scientific.devel
Message-ID <CAAa1KPYs=TB0vm_xiqZK5LPtPj0-1HLn-LWhmjsYJ+CvhM6HOA@mail.gmail.com>
It seems that the modification only affects the weighing of slopes at the
nodes between two flat regions. Adding a new parameter to the existing
constructor with a backwards-compatible default value may be better than
creating a whole new class.

Option 1: original=True
Option 2: modified=False

It would certainly be nice to have both versions available in scipy.

- Joe

On Tue, Apr 11, 2023, 05:52 Edoardo Marconi <[email protected]>
wrote:

> Hello everyone,
>
> I was looking for a Scipy equivalent of MATLAB’s 'makima' function (see
> https://it.mathworks.com/help/matlab/ref/makima.html). Apparently, it
> does not exist yet, and I could not find any related posts in this mailing
> list either.
>
> As Matlab provides a clear explanation of this modified version of Akima's
> algorithm, it was straightforward to implement it starting from the
> existing 'Akima1DInterpolator' class from scipy.interpolate.
>
> I'd love to see this integrated into SciPy, could a new
> 'ModifiedAkima1DInterpolator' class be an interesting addition?
> I have never contributed to SciPy and may need some guidance. Any
> suggestions on how to proceed?
>
> Thanks in advance for any comments!
> _______________________________________________
> SciPy-Dev mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mailman3/lists/scipy-dev.python.org/
> Member address: [email protected]
>

_______________________________________________
SciPy-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/scipy-dev.python.org/
Member address: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.