-1

I have data in the format:

X1 X2 Y
a1 b11 b12 y11 y12
a2 b12 b22 y12 y22
a3 b13 b23 y13 y23

I am trying to build a 2D interpolation tool such as y=f(X1, X2). I was wandering what is the best 2D interpolator in Numpy for this: RegularGridInterpolator or LinearNDInterpolator? and how to insert the data to interpolator's constructor? The documentation uses function for y with input coming from a meshgrid function which I can't really use here as I have to use the y I already have.

Andrej Kesely
  • 168,389
  • 15
  • 48
  • 91
Benji_90210
  • 25
  • 1
  • 7
  • 1
    Without any code to work with, this is just a software request question, which is off-topic for Stack Overflow. – jared Sep 01 '23 at 18:59

0 Answers0