Today I discovered that the nice scipy 1d interpolation function interp1d requires that the values in x-array passed as the first argument are in ascending order. Perhaps this makes sense but it took me some time to figure out that this was the reason I was getting out-of-bounds errors (my x-array was in descending order).
Monday, October 6, 2014
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment