I am running this code:
F = interpolate.Rbf(X,Y,Z,V, function = 'linear')
Where X,Y,Z and V shapes are:
(1300, 691, 122)
(1300, 691, 122)
(1300, 691, 122)
(1300, 691, 122)
and i am getting this error every time i run my script.
Traceback (most recent call last):
File "make3d.py", line 180, in <module>
main(sys.argv[1:])
File "make3d.py", line 133, in main
F = interpolate.Rbf(X,Y,Z,V, function = 'linear')
File "/anaconda2/lib/python2.7/site-packages/scipy/interpolate/rbf.py", line 200, in __init__
r = self._call_norm(self.xi, self.xi)
File "/anaconda2/lib/python2.7/site-packages/scipy/interpolate/rbf.py", line 231, in _call_norm
return self.norm(x1, x2)
File "/anaconda2/lib/python2.7/site-packages/scipy/interpolate/rbf.py", line 118, in _euclidean_norm
return np.sqrt(((x1 - x2)**2).sum(axis=0))
MemoryError
At first i thought it was my laptop's fault so i tried in a 30 core desktop and i got exactly the same error message. I can't understand what is wrong. Any suggestions or alternative functions?