Skip to content

Python adaptation of Yury Petrov's MATLAB "ellipsoid_fit" function

Notifications You must be signed in to change notification settings

marksemple/pyEllipsoid_Fit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

pyEllipsoid_Fit

A Python adaptation of Yury Petrov's ellipsoid_fit function for MATLAB. I use this for calibrating triaxis Magnetometers.

Fits an ellipsoid or other conic surface into a 3D set of points approximating such a surface, allows some constraints, like orientation constraint and equal radii constraint. E.g., you can use it to fit a rugby ball, or a sphere. Returns both the algebraic description of the ellipsoid (the nine coefficients of the quadratic form) and the geometric description (center, radii, principal axes).

Notes to self for future updates

  • Add example use cases (incl. sample data)
  • Add unit testing
  • Add a higher-level wrapper for better integration with Magnetometers

About

Python adaptation of Yury Petrov's MATLAB "ellipsoid_fit" function

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages