[SciPy-Dev] griddata equivalent of matlab "V4" option

Alex Liberzon alexlib at eng.tau.ac.il
Sat Jul 5 15:13:01 EDT 2014


I believe the Radial Basis Function can do the work:

http://wiki.scipy.org/Cookbook/RadialBasisFunctions


On Sat, Jul 5, 2014 at 8:00 PM, <scipy-dev-request at scipy.org> wrote:

> Send SciPy-Dev mailing list submissions to
>         scipy-dev at scipy.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://mail.scipy.org/mailman/listinfo/scipy-dev
> or, via email, send a message with subject or body 'help' to
>         scipy-dev-request at scipy.org
>
> You can reach the person managing the list at
>         scipy-dev-owner at scipy.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of SciPy-Dev digest..."
>
>
> Today's Topics:
>
>    1. Re: griddata equivalent of matlab "V4" option (Pauli Virtanen)
>    2. Re: griddata equivalent of matlab "V4" option (Alexandre Gramfort)
>    3. Re: griddata equivalent of matlab "V4" option (Davide Lasagna)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 04 Jul 2014 21:59:50 +0300
> From: Pauli Virtanen <pav at iki.fi>
> Subject: Re: [SciPy-Dev] griddata equivalent of matlab "V4" option
> To: scipy-dev at scipy.org
> Message-ID: <lp6tj6$pkp$1 at ger.gmane.org>
> Content-Type: text/plain; charset=ISO-8859-1
>
> 04.07.2014 14:44, Alexandre Gramfort kirjoitti:
> > scipy does not seem to implement the griddata V4 option from matlab.
> >
> > The original reference is :
> >
> > David T. Sandwell, Biharmonic spline interpolation of GEOS-3 and
> > SEASAT altimeter data, Geophysical Research Letters, 2, 139-142, 1987.
> >
> > is there a reason for it?
>
> Is there a good reason to implement it?
>
> --
> Pauli Virtanen
>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 4 Jul 2014 21:38:22 +0200
> From: Alexandre Gramfort <alexandre.gramfort at inria.fr>
> Subject: Re: [SciPy-Dev] griddata equivalent of matlab "V4" option
> To: SciPy Developers List <scipy-dev at scipy.org>
> Message-ID:
>         <
> CADeotZrpfFj7S3B3jmHvDWxcVtgRg283oCrYRTegd2gqyGQ6sQ at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> > Is there a good reason to implement it?
>
> I need to produce images like:
>
>
> http://fieldtrip.fcdonders.nl/_media/tutorial/plotting/figure4.png?cache=&w=568&h=496
>
> the black dots are the sensors where measurements are done.
>
> the interpolation needs to extrapolate a tiny bit to fill the circle
> although the sensors are a little inside. The options of griddata
> don't do the job. cubic cannot extrapolate and nearest is not nice.
>
> Alex
>
>
> ------------------------------
>
> Message: 3
> Date: Sat, 5 Jul 2014 11:36:24 +0100
> From: Davide Lasagna <lasagnadavide at gmail.com>
> Subject: Re: [SciPy-Dev] griddata equivalent of matlab "V4" option
> To: SciPy Developers List <scipy-dev at scipy.org>
> Message-ID:
>         <CAOF5zP5qcu=o05=
> sh8aES7wn369ay7+WzqLq4QevQBgns7ambw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Do you by chance happen to know the value on the circle? Because you could
> add some artificial points and use whatever SciPy provides.
>
> Davide
> On 4 Jul 2014 20:38, "Alexandre Gramfort" <alexandre.gramfort at inria.fr>
> wrote:
>
> > > Is there a good reason to implement it?
> >
> > I need to produce images like:
> >
> >
> >
> http://fieldtrip.fcdonders.nl/_media/tutorial/plotting/figure4.png?cache=&w=568&h=496
> >
> > the black dots are the sensors where measurements are done.
> >
> > the interpolation needs to extrapolate a tiny bit to fill the circle
> > although the sensors are a little inside. The options of griddata
> > don't do the job. cubic cannot extrapolate and nearest is not nice.
> >
> > Alex
> > _______________________________________________
> > SciPy-Dev mailing list
> > SciPy-Dev at scipy.org
> > http://mail.scipy.org/mailman/listinfo/scipy-dev
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mail.scipy.org/pipermail/scipy-dev/attachments/20140705/e08215ed/attachment-0001.html
>
> ------------------------------
>
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>
>
> End of SciPy-Dev Digest, Vol 129, Issue 5
> *****************************************
>



-- 
Alex Liberzon | Turbulence Structure Laboratory | School of Mechanical
Engineering | Tel Aviv University | Tel Aviv 69978 | Israel
E-mail: alexlib at tau.ac.il | Office: +972-3-640-8928 | Lab: +972-3-640-6860
(telefax) | www.eng.tau.ac.il/turbulencelab
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20140705/bf99391a/attachment.html>


More information about the SciPy-Dev mailing list