4d interpolation in python
问题 So I have a 4d force field as in x y and z with a Force attached to each point. I'm a a bit at a lost on how to interpolate this, I came across this though. http://docs.scipy.org/doc/scipy-dev/reference/generated/scipy.ndimage.interpolation.map_coordinates.html It looks like I can make an array of x y z F and then interpolate it but I'm really not too sure. Anyone know any good libraries for python on how to do this? Example input is: x y z Force 0 0 0 35 0 0 1 32 0 0 2 23 ... 2 5 9 54 回答1: