In this video, I show how to do two dimensional interpolation using scipy in python. Interp2D
Пікірлер: 13
@roshanpoudel5140 Жыл бұрын
You sir, are a legend! Thank you so much, I incorporated this with pandas and it worked magically. I doubt I will use excel for anything but database for imperical tables.
@thinkcontemplate25572 жыл бұрын
Thanks dear champ! It was helpful 💪
@joeturner3970 Жыл бұрын
excellent demonstration.
@varcihoracio62942 жыл бұрын
Thanks for the good job
@slimjimjimslim59238 ай бұрын
since Interp2d is going away, can we also do the same with Interpn or RegularGridInterpolator where we give x array, y array, and value array like in this example?
@citricmint61802 жыл бұрын
Thank you! But can we know the formula for f(x,y)? Are there any ways to find the best analytical dependence?
@Ilyak198611 ай бұрын
It's a linear piecewise function.
@dachyngo31152 жыл бұрын
Hi TopDogEngineer, Is there a way to do inversely? If I want to know the value of x and y at a specific value of f? Thank you!
@Ilyak198611 ай бұрын
No, that won't work, because such a value can potentially correspond to multiple coordinates.
@hayam98092 жыл бұрын
hello I'm getting this error, please help File ~\anaconda3\lib\site-packages\scipy\interpolate\interpolate.py:215, in interp2d.__init__(self, x, y, z, kind, copy, bounds_error, fill_value) 213 z = ravel(z) 214 if len(x) != len(y): --> 215 raise ValueError( 216 "x and y must have equal lengths for non rectangular grid") 217 if len(z) != len(x): 218 raise ValueError( 219 "Invalid length for input z for non rectangular grid") ValueError: x and y must have equal lengths for non rectangular grid
@samuelsam71322 жыл бұрын
Cool shit
@FolkersRojas3 ай бұрын
this Method will no longer work becasue scipy is deprecating some of the codes. There are replacements. So look it up. thanks for the video.