Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: 2D Gaussian fit

  • To: mathgroup at smc.vnet.net
  • Subject: [mg126316] Re: 2D Gaussian fit
  • From: Cisco Lane <travlorf at yahoo.com>
  • Date: Mon, 30 Apr 2012 04:44:04 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

You might consider a polynomial fit to the logarithm of your data to the logarithm of the Gaussian, (which is a polynomial). A direct fit of the data to a Gaussian will minimize the square of the differences between the data and the Gaussian. This will tend to give large relative errors in the wings, and small relative errors in the spot. A logarithmic fit will minimize the relative errors, rather than the absolute errors. The "percent error" will be roughly the same over the entire field. I don't know if this is acceptable to you or not.



  • Prev by Date: Re: How to use Jlink to access Mathematica Boolean Functions
  • Next by Date: Struggling to prove simple triangle inequality
  • Previous by thread: Re: 2D Gaussian fit
  • Next by thread: Solving a system of equations