“Invalid input data” from SciPy's cublic spline interpolation process; bad results from interpolate.bisplrep?
问题 I'm attempting to use scipy.interpolate.bisplrep and scipy.interpolate.bisplev to perform a 2D regression on the differences between two datasets, based on a small set of known differences. The code is: splineRT = interp.bisplrep(diffPoints[0], diffPoints[1], RTdiffs) allDiffs = interp.bisplev(features[0], features[1], splineRT) When I run this, bisplev throws the inscrutable exception "ValueError: Invalid input data", which is in response from an error code returned from the underlying