hazimp.jobs.plane_from_points
¶
Given a set of xyz values estimate z for new x, y pairs.
Module Contents¶
Classes¶
A plane, defined by best fit to a set of points. |
Functions¶
|
Calculates a plane that passes thru the origin |
- class hazimp.jobs.plane_from_points.Plane(xyz)¶
Bases:
object
A plane, defined by best fit to a set of points. Designed to estimate a z value.
- estimate_z(self, x, y)¶
Giving x and y arrays, estimate the z array.
- hazimp.jobs.plane_from_points.fit_plane_svd(xyz)¶
Calculates a plane that passes thru the origin representing a best fit to the xyz values.
(v[0]x + v[1]y)/ - v[2] = z v[3] = ??
# Code from; # http://stackoverflow.com/questions/15959411/ # fit-points-to-a-plane-algorithms-how-to-iterpret-results