|
|
||||||
|
Home Teaching materials Astronomy research Astronomy codes ... Stellar equation of states ... EOS with ionization ... EOS for supernovae ... Chemical potentials ... Stellar atmospheres ... Voigt Function ... Polytropic stars ... Cold white dwarfs ... Hotter white dwarfs ... Cold neutron stars ... Stellar opacities ... Neutrino energy loss rates ... Ephemeris routines ... Fermi-Dirac functions ... Galactic chemical evolution ... Nuclear reaction networks ... Nuclear statistical equilibrium ... Laminar deflagrations ... CJ detonations ... ZND detonations ... Fitting to conic sections ... Unusual linear algebra ... Derivatives on uneven grids ... Pentadiagonal solver ... Quadratics, Cubics, Quartics ... Supernova light curves ... Exact Riemann solutions ... 1D PPM Hydrodynamics ... Verification problems ... EZ stellar evolution ... FLASH code ... Mesa code Astronomy talks Astronomy images Outreach Family album Bicycle adventures Artwork Contact us: J.D. Maldonado F.X.Timmes, my vitae |
Lots of codes exist for fitting a set a data to a straight line. How about fits to other specific conic sections? Strange as it may sound, this is an active field of research in computer vision in 2009. Some references that I found very useful are, in historical order, Fitzgibbon et al 1999, Halir and Flusser 1998, O'Leary and Zsombor-Murray 2004, Harker et al 2008. So, I deleted my old codes and am giving this effort a fresh start. For fitting an ellipse try using fit_ellipse.f90, for a hyperbola fit_hyperbola.f90, for circle fit_circle.f90, and if you do not care what kind of conic is fit try using fit_nonspecific_conic.f90. These programs will generate noisy (x,y) data for any of the conic sections (interesting problem in its own right), fit the data to the specified conic and report key attributes such as the center coordinates, foci coordinates, lengths of the semi-major and semi-minor axes, rotatation of the conic.
Next up for these pages is a parabola specific fit to the algebraic distance (not too hard), and then geometric distance fitting for the ellipse, hyperbola, and parabola (medium). |
||||||
|
|
Please cite the relevant references if you publish a piece of work that use these codes, pieces of these codes, or modified versions of them. If you're nice, offer co-authorship of the publication. At best, you'll love these programs so much that you'll send great wads of cash to me. |
|---|