[SciPy-User] 2d spline interpolation with periodic boundaries

josef.pktd@gmai... josef.pktd@gmai...
Wed Aug 31 08:54:01 CDT 2011


On Wed, Aug 31, 2011 at 8:17 AM, Andreas H. <lists@hilboll.de> wrote:
> Hi Jerome,
>
>>> Another question is: How does RectBivariateSpline work? There's not much
>>> info in the docs as to what the function actually does, math-wise.
>>
>> it is a wrapper for "FITPACK" from Dierckx
>> http://www.netlib.org/dierckx/
>>
>> Have a look at Fitpack's documentation to understand how it works (control
>> points have to be ordered and other oddities  ...)
>
> RectBivariateSpline is defined in scipy/interpolate/fitpack2.py, where all
> I can find is a call to dfitpack.regrid_smth. However, in the FITPACK
> library, I cannot find a function by that name -- and I couldn't really
> find the source code to dfitpack.so to check how FITPACK actually gets
> called ...
>
> Any ideas?

dfitpack is created by f2py

regrid_smth is defined in
"scipy\interpolate\src\fitpack.pyf"

and points to
fortranname regrid

"\scipy\interpolate\fitpack\regrid.f"

Josef
>
> Cheers,
> Andreas.
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>


More information about the SciPy-User mailing list