Up vote 0 down vote favorite share g+ share fb share tw.
I have a numpy masked matrix. And wanted to do interpolation in the masked regions. I tried the RectBivariateSpline but it didn't recognize the masked regions as masked and used those points also to interpolate.
I also tried the bisplrep after creating the X,Y,Z 1d vectors. They were each of length 45900. It took a lot of time to calculate the Bsplines.
And finally gave a Segmentation fault while running bisplev . The 2d matrix is of the size 270x170. Is there any way to make RectBivariateSpline not to include the masked regions in interpolation?
Or is there any other method? Bisplrep was too slow. Thanking you, indiajoe UPDATE : When the grid is small the scipy.interpolate.
Rbf with 'linear' function is doing reasonable job. But it gives error when the array is large. Is there any other function which will allow me to interpolate and smooth my matrix?
I have also concluded the following. Do correct me if I am wrong. 1) RectBivariateSpline requires perfect filled matrix and hence masked matrices cannot be used.
Python matrix numpy scipy interpolation link|improve this question edited Mar 10 at 22:20 asked Mar 10 at 7:29indiajoe506 40% accept rate.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.