I have some points in 3D (x, y and z) and want to fit a surface through them. I prefer to use bsplines for finding the best surface among my points. My final goal is the equation of the surface. I have read this solution but still I have no idea how to find the equation when my points are are not linearly arranged. I mean I may have points that are like a bowl. In advance, I do appreciate any help to make such an algorithm in python.
Asked
Active
Viewed 325 times
0
-
2You need to define what is best fit. Minimal squared root error? – Moti May 07 '21 at 16:30
-
Dear @Moti, thanks for your help. I need surface passing through points but not a simple linear surface. I want somthing like bspline or thin plane or RBF methods. – Link_tester May 07 '21 at 17:24
-
1You also need to define what kind of surface is desired. Otherwise there are too many possibilities. – Han de Bruijn May 11 '21 at 12:50
-
Dear @HandeBruijn, thanks for your feedback. I want a surface which is passing my points. Something like bspline or rbf or thin plane methods do. – Link_tester May 11 '21 at 13:26
-
1@Ali_d: The hints you've been given all point to scipy.interpolate.bisplrep(). So, use that. – Glärbo May 12 '21 at 16:43