logo.png

Gaphs

Curve fitting

Home Up


Contents



1 Introduction

Curve fitting is the process of constructing a curve, or mathematical function, that has the best fit to a series of data points, possibly subject to constraints. Curve fitting can involve either interpolation, where an exact fit to the data is required, or smoothing, in which a "smooth" function is constructed that approximately fits the data.

Here we want to go gaussian curve fitting.

The fit function should allow two input parameters :

  • low cut
  • high cut

The fit function should return 3 values :

  • M: the average value (the most presumably)
  • $\sigma$: the standard deviation (the dispersion)
  • FWHM: full width at half maximum ($=2.354\sigma$)

Home Up

This document is also available in PDF and PostScript format.



2016-02-15