Hi all,
I’m having a few problems knowing where to start in order to fit some of my data. I have a few hundred points in (X and Y) that lie on the perimeter of an ellipse. I would like to try to apply some sort of fit to this data so that I can get parameters of the ellipse (i.e. the center and semiminor and semimajor axis lengths).
I’ve tried following fit2d.C in the tutorials by creating my own TF2 function for a simple ellipse, but I don’t seem to get anything that works.
Eventually I would want to extend this so that I could fit an elliptical area around a given set of points in a scatter plot.
Any ideas?
Cheers,
John