[ROOT] TSpectrum

From: Greg King (gking@triumf.ca)
Date: Tue Jul 29 2003 - 20:15:28 MEST


Hi ROOTers,

I was wondering if anyone has a simple example script on how to use the 
following methods to fit peaks (preferably from a histogram)
*also, a script that shows how to do backgound estimation with TSpectrum 
would be useful

	TSpectrum::Fit1Stiefel(float *source, TSpectrumOneDimFit * p, int size)
	TSpectrum::Fit1Awmi(float *source, TSpectrumOneDimFit * p, int size)

Further, in the TSpectrum source file it mentions that is can do

	TWO-DIMENSIONAL PEAK SEARCH FUNCTIONS
	TWO-DIMENSIONAL PEAKS FITTING FUNCTIONS


However, there appears to be no explicit 2D algorithms in the code. Is 
it possible to do 2D Peak Searching and Fitting with TSpectrum?

Cheers,

Greg King



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET