[root] Repository:
ViewVC logotype

Revision 11226


Jump to revision: Previous Next
Author: brun
Date: Fri Mar 4 09:06:37 2005 UTC (9 years, 10 months ago)
Log Message:
From Anna Kreshuk:
- TLinearFitter class: Linear fitter is used to fit a set of data points with a linear
  combination of specified functions (with or without weights). The "linear" in the name
  stands for "linear in parameters", not variables. The main advantages,
  compared to a general non-linear fitter, is that the linear fitter is considerably
  faster and doesn't require setting the initial values of parameters.
  The linear fitter can be used directly or through TH1::Fit and TGraph::Fit functions
  When it's used directly, functions of more than 3 dimensions can be fitted.

- TFormula: a new data member fLinearParts and methods to process it are added. Now
  one can create a function of the type that can be fit by the linear fitter.
  Example: TFormula f("f", "x++sin(x)") is equivalent to
  TFormula f("f","[0]*x + [1]*sin(x)"), but if a TH1::Fit or a TGraph::Fit is performed
  with the 1st formula, it goes through the linear fitter, if it's performed with the
  2nd formula, it goes through Minuit.

- TMultiGraph class: the Fit method is implemented, allowing to fit all the graphs
  of a multigraph simultaneously

- TGraph, TGraphErrors, TGraphAsymmErrors, TGraphBentErrors - functions GetEXhigh(),
  GetEXlow(), GetEYhigh(), GetEYlow() implemented to simplify the GraphFitChisquare()
  function of the TFitter class

- TH1, TGraph, TGraph2D, TMultiGraph - changes in the Fit functions, allowing to use
  the linear fitter. Fitting with "polN" functions redirected to use the linear fitter,
  in cases where no options, except "range", are specified.

Changed paths:

Path Details
Directorytrunk/fumili/src/TFumili.cxx modified , text changed
Directorytrunk/graf/inc/TGraph.h modified , text changed
Directorytrunk/graf/inc/TGraphAsymmErrors.h modified , text changed
Directorytrunk/graf/inc/TGraphBentErrors.h modified , text changed
Directorytrunk/graf/inc/TGraphErrors.h modified , text changed
Directorytrunk/graf/inc/TMultiGraph.h modified , text changed
Directorytrunk/graf/src/TGraph.cxx modified , text changed
Directorytrunk/graf/src/TGraphAsymmErrors.cxx modified , text changed
Directorytrunk/graf/src/TGraphBentErrors.cxx modified , text changed
Directorytrunk/graf/src/TGraphErrors.cxx modified , text changed
Directorytrunk/graf/src/TMultiGraph.cxx modified , text changed
Directorytrunk/hist/inc/Foption.h modified , text changed
Directorytrunk/hist/inc/TFormula.h modified , text changed
Directorytrunk/hist/src/TFormula.cxx modified , text changed
Directorytrunk/hist/src/TGraph2D.cxx modified , text changed
Directorytrunk/hist/src/TH1.cxx modified , text changed
Directorytrunk/minuit/inc/LinkDef.h modified , text changed
Directorytrunk/minuit/inc/TLinearFitter.h added
Directorytrunk/minuit/src/TFitter.cxx modified , text changed
Directorytrunk/minuit/src/TLinearFitter.cxx added

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9