[SciPy-Dev] concern about using `scipy.interpolate.LSQSphereBivariateSpline`

Andreas Hilboll lists at hilboll.de
Thu Jul 23 20:20:31 EDT 2015


Hi Phillip,

LSQSphereBivariateSpline sets s=0.0:


https://github.com/scipy/scipy/blob/master/scipy/interpolate/src/fitpack.pyf#L584

If you want smoothing, you can use SmoothSphereBivariateSpline, which is
also a wrapper for sphere.f, where you can set s to your liking.

Best,
  Andreas.


On 22.07.2015 06:25, Phillip Feldman wrote:
> I have a concern about using
> `scipy.interpolate.LSQSphereBivariateSpline`. The underlying Fortran
> function (http://www.netlib.org/dierckx/sphere.f) accepts a smoothing
> parameter `s`, but it looks as though the wrapper function
> `scipy.interpolate.LSQSphereBivariateSpline` does not accept this
> parameter.  So, I wonder what value of `s` gets passed to the Fortran.
> 
> Phillip
> 
> 
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
> 


-- 
-- Andreas.



More information about the SciPy-Dev mailing list