[SciPy-User] Inconsistent conventions in scipy.interpolate

Armando Serrano Lombillo arserlom@gmail....
Tue Oct 30 05:08:27 CDT 2012


I've recently been catched by the fact that scipy.interpolate.interp2d(x,
y, z) expects z.shape=(len(y), len(x)) while
scipy.interpolate.RectBivariateSpline(x, y, z) expects z.shape=(len(x),
len(y)). I find this inconsistency quite annoying and error prone, is there
a reason for it?

Armando
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20121030/58ddcff0/attachment.html 


More information about the SciPy-User mailing list