Jan-30-2020, 01:15 PM
Hello everyone. I am working on the translation of some code from mathematica to python. In one line it is written ifuncEPSX = Interpolation[windXMat //. {x_List} :> x]; here x_List is a matrix of three columns, the two first are X and Y points in a plane and the third are the values of the function.
I have constructed a similar matrix in python. However, I don't know how to reproduce the aforementined line of code, since in the interpolations defined for numpy and scipy it seems like the function of X and Y has to be known.
Is there a way to do this in python?
Any answer is appreciated.
Regards.
I have constructed a similar matrix in python. However, I don't know how to reproduce the aforementined line of code, since in the interpolations defined for numpy and scipy it seems like the function of X and Y has to be known.
Is there a way to do this in python?
Any answer is appreciated.
Regards.